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.
## Hier sind Details aller Projekte:
**Hier sind Details aller Projekte:**

View File

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

View File

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

View File

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