small fixes

This commit is contained in:
teldra 2022-04-02 23:43:27 +02:00
parent 2bbc38ccb2
commit 7f5b6db3f1
2 changed files with 25 additions and 16 deletions

View File

@ -85,6 +85,13 @@ footer {
margin-right: 1rem;
}
#infobox_outer {
display: flex;
justify-content: space-evenly;
flex-grow: 1;
}
footer div {
margin-top: 1rem;
}

View File

@ -5,22 +5,24 @@
</div>
{{- end -}}
<div class="infobox">
<a href="{{- "orga" | absLangURL -}}">Orga</a><br><br>
{{- if eq site.Params.archive true -}}
<a href="{{- "archive" | absLangURL -}}">{{- i18n "archive" | strings.FirstUpper -}}</a><br><br>
{{- end -}}
{{- if eq site.Params.imprint true -}}
<a href="{{- "imprint" | absLangURL -}}">{{- i18n "imprint" | strings.FirstUpper -}}</a><br><br>
{{- end -}}
</div>
<div id="infobox_outer">
<div class="infobox">
<a href="{{- "orga" | absLangURL -}}">Orga</a><br><br>
{{- if eq site.Params.archive true -}}
<a href="{{- "archive" | absLangURL -}}">{{- i18n "archive" | strings.FirstUpper -}}</a><br><br>
{{- end -}}
{{- if eq site.Params.imprint true -}}
<a href="{{- "imprint" | absLangURL -}}">{{- i18n "imprint" | strings.FirstUpper -}}</a><br><br>
{{- end -}}
</div>
<div class="infobox">
{{- with .OutputFormats.Get "rss" -}}
{{- if .Permalink -}}
{{- printf `<a href="%s">` .Permalink | safeHTML -}}
<div class="infobox">
{{- with .OutputFormats.Get "rss" -}}
{{- if .Permalink -}}
{{- printf `<a href="%s">` .Permalink | safeHTML -}}
{{- end -}}
RSS</a><br><br>
{{- end -}}
RSS</a><br><br>
{{- end -}}
<a href="https://schlomp.space/Bunteshaus/bunteshaus.de">Sourcecode</a>
<a href="https://schlomp.space/Bunteshaus/bunteshaus.de">Sourcecode</a>
</div>
</div>