diff options
Diffstat (limited to 'layouts/_partials')
| -rw-r--r-- | layouts/_partials/pageinfo.gmi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/layouts/_partials/pageinfo.gmi b/layouts/_partials/pageinfo.gmi index 7c822f3..f68fa2f 100644 --- a/layouts/_partials/pageinfo.gmi +++ b/layouts/_partials/pageinfo.gmi @@ -15,4 +15,8 @@ {{ $nonBreakingTags = $nonBreakingTags | append $nonBreakingTag -}} {{ end -}} -{{ emojify ":calendar:" }} {{ $nonBreakingPublishDate }} {{ emojify ":stopwatch:" }} {{ $nonBreakingReadingTime }}{{ if $nonBreakingTags }} {{ emojify ":label:" }} {{ end }}{{ range $key, $val := $nonBreakingTags }}{{ if $key }}, {{ end }}{{ $val }}{{ end }}
\ No newline at end of file +{{ $nonBreakingAudioAvailable := i18n "audioAvailable" -}} +{{ $nonBreakingAudioAvailable = replace $nonBreakingAudioAvailable " " " " -}} +{{ $nonBreakingAudioAvailable = replace $nonBreakingAudioAvailable "-" "‑" -}} + +{{ emojify ":calendar:" }} {{ $nonBreakingPublishDate }} {{ emojify ":stopwatch:" }} {{ $nonBreakingReadingTime }}{{ if where .Resources "MediaType.MainType" "audio" }} {{ emojify ":headphones:" }} {{ $nonBreakingAudioAvailable }}{{ end }}{{ if $nonBreakingTags }} {{ emojify ":label:" }} {{ end }}{{ range $key, $val := $nonBreakingTags }}{{ if $key }}, {{ end }}{{ $val }}{{ end }}
\ No newline at end of file |
