small fixes

This commit is contained in:
teldra 2022-04-04 19:30:58 +02:00
parent c014d309d0
commit 5ff857b2db
1 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,6 @@
{{- end -}}
<div class="infobox">
<a href="{{- "orga" | absLangURL -}}">Orga</a><br><br>
{{- if eq site.Params.archive true -}}
{{ $archive := "archive" }}
{{ if i18n $archive }}
@ -18,6 +17,10 @@
{{ end }}
<a href="{{- "archive" | absLangURL -}}">{{- $archive | strings.FirstUpper -}}</a><br><br>
{{- end -}}
<a href="{{- "orga" | absLangURL -}}">Orga</a><br><br>
</div>
<div class="infobox">
{{- if eq site.Params.imprint true -}}
{{ $imprint := "imprint" }}
{{ if i18n $imprint }}
@ -25,10 +28,7 @@
{{ end }}
<a href="{{- "imprint" | absLangURL -}}">{{- $imprint | strings.FirstUpper -}}</a><br><br>
{{- end -}}
</div>
<div class="infobox">
{{- with .OutputFormats.Get "rss" -}}
{{- with .OutputFormats.Get "rss" -}}
{{- if .Permalink -}}
{{- printf `<a href="%s">` .Permalink | safeHTML -}}
{{- end -}}