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

github.com/dillonzq/LoveIt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.rss.xml')
-rw-r--r--layouts/index.rss.xml25
1 files changed, 1 insertions, 24 deletions
diff --git a/layouts/index.rss.xml b/layouts/index.rss.xml
index 263082b4..8d4eef05 100644
--- a/layouts/index.rss.xml
+++ b/layouts/index.rss.xml
@@ -35,30 +35,7 @@
{{- end -}}
<atom:link href="{{ .Permalink }}" rel="self" type="application/rss+xml" />
{{- range where .Site.RegularPages "Type" "posts" | first (.Site.Params.home.rss | default 10) -}}
- <item>
- <title>
- {{- .Title -}}
- </title>
- <link>
- {{- .Permalink -}}
- </link>
- <pubDate>
- {{- .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}}
- </pubDate>
- <author>
- {{- .Params.author | default $.Site.Author.name | default (T "author") -}}
- </author>
- <guid>
- {{- .Permalink -}}
- </guid>
- <description>
- {{- with .Summary -}}
- {{- dict "content" . "ruby" true "fraction" true "fontawesome" true | partial "function/content.html" | plainify -}}
- {{- else -}}
- {{- .Description | plainify -}}
- {{- end -}}
- </description>
- </item>
+ {{- dict "page" . "site" .Site | partial "rss/item.html" -}}
{{- end -}}
</channel>
</rss>