small fixes

This commit is contained in:
teldra 2022-04-08 19:23:58 +02:00
parent 196db7b348
commit 0ccc6bca41

View File

@ -43,17 +43,12 @@
<a href="{{- "links" | absLangURL -}}">{{- $links | strings.FirstUpper -}}</a><br><br>
{{- end -}}
{{- if not (or (eq .Section "featured") (eq .Section "about")) -}}
{{ if .IsHome }}
{{- printf `<a href="%s">` "/news/index.xml" | safeHTML -}}
RSS</a><br><br>
{{ else }}
{{- with .OutputFormats.Get "rss" -}}
{{- if .Permalink -}}
{{- printf `<a href="%s">` .Permalink | safeHTML -}}
{{- end -}}
RSS</a><br><br>
{{- end -}}
{{ end }}
{{ end }}
<a href="https://schlomp.space/Bunteshaus/bunteshaus.de">Sourcecode</a>
</div>