small fixes

This commit is contained in:
teldra 2022-06-15 00:37:18 +02:00
parent 240ad6da96
commit cf3425a5e9
2 changed files with 12 additions and 10 deletions

View File

@ -8,11 +8,13 @@
margin-left: auto;
margin-right: auto;
flex-direction: column-reverse;
div {
margin-top: 1rem;
}
.infobox {
display: flex;
flex-direction: column;
text-align: center;
a {
margin-top: 1em;
}
}
}

View File

@ -4,7 +4,7 @@
{{ if i18n "contact" }}
{{ $contact = i18n "contact" }}
{{ end }}
<div style="margin-bottom: .6em;"><a href="{{- "contact" | absLangURL -}}">{{- $contact | strings.FirstUpper -}}:</a></div>
<a href="{{- "contact" | absLangURL -}}">{{- $contact | strings.FirstUpper -}}:</a>
{{- partial "snippets/contact" -}}
</div>
{{- end -}}
@ -15,16 +15,16 @@
{{ if i18n "archive" }}
{{ $archive = i18n "archive" }}
{{ end }}
<a href="{{- "archive" | absLangURL -}}">{{- $archive | strings.FirstUpper -}}</a><br><br>
<a href="{{- "archive" | absLangURL -}}">{{- $archive | strings.FirstUpper -}}</a>
{{- end -}}
{{- if eq site.Params.newsletter true -}}
{{ $newsletter := "Newsletter" }}
{{ if i18n "newsletter" }}
{{ $newsletter = i18n "newsletter" }}
{{ end }}
<a href="{{- "newsletter" | absLangURL -}}">{{- $newsletter | strings.FirstUpper -}}</a><br><br>
<a href="{{- "newsletter" | absLangURL -}}">{{- $newsletter | strings.FirstUpper -}}</a>
{{- end -}}
<a href="{{- "misc" | absLangURL -}}">Misc</a><br><br>
<a href="{{- "misc" | absLangURL -}}">Misc</a>
</div>
<div class="infobox">
@ -33,21 +33,21 @@
{{ if i18n "imprint" }}
{{ $imprint = i18n "imprint" }}
{{ end }}
<a href="{{- "imprint" | absLangURL -}}">{{- $imprint | strings.FirstUpper -}}</a><br><br>
<a href="{{- "imprint" | absLangURL -}}">{{- $imprint | strings.FirstUpper -}}</a>
{{- end -}}
{{- if eq site.Params.links true -}}
{{ $links := "Links" }}
{{ if i18n "links" }}
{{ $links = i18n "links" }}
{{ end }}
<a href="{{- "links" | absLangURL -}}">{{- $links | strings.FirstUpper -}}</a><br><br>
<a href="{{- "links" | absLangURL -}}">{{- $links | strings.FirstUpper -}}</a>
{{- end -}}
{{- if not (or (eq .Section "featured") (eq .Section "about")) -}}
{{- with .OutputFormats.Get "rss" -}}
{{- if .Permalink -}}
{{- printf `<a href="%s">` .Permalink | safeHTML -}}
{{- end -}}
RSS</a><br><br>
RSS</a>
{{- end -}}
{{ end }}
<a href="https://schlomp.space/Bunteshaus/bunteshaus.de">Sourcecode</a>