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 }}">
|
||||
{{ end }}
|
||||
|
||||
{{ with resources.Get "rss-button.gif" }}
|
||||
<img src="{{ .Permalink }}">
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
<a href="{{ .RelPermalink }}">
|
||||
{{ with resources.Get "rss-button.gif" }}
|
||||
<img src="{{ .Permalink }}">
|
||||
{{ end }}
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue