Add RSS link

This commit is contained in:
2021-10-06 09:52:06 -05:00
parent 919fcfe7cc
commit 9af039619e
3 changed files with 39 additions and 12 deletions

View File

@ -7,18 +7,20 @@
<div class="post-metadata">
{{ if .Date }}
{{ partial "icon.html" "calendar" }}
<time datetime="{{ .Date.Format "2006-01-02" }}" pubdate>
{{ .Date.Format "January 2, 2006" }}
</time>
<span class="date">
{{ partial "icon.html" "calendar" }}
<time datetime="{{ .Date.Format "2006-01-02" }}" pubdate>
{{ .Date.Format "January 2, 2006" }}
</time>
{{ if ne .Lastmod .Date }}
<time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate>
(Modified {{ .Lastmod.Format "January 2, 2006" }})
</time>
{{ end }}
{{ if ne .Lastmod .Date }}
<time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate>
(Modified {{ .Lastmod.Format "January 2, 2006" }})
</time>
{{ end }}
{{ end }}
{{ end }}
</span>
<span class="tags">
{{ range (.GetTerms "tags") }}