forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
12ac6cf0e9
commit
9323c0cd75
|
@ -236,4 +236,16 @@ other = "Über uns"
|
||||||
other = "Wichtige Neuigkeiten"
|
other = "Wichtige Neuigkeiten"
|
||||||
|
|
||||||
[all]
|
[all]
|
||||||
other = "Alle"
|
other = "Alle"
|
||||||
|
|
||||||
|
[ku]
|
||||||
|
other = "Kurdî"
|
||||||
|
|
||||||
|
[en]
|
||||||
|
other = "English"
|
||||||
|
|
||||||
|
[de]
|
||||||
|
other = "Deutsch"
|
||||||
|
|
||||||
|
[translations]
|
||||||
|
other = "Übersetzungen"
|
|
@ -1,12 +1,12 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
{{- partial "head.html" . -}}
|
{{- partial "structure/head.html" . -}}
|
||||||
{{ block "css" . -}}{{- end }}
|
{{ block "css" . -}}{{- end }}
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<header>
|
<header>
|
||||||
{{ partialCached "header" . }}
|
{{ partialCached "structure/header" . }}
|
||||||
{{ partial "submenu" . }}
|
{{ partial "structure/submenu" . }}
|
||||||
</header>
|
</header>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<main>
|
<main>
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
</aside>
|
</aside>
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer>
|
||||||
{{- partial "footer" . -}}
|
{{- partial "structure/footer" . -}}
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -194,5 +194,5 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{ define "sidebar" }}
|
{{ define "sidebar" }}
|
||||||
{{- partial "sidebar" . }}
|
{{- partial "structure/sidebar" . }}
|
||||||
{{ end }}
|
{{ end }}
|
|
@ -232,5 +232,5 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ define "sidebar" }}
|
{{ define "sidebar" }}
|
||||||
{{- partial "sidebar" . }}
|
{{- partial "structure/sidebar" . }}
|
||||||
{{ end }}
|
{{ end }}
|
|
@ -1,18 +0,0 @@
|
||||||
{{ $all_lang := $.Site.Home.Translations }}
|
|
||||||
{{ range site.RegularPages }}
|
|
||||||
<a href="{{ .Permalink}}">{{ .Name }}:</a>
|
|
||||||
{{ if .Translations }}
|
|
||||||
{{ range .Translations }}
|
|
||||||
{{ $t1 := .Language }}
|
|
||||||
{{ range $all_lang }}
|
|
||||||
{{- $a := .Language -}}
|
|
||||||
{{- $b := $.Site.Language.Lang -}}
|
|
||||||
{{ if ne $t1 .Language }}
|
|
||||||
missing: {{ .Language }}<br>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ else }}
|
|
||||||
no translations<br>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
|
@ -45,4 +45,20 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
<div id="article_footer" style="margin-top: 1rem; display: flex; align-items: baseline; font-size: x-small; border-top: 1px solid var(--background); color: var(--text-muted);">
|
||||||
|
{{ if .IsTranslated }}
|
||||||
|
<div style="flex-grow: 0; flex-direction: column; width: 10rem;">
|
||||||
|
<b>{{ "Translations" }}</b>
|
||||||
|
{{ range .Translations }}
|
||||||
|
<li style="list-style: none; text-decoration: none; font-size: x-small; color: var(--text-muted);">
|
||||||
|
<a href="{{ .Permalink }}" class="underline">{{ T .Lang }}</a>
|
||||||
|
</li>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
<div style="flex-grow: 1; flex-direction: column;">
|
||||||
|
<b>Verfasst am</b><br>
|
||||||
|
{{ .Date | time.Format ":date_full" }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
<h4>{{ "Languages" }}</h3>
|
<h4>{{ "Languages" }}</h3>
|
||||||
{{ range .Translations }}
|
{{ range .Translations }}
|
||||||
{{ if ne .Lang $.Lang }}
|
{{ if ne .Lang $.Lang }}
|
||||||
<li style="list-style: none;"><a href="{{- .Permalink -}}" class="underline">{{- .Lang -}}</a></li>
|
<li style="list-style: none;"><a href="{{- .Permalink -}}">{{- T .Lang -}}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
|
@ -5,10 +5,6 @@
|
||||||
|
|
||||||
<div class="footer_color" style="margin-top: 0; text-align: right;"><b>Termine</b></div>
|
<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>
|
<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>
|
|
||||||
{{ end }} -->
|
|
||||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.categories }}
|
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.categories }}
|
||||||
{{ $orig := $taxonomyname }}
|
{{ $orig := $taxonomyname }}
|
||||||
{{ if ne (i18n $taxonomyname) "" }}
|
{{ if ne (i18n $taxonomyname) "" }}
|
||||||
|
@ -25,7 +21,7 @@
|
||||||
<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">{{- .Lang -}}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</p>
|
</p>
|
||||||
</details>
|
</details>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue
Block a user