fix: broken links, add check to CI
All checks were successful
Website build and deploy / build (pull_request) Successful in 42s

This commit is contained in:
2026-04-01 11:31:35 +02:00
parent 9bb7fcc300
commit 9319d42aca
3 changed files with 15 additions and 9 deletions

View File

@@ -65,7 +65,9 @@
</div>
<div class="col-xs-9 col-md-10">
{{ if $selection }}
<span class="article-rss"><a class="label label-rss" href="/{{ .Data.Plural }}/{{lower .Title}}/index.xml" title="RSS Feed"><i class="fa fa-rss" aria-hidden="true"></i> Subscribe to »{{.Title}}«</a></span>
{{- with .OutputFormats.Get "RSS" -}}
<span class="article-rss"><a class="label label-rss" href="{{ .Permalink }}" title="RSS Feed"><i class="fa fa-rss" aria-hidden="true"></i> Subscribe to »{{ $.Title }}«</a></span>
{{- end -}}
{{ else }}
<span class="article-rss"><a class="label label-rss" href="/blog/index.xml" title="RSS Feed"><i class="fa fa-rss" aria-hidden="true"></i> Subscribe to all posts</a></span>
{{ end }}