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); color: var(--links);
} }
.infobox {
text-align: center;
}
footer div { footer div {
margin-top: 1rem; margin-top: 1rem;
} }

View File

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