diff --git a/content/about/_index.de.md b/content/about/_index.de.md index c6ffb69a..f37b3444 100644 --- a/content/about/_index.de.md +++ b/content/about/_index.de.md @@ -7,4 +7,4 @@ Lerne unsere [Projekte](/bunteshaus/) kennen und schau, was wir unter [Selbstbes Wir machen Dinge und andere Dinge. Dabei verteilen wir Essen, organisieren Partys und machen Musik. -## Hier sind Details aller Projekte: \ No newline at end of file +**Hier sind Details aller Projekte:** \ No newline at end of file diff --git a/themes/buha/i18n/de.toml b/themes/buha/i18n/de.toml index ea045471..9c86d892 100644 --- a/themes/buha/i18n/de.toml +++ b/themes/buha/i18n/de.toml @@ -233,4 +233,7 @@ other = "weiterlesen" other = "Über uns" [featured] -other = "Wichtige Neuigkeiten" \ No newline at end of file +other = "Wichtige Neuigkeiten" + +[all] +other = "Alle" \ No newline at end of file diff --git a/themes/buha/layouts/index.html b/themes/buha/layouts/index.html index c5583c5e..927d1658 100644 --- a/themes/buha/layouts/index.html +++ b/themes/buha/layouts/index.html @@ -1,5 +1,5 @@ {{ define "title" }} -{{ .Title }} + {{ end }} {{ define "main" }} @@ -8,7 +8,7 @@ {{ .Content }} {{ end }} -

{{ "featured" | T }}

+ {{ range first 3 (where (where .Site.RegularPages "Type" "in" site.Params.mainSections) ".Params.featured" "=" true) }}
@@ -58,7 +58,7 @@
{{ end }} -

{{ "news" | T }}

+ {{ $s := .Site.Params }} {{- $posts := where (where .Site.RegularPages "Permalink" "!=" .Permalink) "Type" "in" $s.mainSections }} {{- $paginator := slice -}} diff --git a/themes/buha/layouts/partials/submenu.html b/themes/buha/layouts/partials/submenu.html index e3b57ff2..bcf41d62 100644 --- a/themes/buha/layouts/partials/submenu.html +++ b/themes/buha/layouts/partials/submenu.html @@ -2,6 +2,7 @@
Termine ☰

+

  • {{ "all" | T }}
  • {{- $recurrent := where .Site.RegularPages "Params.recurrent" true }} {{ if $recurrent }}
  • {{ "recurrent" | T | humanize }}