Fixed Tag decorations
This commit is contained in:
parent
9d17471686
commit
6c4f64b29a
|
@ -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 }}
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue