diff --git a/i18n/de.toml b/i18n/de.toml new file mode 100644 index 0000000..12d93bf --- /dev/null +++ b/i18n/de.toml @@ -0,0 +1,17 @@ +[more] +other = "Mehr" + +[allTitle] +other = "Alle {{.Title }}" + +[recentTitle] +other = "Neuste {{.Title }}" + +[readMore] +other = "weiterlesen" + +[whatsInThis] +other = "Was ist in dieser {{ .Type }}" + +[related] +other = "Ähnliches" diff --git a/i18n/en.toml b/i18n/en.toml new file mode 100644 index 0000000..97100a4 --- /dev/null +++ b/i18n/en.toml @@ -0,0 +1,17 @@ +[more] +other = "More" + +[allTitle] +other = "All {{.Title }}" + +[recentTitle] +other = "Recent {{.Title }}" + +[readMore] +other = "read more" + +[whatsInThis] +other = "What's in this {{ .Type }}" + +[related] +other = "Related" diff --git a/layouts/index.html b/layouts/index.html index 8ff836d..0361bce 100755 --- a/layouts/index.html +++ b/layouts/index.html @@ -16,7 +16,7 @@ {{/* Use $section_name to get the section title. Use "with" to only show it if it exists */}} {{ with .Site.GetPage "section" $section_name }}
What's in this {{ humanize .Type }}
+{{ i18n "whatsInThis" humanize .Type }}
{{ .TableOfContents }}Related
+{{ i18n "related" }}
By {{ .Author }}
*/}}