forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
196db7b348
commit
0ccc6bca41
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user