Commit a0e26a15 authored by Daniel Brötzmann's avatar Daniel Brötzmann

Post meta: Use bar to separate translated posts

parent d4b256b1
Pipeline #6191 passed with stage
in 21 seconds
......@@ -9,8 +9,9 @@
&nbsp;|&nbsp;<i class="fas fa-clock"></i>&nbsp;{{ i18n "readingTime"}}{{ .ReadingTime }}&nbsp;{{ i18n "readTime" }}
{{ end }}
{{ if .Params.tags }}
&nbsp;|&nbsp;
{{ range .Params.tags }}
&nbsp;|&nbsp;<span class="blog-tags"><a href="{{ $.Site.LanguagePrefix | absURL }}/tags/{{ . | urlize }}/">{{ . }}</a></span>&nbsp;
<span class="blog-tags"><a href="{{ $.Site.LanguagePrefix | absURL }}/tags/{{ . | urlize }}/">{{ . }}</a></span>&nbsp;
{{ end }}
{{ end }}
{{ if .Site.Params.wordCount }}
......@@ -44,6 +45,6 @@
{{- $links := apply $sortedTranslations "partial" "translation_link.html" "." -}}
{{- $cleanLinks := apply $links "chomp" "." -}}
{{- $linksOutput := delimit $cleanLinks (i18n "translationsSeparator") -}}
&nbsp;&bull;&nbsp;{{ i18n "translationsLabel" }}{{ $linksOutput }}
&nbsp;|&nbsp;{{ i18n "translationsLabel" }}{{ $linksOutput }}
{{- end }}
</span>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment