danix
's git repository
home
/
my projects
/
theme-danix.xyz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2ea670
)
added rss feed in footer
author
danix
<danix@danix.xyz>
Mon, 13 Feb 2023 19:09:33 +0000
(20:09 +0100)
committer
danix
<danix@danix.xyz>
Mon, 13 Feb 2023 19:09:33 +0000
(20:09 +0100)
layouts/partials/footer.html
patch
|
blob
|
blame
|
history
diff --git
a/layouts/partials/footer.html
b/layouts/partials/footer.html
index
421e18d
..
77ddab9
100644
(file)
--- a/
layouts/partials/footer.html
+++ b/
layouts/partials/footer.html
@@
-4,6
+4,9
@@
<div class="row">
<div class="col-8 col-12-medium">
<ul>
+ {{ with .OutputFormats.Get "rss" -}}
+ <li>{{ printf `<a href="%s" title="%s" target="_blank">RSS Feed</a>` .Permalink $.Site.Title | safeHTML }}</li>
+ {{ end -}}
<li><a href="{{.Site.BaseURL}}sitemap.xml" target="_blank">sitemap</a></li>
<li><a href="{{ ref . "legal" }}">Privacy Policy</a></li>
</ul>