hugo-theme-stack/layouts/post/single.html
Sergey Blazhko a0ecfa685d Fix i18n-ru warnings after hugo v0.83:
`Failed to get translated string for language "ru" and ID "...": message "article.back" has no plural form "many"`
Add i18n for `Back` button (vertical view)
2021-05-02 18:01:03 +03:00

22 lines
672 B
HTML

{{ define "container-class" }}article-page with-toolbar{{ end }}
{{ define "main" }}
<div id="article-toolbar">
<a href="{{ .Site.BaseURL }}" class="back-home">
{{ (resources.Get "icons/back.svg").Content | safeHTML }}
<span>{{ T "article.back" }}</span>
</a>
</div>
{{ partial "article/article.html" . }}
{{ partial "article/components/related-contents" . }}
{{ if or (not (isset .Params "comments")) (eq .Params.comments "true")}}
{{ partial "comments/include" . }}
{{ end }}
{{ partialCached "footer/footer" . }}
{{- partialCached "article/components/photoswipe.html" . -}}
{{ end }}