Bootstrap \o/
This commit is contained in:
commit
f5391008e6
78 changed files with 5134 additions and 0 deletions
11
themes/beautifulhugo/layouts/partials/post_meta.html
Normal file
11
themes/beautifulhugo/layouts/partials/post_meta.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<span class="post-meta">
|
||||
{{ default (i18n "dateFormat") .Site.Params.dateformat | .Date.Format | i18n "postedOnDate" }}
|
||||
{{ if .IsTranslated -}}
|
||||
{{- $sortedTranslations := sort .Translations "Site.Language.Weight" -}}
|
||||
{{- $links := apply $sortedTranslations "partial" "translation_link.html" "." -}}
|
||||
{{- $cleanLinks := apply $links "chomp" "." -}}
|
||||
{{- $linksOutput := delimit $cleanLinks (i18n "translationsSeparator") -}}
|
||||
• {{ i18n "translationsLabel" }}{{ $linksOutput }}
|
||||
{{- end }}
|
||||
</span>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue