small fixes

This commit is contained in:
teldra 2022-03-27 15:22:14 +02:00
parent cbcbcfa0ee
commit fa8ba17f43
4 changed files with 9 additions and 5 deletions

View File

@ -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. Wir machen Dinge und andere Dinge. Dabei verteilen wir Essen, organisieren Partys und machen Musik.
## Hier sind Details aller Projekte: **Hier sind Details aller Projekte:**

View File

@ -233,4 +233,7 @@ other = "weiterlesen"
other = "Über uns" other = "Über uns"
[featured] [featured]
other = "Wichtige Neuigkeiten" other = "Wichtige Neuigkeiten"
[all]
other = "Alle"

View File

@ -1,5 +1,5 @@
{{ define "title" }} {{ define "title" }}
{{ .Title }} <!-- {{ .Title }} -->
{{ end }} {{ end }}
{{ define "main" }} {{ define "main" }}
@ -8,7 +8,7 @@
{{ .Content }} {{ .Content }}
</article> </article>
{{ end }} {{ end }}
<a href="/featured"><h2>{{ "featured" | T }}</h2></a> <!-- <a href="/featured"><h2>{{ "featured" | T }}</h2></a> -->
{{ range first 3 (where (where .Site.RegularPages "Type" "in" site.Params.mainSections) ".Params.featured" "=" true) }} {{ range first 3 (where (where .Site.RegularPages "Type" "in" site.Params.mainSections) ".Params.featured" "=" true) }}
<article class="articlebgcol1 borderrad25"><a href="{{- .Permalink -}}"> <article class="articlebgcol1 borderrad25"><a href="{{- .Permalink -}}">
<div id="articletitle"> <div id="articletitle">
@ -58,7 +58,7 @@
</div> </div>
</a></article> </a></article>
{{ end }} {{ end }}
<a href="/news"><h2>{{ "news" | T }}</h2></a> <!-- <a href="/news"><h2>{{ "news" | T }}</h2></a> -->
{{ $s := .Site.Params }} {{ $s := .Site.Params }}
{{- $posts := where (where .Site.RegularPages "Permalink" "!=" .Permalink) "Type" "in" $s.mainSections }} {{- $posts := where (where .Site.RegularPages "Permalink" "!=" .Permalink) "Type" "in" $s.mainSections }}
{{- $paginator := slice -}} {{- $paginator := slice -}}

View File

@ -2,6 +2,7 @@
<details> <details>
<summary style="list-style: none; text-align: right;">Termine ☰</summary> <summary style="list-style: none; text-align: right;">Termine ☰</summary>
<p> <p>
<li style="list-style: none; text-align: right;"><a href="{{ "/events" | relLangURL}}">{{ "all" | T }}</a></li>
{{- $recurrent := where .Site.RegularPages "Params.recurrent" true }} {{- $recurrent := where .Site.RegularPages "Params.recurrent" true }}
{{ if $recurrent }} {{ if $recurrent }}
<li style="list-style: none; text-align: right;"><a href="{{ "/" | relLangURL}}{{ "recurrent" | urlize }}">{{ "recurrent" | T | humanize }}</a></li> <li style="list-style: none; text-align: right;"><a href="{{ "/" | relLangURL}}{{ "recurrent" | urlize }}">{{ "recurrent" | T | humanize }}</a></li>