diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2024-07-06 01:19:16 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2024-07-06 01:19:16 -0400 |
| commit | bd51b97e6953d5df4124ada7e29def41b2f7b09b (patch) | |
| tree | b65e40a7bca84c810c53efb63172c622444d6ccb /layouts/_default/baseof.html | |
| parent | 37f4840e9c1e4dd3ac092c4a69535be3e77f0d0e (diff) | |
add rss to templates
Diffstat (limited to 'layouts/_default/baseof.html')
| -rw-r--r-- | layouts/_default/baseof.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index f1f63a1..2159326 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -10,6 +10,9 @@ <link rel="icon" type="image/png" sizes="32x32" href="/favicons/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicons/favicon-16x16.png"> <link rel="manifest" href="/site.webmanifest"> + {{ with .OutputFormats.Get "rss" -}} + {{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} + {{ end }} {{ if .Params.math }} {{- partial "katex.html" . -}} {{ end }} |
