Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruPagge <upagge@mail.ru>2020-12-23 21:03:27 +0300
committeruPagge <upagge@mail.ru>2020-12-23 21:03:27 +0300
commit5c78d5070627ea9d2e78e1e143fcdbe6014ebcbb (patch)
tree7badd22c78d0941215b377ad2de2d65fb1815246 /layouts/_default/summary.html
parent6bd0c84872884f2e0307d9aad028d74d3aafabd2 (diff)
css fix
Diffstat (limited to 'layouts/_default/summary.html')
-rw-r--r--layouts/_default/summary.html16
1 files changed, 9 insertions, 7 deletions
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html
index 40c87e2..3a8ee95 100644
--- a/layouts/_default/summary.html
+++ b/layouts/_default/summary.html
@@ -2,7 +2,7 @@
{{- $tagsStyle := $params.summaryStyle.tags -}}
{{- $tagsTheme := $params.summaryStyle.tags.theme | default "image" -}}
-<article onclick="location.href='{{ $.RelPermalink }}'" class="single summary summary-animation" itemscope itemtype="http://schema.org/Article" style="{{- if eq $tagsTheme "under-footer" -}}{{- with $.Params.tags -}}margin-bottom:0{{- end -}}{{- end -}}">
+<article onclick="location.href='{{ $.RelPermalink }}'" class="single summary summary-animation" itemscope itemtype="http://schema.org/Article" style="margin-bottom:0">
{{- /* Featured image */ -}}
{{- if not $params.summaryStyle.hiddenImage -}}
{{- $image := $params.featuredimagepreview | default $params.featuredimage -}}
@@ -100,13 +100,15 @@
</div>
</article>
-{{- if eq $tagsTheme "under-footer" -}}
+
{{- with $.Params.tags -}}
<div class="post-tags-summary-under-footer">
- {{- 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 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 -}}
-{{- end -}}
+