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:
authorRise <8315221+AmazingRise@users.noreply.github.com>2022-04-14 16:22:22 +0300
committerGitHub <noreply@github.com>2022-04-14 16:22:22 +0300
commitf004346d38ad3174bccead52f2e59821845b3b6f (patch)
tree47bfe8713df89113c4188aea66fcda2b52d2f84c /layouts/index.rss.xml
parenta3ca832a63d6302d7d9b151fee17281b770f28cb (diff)
parent31b47c466a683c1359ae4061b7dbf2e6a68bac74 (diff)
Merge pull request #119 from Darthagnon/local-docs
Local docs
Diffstat (limited to 'layouts/index.rss.xml')
-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>