Merge pull request #204 from TheGroundZero/patch-3

Add LastMod time in article info
This commit is contained in:
Djordje Atlialp 2020-09-05 22:13:50 +02:00 committed by GitHub
commit ff5a285da7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 36 additions and 2 deletions

View file

@ -34,3 +34,6 @@ other = "Inhaltsverzeichnis"
[wordCount]
one = "Ein Wort"
other = "{{ .Count }} Wörter"
[lastModified]
other = "Letzte Aktualisierung"

View file

@ -34,3 +34,6 @@ other = "Table of Contents"
[wordCount]
one = "One Word"
other = "{{ .Count }} Words"
[lastModified]
other = "Last updated"

View file

@ -34,3 +34,6 @@ other = "Tabla de Contenido"
[wordCount]
one = "Una Palabra"
other = "{{ .Count }} Palabras"
[lastModified]
other = "Ultima actualización"

View file

@ -34,3 +34,6 @@ other = "Table des matières"
[wordCount]
one = "Un Mot"
other = "{{ .Count }} Mots"
[lastModified]
other = "Mise à jour"

View file

@ -34,3 +34,6 @@ other = "अनुक्रमणिका"
[wordCount]
one = "एक शब्द"
other = "{{ .Count }} शब्द"
[lastModified]
other = "आखरी अपडेट"

View file

@ -34,3 +34,6 @@ other = "Contenuti"
[wordCount]
one = "Una parola"
other = "{{ .Count }} parole"
[lastModified]
other = "Ultimo aggiornamento"

View file

@ -34,3 +34,6 @@ other = "Contegnuu"
[wordCount]
one = "Ona parolla"
other = "{{ .Count }} paroll"
[lastModified]
other = "Last update"

View file

@ -34,3 +34,6 @@ other = "ഉള്ളടക്ക പട്ടിക"
[wordCount]
one = "ഒരു വാക്ക്"
other = "{{ .Count }} വാക്കുകൾ"
[lastModified]
other = "അവസാനമായി പുതുക്കിയത്"

View file

@ -34,3 +34,6 @@ other = "Índice"
[wordCount]
one = "Uma Palavra"
other = "{{ .Count }} Palavras"
[lastModified]
other = "Última actualização"

View file

@ -38,3 +38,6 @@ one = "{{ .Count }} слово"
few = "{{ .Count }} слова"
many = "{{ .Count }} слов"
other = "{{ .Count }} слов"
[lastModified]
other = "Последнее обновление"

View file

@ -34,3 +34,6 @@ other = "İçindekiler"
[wordCount]
one = "One Kelime"
other = "{{ .Count }} Kelime"
[lastModified]
other = "Son güncelleme"

View file

@ -75,6 +75,7 @@
<line x1="3" y1="10" x2="21" y2="10"></line>
</svg>
{{ if .Site.Params.dateformNumTime }}{{ dateFormat .Site.Params.dateformNumTime .Date.Local }}{{ else }}{{ dateFormat "2006-01-02 15:04 -0700" .Date.Local }}{{ end }}
{{ if .LastMod }} ({{ i18n "lastModified" }}: {{ if .Site.Params.dateformNumTime }}{{ dateFormat .Site.Params.dateformNumTime .LastMod.Local }}{{ else }}{{ dateFormat "2006-01-02 15:04 -0700" .LastMod.Local }}){{ end }}
</p>
{{- if .GitInfo }}