Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EmielH/tale-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/i18n
diff options
context:
space:
mode:
authorEmiel Hollander <EmielH@users.noreply.github.com>2018-10-07 10:21:01 +0300
committerEmiel Hollander <EmielH@users.noreply.github.com>2018-10-07 10:21:01 +0300
commit5d20e1cae14ed1c025c536ecfbbb21cc2d7efbe6 (patch)
treecb89a85c078b2c17a69a5e6b26ef1216dfead0d1 /i18n
parent7ffbe45d665c34048803bb21b8e3002c8b605e94 (diff)
Add localisation option for publishdate
Diffstat (limited to 'i18n')
-rw-r--r--i18n/en.toml5
-rw-r--r--i18n/nl.toml5
2 files changed, 8 insertions, 2 deletions
diff --git a/i18n/en.toml b/i18n/en.toml
index d3a0bb7..e7de9a3 100644
--- a/i18n/en.toml
+++ b/i18n/en.toml
@@ -11,4 +11,7 @@ other = "Written by"
other = "on"
[generator]
-other = "Made with <a href='https://gohugo.io'>Hugo</a> using the <a href='https://github.com/EmielH/tale-hugo/'>Tale</a> theme." \ No newline at end of file
+other = "Made with <a href='https://gohugo.io'>Hugo</a> using the <a href='https://github.com/EmielH/tale-hugo/'>Tale</a> theme."
+
+[publishdate]
+other = "{{ .PublishDate.Format \"January 2, 2006\" }}" \ No newline at end of file
diff --git a/i18n/nl.toml b/i18n/nl.toml
index 9c5c8f7..29c5b75 100644
--- a/i18n/nl.toml
+++ b/i18n/nl.toml
@@ -11,4 +11,7 @@ other = "Geschreven door"
other = "op"
[generator]
-other = "Gemaakt met <a href='https://gohugo.io'>Hugo</a> en thema <a href='https://github.com/EmielH/tale-hugo/'>Tale</a>." \ No newline at end of file
+other = "Gemaakt met <a href='https://gohugo.io'>Hugo</a> en thema <a href='https://github.com/EmielH/tale-hugo/'>Tale</a>."
+
+[publishdate]
+other = "{{ .PublishDate.Day }} {{ index $.Site.Data.months_nl (printf \"%d\" .PublishDate.Month) }} {{ .PublishDate.Year }}" \ No newline at end of file