diff --git a/themes/buha/layouts/_default/list.html b/themes/buha/layouts/_default/list.html index 8575e6d1..7b058001 100644 --- a/themes/buha/layouts/_default/list.html +++ b/themes/buha/layouts/_default/list.html @@ -78,7 +78,7 @@ {{- else -}} {{- .Summary -}} {{- end }} - {{ if or .Truncated (eq $meta "true") }} + {{ if .Truncated }}
{{- i18n "readmore" -}}..
{{ end }} diff --git a/themes/buha/layouts/index.html b/themes/buha/layouts/index.html index 396b3ccf..79e23db5 100644 --- a/themes/buha/layouts/index.html +++ b/themes/buha/layouts/index.html @@ -30,15 +30,12 @@
{{ if and (ne .Params.when "") (ne .Params.when nil) }}
{{ .Params.when }}
- {{ $meta = true }} {{ end }} {{ if and (ne .Params.price "") (ne .Params.price nil) }} {{ if eq .Params.price "free" }}
Der Eintritt ist frei.
- {{ $meta = true }} {{ else }}
Eintritt: {{ .Params.price }}
- {{ $meta = true }} {{ end }} {{ end }}
@@ -64,7 +61,7 @@ {{- else -}} {{- .Summary -}} {{- end }} - {{ if or .Truncated (eq $meta true) }} + {{ if .Truncated }}
{{- i18n "readmore" -}}..
{{ end }} @@ -86,15 +83,12 @@
{{ if and (ne .Params.when "") (ne .Params.when nil) }}
{{ .Params.when }}
- {{ $meta = true }} {{ end }} {{ if and (ne .Params.price "") (ne .Params.price nil) }} {{ if eq .Params.price "free" }}
Der Eintritt ist frei.
- {{ $meta = true }} {{ else }}
Eintritt: {{ .Params.price }}
- {{ $meta = true }} {{ end }} {{ end }}
@@ -120,7 +114,7 @@ {{- else -}} {{- .Summary -}} {{- end }} - {{ if or .Truncated (eq $meta true) }} + {{ if .Truncated }}
{{- i18n "readmore" -}}..
{{ end }} diff --git a/themes/buha/layouts/partials/footer.html b/themes/buha/layouts/partials/footer.html index f9238538..423977e7 100644 --- a/themes/buha/layouts/partials/footer.html +++ b/themes/buha/layouts/partials/footer.html @@ -24,5 +24,12 @@ RSS

{{- end -}} Sourcecode +
+ {{ range $.Site.Home.AllTranslations }} + {{ if ne .Lang $.Lang }} + {{- .Lang -}} + {{ end }} + {{ end }} +
diff --git a/themes/buha/layouts/partials/header.html b/themes/buha/layouts/partials/header.html index d6667620..c9c5a10f 100644 --- a/themes/buha/layouts/partials/header.html +++ b/themes/buha/layouts/partials/header.html @@ -12,12 +12,6 @@ {{- $name | humanize -}} {{ end }} {{- end -}} -
- {{ range $.Site.Home.AllTranslations }} - {{ if ne .Lang $.Lang }} - {{- .Lang -}} - {{ end }} - {{ end }} -
+