diff --git a/i18n/de.yaml b/i18n/de.yaml index e38ffef..ca4d744 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -51,4 +51,7 @@ translation: "Ähnlich" - id: share - translation: "Teilen" \ No newline at end of file + translation: "Teilen" + +- id: translations + translation: Übersetzungen \ No newline at end of file diff --git a/i18n/en.yaml b/i18n/en.yaml index b737d8c..6c2241b 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -57,4 +57,7 @@ translation: "Interactions" - id: also_on - translation: "Also on" \ No newline at end of file + translation: "Also on" + +- id: translations + translation: Translations \ No newline at end of file diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html index 6342856..b9abc38 100644 --- a/layouts/partials/post_meta.html +++ b/layouts/partials/post_meta.html @@ -31,4 +31,9 @@
{{ T "also_on" }}:{{ $delimiter := "" }}{{ range $index, $link := . }}{{ $delimiter }} {{ (urls.Parse $link).Host }}{{ $delimiter = "," }}{{ end }}
+{{ end }} +{{ if .IsTranslated }} +
+ {{ i18n "translations" }}: {{ $delimiter := "" }}{{ range .Translations }}{{ $delimiter }}{{ .Language.LanguageName }}{{ $delimiter = ", " }}{{ end }} +
{{ end }} \ No newline at end of file