From 5979be2db6b7aacd335e4c893cb2d56f04e9b7a8 Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Mon, 8 Jun 2020 14:54:08 +0200 Subject: [PATCH] minor rearrangements and fixes --- .gitignore | 2 +- archetypes/default.md | 13 ++++++++++--- i18n/de.yaml | 30 ++++++++++++++++++++---------- i18n/en.yaml | 30 ++++++++++++++++++++---------- layouts/partials/card.html | 4 ++-- layouts/partials/footer.html | 2 +- layouts/partials/header.html | 4 ++-- layouts/partials/sidebar.html | 8 ++++---- layouts/taxonomy/list.html | 2 +- 9 files changed, 61 insertions(+), 34 deletions(-) diff --git a/.gitignore b/.gitignore index 8fc9767..20fc099 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ public resources themes -static/images +static/img diff --git a/archetypes/default.md b/archetypes/default.md index 00e77bd..8241bb1 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,6 +1,13 @@ --- -title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} -draft: true +title: "{{ replace .Name "-" " " | title }}" +summary: "" +img: +domains: [] +topics: [] +date: {{ .Date }} +author: +draft: true +weight: 10 --- +### First Headline diff --git a/i18n/de.yaml b/i18n/de.yaml index df72105..956f97b 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -1,5 +1,5 @@ # -# en.yaml 2020-03-08 +# en.yaml 2020-05-10 # about: @@ -8,21 +8,21 @@ about: author: other: Autor -categories: - other: Kategorien - -Categories: - other: Kategorien - -category: - other: Kategorie - contact: other: Kontakt dateFormat: other: 02.01.2006 +domains: + other: Bereiche + +Domains: + other: Bereiche + +domains: + other: Bereich + next: other: Weiter @@ -31,3 +31,13 @@ prev: recentArticles: other: Aktuelle Artikel + +topics: + other: Themen + +Topics: + other: Themen + +topic: + other: Thema + diff --git a/i18n/en.yaml b/i18n/en.yaml index c341fea..69e709b 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -1,5 +1,5 @@ # -# en.yaml 2020-03-08 +# en.yaml 2020-05-10 # about: @@ -8,15 +8,6 @@ about: author: other: Author -categories: - other: Categories - -Categories: - other: Categories - -category: - other: Category - contact: other: Contact @@ -24,6 +15,15 @@ dateFormat: other: Jan 02, 2006 # other: 2006-01-02 +domains: + other: Domains + +Domains: + other: Domains + +domain: + other: Domain + next: other: Next @@ -32,3 +32,13 @@ prev: recentArticles: other: Recent Posts + +topics: + other: Topics + +Topics: + other: Topics + +topic: + other: Topic + diff --git a/layouts/partials/card.html b/layouts/partials/card.html index 823f1f8..3e1c7b4 100644 --- a/layouts/partials/card.html +++ b/layouts/partials/card.html @@ -4,9 +4,9 @@
{{ if .Params.img }} - {{ .Title }} + {{ .Title }} {{ else if .Site.Params.defaultImage }} - {{ .Site.Title }} + {{ .Site.Title }} {{ end }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 4aa3070..194aa96 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -11,7 +11,7 @@
{{ with .Site.Params.builtBy }} - {{.name}} + {{.name}} {{ end }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index fcf6fad..f6c60fb 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -9,14 +9,14 @@ - {{.Site.Title}} + {{.Site.Title}}
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index a806fed..02f4b6d 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -2,17 +2,17 @@
{{ if .Params.img }} - {{ .Params.title }} + {{ .Params.title }} {{ else }} - matrix + matrix {{ end }}
- {{ $taxo := "categories" }} + {{ $taxo := "topics" }} {{ if .Param $taxo }}
-

{{i18n "categories"}}

+

{{i18n "topics"}}

    {{ range .Param $taxo }} {{ $name := . }} diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy/list.html index 64646e2..e571b33 100644 --- a/layouts/taxonomy/list.html +++ b/layouts/taxonomy/list.html @@ -3,7 +3,7 @@
    -

    {{i18n "category"}}: {{.Title | title}}

    +

    {{i18n "topic"}}: {{.Title | title}}