fix: broken links, add check to CI
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user