diff options
author | uPagge <upagge@mail.ru> | 2021-01-01 18:44:44 +0300 |
---|---|---|
committer | uPagge <upagge@mail.ru> | 2021-01-01 18:44:44 +0300 |
commit | 3cf8d2d79b08477520af652ad6b21f7437dd07a3 (patch) | |
tree | ea8d907c5e1f077ef90cd4ac7d06a7a951b8ff5d /layouts/_default/summary.html | |
parent | 532024e81b1e362e8cd9b89353a13ff936a8e89a (diff) |
Tag fix and ads add
Diffstat (limited to 'layouts/_default/summary.html')
-rw-r--r-- | layouts/_default/summary.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 3a8ee95..3609d9a 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -19,7 +19,7 @@ <div class="post-tags-summary-image"> {{- range $index, $value := . -}} {{- $tag := partialCached "function/path.html" $value $value | printf "/tags/%v" | $.Site.GetPage -}} - <a class="post-tag-summary" href="{{ $tag.RelPermalink }}" style="{{ with $tagsStyle.color }}color: {{ . }}; {{ end }}{{ with $tagsStyle.background }}background: {{ . }}; {{ end }}{{ with $tagsStyle.transparency }}opacity: {{ . }}; {{ end }}">{{ $tag.Title }}</a> + <a class="post-tag-summary" href="{{ $tag.RelPermalink }}" style="{{ with $tagsStyle.color }}color: {{ . }}; {{ end }}{{ with $tagsStyle.background }}background: {{ . }}; {{ end }}{{ with $tagsStyle.transparency }}opacity: {{ . }}; {{ end }}"><span>{{ $tag.Title }}</span></a> {{- end -}} </div> {{- end -}} @@ -101,14 +101,14 @@ </div> </article> -{{- with $.Params.tags -}} <div class="post-tags-summary-under-footer"> +{{- with $.Params.tags -}} <div class="post-tags-summary-under-footer-display" {{- if eq $tagsTheme "under-footer" -}}style="display: inline-block;"{{- end -}}> {{- range $index, $value := . -}} {{- $tag := partialCached "function/path.html" $value $value | printf "/tags/%v" | $.Site.GetPage -}} <a class="post-tag-summary" href="{{ $tag.RelPermalink }}" style="{{ with $tagsStyle.color }}color: {{ . }}; {{ end }}{{ with $tagsStyle.background }}background: {{ . }}; {{ end }}{{ with $tagsStyle.transparency }}opacity: {{ . }}; {{ end }}">{{ $tag.Title }}</a> {{- end -}} </div> -</div> {{- end -}} +</div> |