small fixes

This commit is contained in:
teldra 2022-04-08 19:47:52 +02:00
parent c0f8ee7f79
commit 9122d0aff3
3 changed files with 28 additions and 30 deletions

4
new.sh
View File

@ -28,7 +28,11 @@ done
echo ""
echo ""
echo "Schreibe nun mit einem einfachen Editor deinen Artikel."
echo ""
echo "'${editor} content/news/${date}-${title_}/index.de.md'"
echo ""
echo "'https://buha.rotce.de/misc/generator/' hilft dir!"
echo ""
echo "Lege vielleicht noch Bilder in den Ordner 'content/news/${date}-${title_}'"
echo ""
echo "Wenn du fertig bist, nutze './push.sh' um das hochzuladen."

View File

@ -1,14 +1,18 @@
[Neuigkeiten]
other = "News"
[news]
one = "Neuigkeit"
other = "Neuigkeiten"
[events]
one = "Termin"
other = "Termine"
[event]
other = "Termin"
one = "Termin"
other = "Termine"
[contact]
other = "Kontakt"
one = "Kontakt"
other = "Kontakte"
[pobox]
other = "Posfach"
@ -32,19 +36,24 @@ other = "Über uns"
other = "weiterlesen"
[content]
other = "Inhalt"
one = "Inhalt"
other = "Inhalte"
[categories]
one = "Kategorie"
other = "Kategorien"
[category]
other = "Kategorie"
one = "Kategorie"
other = "Kategorien"
[tags]
one = "Tag"
other = "Tags"
[tag]
other = "Tag"
one = "Tag"
other = "Tags"
[new]
other = "Neu"
@ -55,18 +64,6 @@ other = "erweitern"
[featured]
other = "Featured"
[when]
other = "Wann"
[price]
other = "Preis"
[en]
other = "English"
[ku]
other = "Kurdî"
[or]
other = "oder"
@ -76,15 +73,6 @@ other = "Verschiedenes"
[all]
other = "Alle"
[generate]
other = "Genriere"
[title]
other = "Titel"
[isevent]
other = "Ist es ein Termin?"
[entry]
other = "Eintritt"
@ -96,3 +84,9 @@ other = "Anmeldung"
[executive]
other = "Vorstand"
[created]
other = "Erstellt"
[lastmod]
other = "Zuletzt geändert"

View File

@ -24,12 +24,12 @@
{{ if ne .Section "misc" }}
<div id="article_footer">
<div style="flex-grow: 1; flex-direction: column;">
<b>Verfasst am</b><br>
<b>{{ if i18n "created" }}{{ i18n "created" }}{{ else }}{{ "Created" }}{{ end }}</b><br>
{{ .Date | time.Format ":date_full" }}
</div>
{{ if ne .Date .Lastmod }}
<div style="flex-grow: 1; flex-direction: column;">
<b>zuletzt geändert</b><br>
<b>{{ if i18n "lastmod" }}{{ i18n "lastmod" }}{{ else }}{{ "Last modification" }}{{ end }}</b><br>
{{ .Lastmod | time.Format ":date_full" }}
</div>
{{ end }}