Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AmazingRise/hugo-theme-diary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren J. de Lima <darren.delima@yahoo.co.uk>2022-04-10 04:02:27 +0300
committerDarren J. de Lima <darren.delima@yahoo.co.uk>2022-04-10 04:02:27 +0300
commit31b47c466a683c1359ae4061b7dbf2e6a68bac74 (patch)
tree47bfe8713df89113c4188aea66fcda2b52d2f84c /layouts
parent5fc96e128c0edca1fd6a2ddfe2d801a4ec835664 (diff)
Pretty RSS
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.rss.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/index.rss.xml b/layouts/index.rss.xml
index 0f2e74c..27be451 100644
--- a/layouts/index.rss.xml
+++ b/layouts/index.rss.xml
@@ -1,3 +1,4 @@
+{{- printf "<?xml-stylesheet href=\"/rss.xsl\" type=\"text/xsl\"?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>