small fixes

This commit is contained in:
teldra 2022-04-04 23:21:39 +02:00
parent 4c47cbfe42
commit 8f8a36245f
7 changed files with 11 additions and 15 deletions

View File

@ -1,6 +1,8 @@
todo buha.de
- einen weg finden, die seiten contact, archive und imprint buildin zu machen
- anleitung git proxy fuer tor
- eintritt "gegen spende"
- covid regel verfeinern
schritt 1 bis 9 muss man nur einmal machen:
1. neuer account

View File

@ -8,6 +8,8 @@
background: url(/images/logo_back_full.svg);
}
main {
margin-top: 1rem;
}
@ -297,8 +299,6 @@ input, textarea {
text-align: left;
}
#articleinner {
display: flex;
flex-direction: row;

View File

@ -29,5 +29,5 @@
{{- end -}}
{{ define "sidebar" }}
{{- partial "structure/sidebar" . }}
{{- partial "structure/empty" . }}
{{ end }}

View File

@ -14,6 +14,6 @@
{{ end }}
{{ end }}
{{ else }}
no translations<br>
missing: all<br>
{{ end }}
{{ end }}

View File

@ -1,15 +1,8 @@
{{ if .IsHome }}
<li class="align_menu"><h3>Languages</h3></li>
{{ range $.Site.Home.AllTranslations }}
{{ if ne .Lang $.Lang }}
<li class="align_menu"><a href="{{- .Permalink -}}">{{- i18n .Lang -}}</a></li>
{{ end }}
{{ end }}
{{ else if .Translations }}
{{ if .Translations }}
<li class="align_menu"><h3>{{ "Languages" }}</h3></li>
{{ range .Translations }}
{{ if ne .Lang $.Lang }}
<li class="align_menu"><a href="{{- .Permalink -}}">{{- i18n .Lang -}}</a></li>
{{ end }}
{{ end }}
{{ end }}
{{ end }}

View File

@ -3,7 +3,9 @@
<summary style="list-style: none; text-align: right;">Menü ☰</summary>
<p>
{{ partial "structure/sidebar_submenu" . }}
{{ partial "structure/langs" . }}
{{ if .IsHome }}
{{ partial "structure/langs" . }}
{{ end }}
</p>
</details>
</div>

View File

@ -124,7 +124,6 @@ function showInput(e) {
}
display.innerHTML += "---<br>";
if (content) {
document.getElementById("myDIV").style.display = "flex";
display.innerHTML += content;
}
}