small fixes
This commit is contained in:
parent
e2937b2e9d
commit
f165a06f82
|
@ -50,7 +50,7 @@ Zeile 9 zum taggen von artikeln. zb interpreten von konzerten, thematliche schwe
|
|||
Zeile 10 kann benutzt werden um die Kosten des Termin anzugeben. Füllbar mit Text "3€" oder "free"
|
||||
Zeile 11 heisst irrtuemlich noch so, wird aber geaendert
|
||||
Zeile 12 falls man noch vor covid warnen muss work in progress :D
|
||||
**Ab Zeile 14 Beginnt der Inhalt**
|
||||
Ab Zeile 14 Beginnt der Inhalt
|
||||
|
||||
**fettgedrucktes ist minimal notwengig**
|
||||
|
||||
|
|
|
@ -63,3 +63,12 @@ other = "Preis"
|
|||
|
||||
[registeremail]
|
||||
other = "Registrierung"
|
||||
|
||||
[en]
|
||||
other = "English"
|
||||
|
||||
[ku]
|
||||
other = "Kurdi"
|
||||
|
||||
[all]
|
||||
other = "Alle"
|
|
@ -1,8 +1,7 @@
|
|||
{{ $s := .Site.Params }}
|
||||
<section class="sidebar_inner">
|
||||
{{ if gt .Site.Taxonomies.categories 0 }}
|
||||
<h3>{{ T "news" }}</h3>
|
||||
<a href="{{ "/news" | relLangURL}}">{{ "all" | T }}</a>
|
||||
<a href="{{ "/news" | relLangURL}}"><h3>{{ T "news" }}</h3></a>
|
||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.categories }}
|
||||
{{ $orig := $taxonomyname }}
|
||||
{{ if ne (i18n $taxonomyname) "" }}
|
||||
|
@ -14,8 +13,7 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if gt .Site.Taxonomies.events 0 }}
|
||||
<h3>{{ T "events" }}</h3>
|
||||
<a href="{{ "/events" | relLangURL}}">{{ "all" | T }}</a>
|
||||
<a href="{{ "/events" | relLangURL}}"><h3>{{ T "events" }}</h3></a>
|
||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.events }}
|
||||
{{ $orig := $taxonomyname }}
|
||||
{{ if ne (i18n $taxonomyname) "" }}
|
||||
|
@ -30,7 +28,7 @@
|
|||
<h4>{{ "Languages" }}</h3>
|
||||
{{ range .Translations }}
|
||||
{{ if ne .Lang $.Lang }}
|
||||
<li style="list-style: none;"><a href="{{- .Permalink -}}">{{- T .Lang -}}</a></li>
|
||||
<li style="list-style: none;"><a href="{{- .Permalink -}}">{{- i18n .Lang -}}</a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
@ -3,9 +3,18 @@
|
|||
<summary style="list-style: none; text-align: right;">Menü ☰</summary>
|
||||
<p>
|
||||
|
||||
<div class="footer_color" style="margin-top: 0; text-align: right;"><b>Termine</b></div>
|
||||
<li style="list-style: none; text-align: right;"><a href="{{ "/events" | relLangURL}}">{{ "all" | T }}</a></li>
|
||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.eventcategories }}
|
||||
<li style="list-style: none; text-align: right;"><a href="{{ "/news" | relLangURL}}"><b>{{ "news" | T }}</b></a></li>
|
||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.categories }}
|
||||
{{ $orig := $taxonomyname }}
|
||||
{{ if ne (i18n $taxonomyname) "" }}
|
||||
{{ $taxonomyname = i18n $taxonomyname }}
|
||||
{{ else }}
|
||||
{{ $taxonomyname = $taxonomyname | humanize }}
|
||||
{{ end }}
|
||||
<li style="list-style: none; text-align: right;"><a href="{{ "categories/" | relLangURL}}{{ $orig | urlize }}">{{ $taxonomyname }}</a></li>
|
||||
{{ end }}
|
||||
<li style="list-style: none; text-align: right; margin-top: 1rem;"><a href="{{ "/events" | relLangURL}}"><b>{{ "events" | T }}</b></a></li>
|
||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.events }}
|
||||
{{ $orig := $taxonomyname }}
|
||||
{{ if ne (i18n $taxonomyname) "" }}
|
||||
{{ $taxonomyname = i18n $taxonomyname }}
|
||||
|
@ -18,7 +27,7 @@
|
|||
<div class="footer_color" style="margin-top: 1rem; text-align: right;"><b>Languages</b></div>
|
||||
{{ range $.Site.Home.AllTranslations }}
|
||||
{{ if ne .Lang $.Lang }}
|
||||
<li style="list-style: none; text-align: right;"><a href="{{- .Permalink -}}" class="underline">{{- .Lang -}}</a></li>
|
||||
<li style="list-style: none; text-align: right;"><a href="{{- .Permalink -}}" class="underline">{{- i18n .Lang -}}</a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user