Make rss link functional and only show up for sections that have one
This commit is contained in:
parent
c0169434d5
commit
eff8c23323
1 changed files with 8 additions and 2 deletions
|
@ -5,7 +5,13 @@ Copyright (c) 2022. <a href="https://git.sr.ht/~redstrate/redstrate.com/tree/mas
|
||||||
<img src="{{ .Permalink }}">
|
<img src="{{ .Permalink }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ with .OutputFormats.Get "RSS" }}
|
||||||
|
<a href="{{ .RelPermalink }}">
|
||||||
{{ with resources.Get "rss-button.gif" }}
|
{{ with resources.Get "rss-button.gif" }}
|
||||||
<img src="{{ .Permalink }}">
|
<img src="{{ .Permalink }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue