small fixes

This commit is contained in:
teldra 2022-04-03 01:12:28 +02:00
parent 6bbb14a342
commit 91218b7bcc
2 changed files with 21 additions and 17 deletions

View File

@ -90,6 +90,10 @@ footer {
color: var(--links);
}
.infobox {
text-align: center;
}
footer div {
margin-top: 1rem;
}

View File

@ -5,23 +5,23 @@
</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 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 -}}
{{- end -}}
RSS</a><br><br>
<div class="infobox">
{{- with .OutputFormats.Get "rss" -}}
{{- if .Permalink -}}
{{- printf `<a href="%s">` .Permalink | safeHTML -}}
{{- end -}}
<a href="https://schlomp.space/Bunteshaus/bunteshaus.de">Sourcecode</a>
</div>
RSS</a><br><br>
{{- end -}}
<a href="https://schlomp.space/Bunteshaus/bunteshaus.de">Sourcecode</a>
</div>