Fixed Tag decorations

This commit is contained in:
Trekathlon 2024-09-01 19:35:00 +02:00
parent 9d17471686
commit 6c4f64b29a
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@
{{ with .Site.Params.customDateFormat }}{{ $customDateFormat = . }}{{ end }}
<br>
<small class="text-secondary">{{ .PublishDate.Format $customDateFormat }}</small>
{{ partialCached "tags" . }}
{{ partial "tags" . }}
{{ if eq .Site.Params.showPostSummary true }}
<br>
{{ .Summary }}

View File

@ -3,7 +3,7 @@
<h1>{{ .Title }}</h1>
<div class="d-flex flex-wrap flex-row">
{{ range .Data.Terms.Alphabetical }}
<div class="w-25 m-1"><a href="{{ .Page.RelPermalink }}"><code>{{ .Page.Title }}</code></a> {{ .Count }}</div>
<div class="w-25 m-1"><a href="{{ .Page.RelPermalink }}" class="text-decoration-none"><code>{{ .Page.Title }}</code></a> {{ .Count }}</div>
{{ end }}
</div>

View File

@ -23,7 +23,7 @@
{{ $currentFontSize := (add $smallestFontSize (mul (sub $largestFontSize $smallestFontSize) $weigth) ) }}
<!--Current font size: {{$currentFontSize}}-->
<a href="{{ "tags/" | relLangURL }}{{ $name | urlize }}"
style="font-size:{{$currentFontSize}}{{$fontUnit}}">{{ $name }}</a>
style="font-size:{{$currentFontSize}}{{$fontUnit}}" class="text-decoration-none">{{ $name }}</a>
{{ end }}
</div>
</div>