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/posts/rss.xml')
-rw-r--r--layouts/posts/rss.xml27
1 files changed, 2 insertions, 25 deletions
diff --git a/layouts/posts/rss.xml b/layouts/posts/rss.xml
index df8dfee4..2d3a0054 100644
--- a/layouts/posts/rss.xml
+++ b/layouts/posts/rss.xml
@@ -1,7 +1,7 @@
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>
- {{- .Params.Title | default (T .Section) | default .Section | printf (T "allSome") }} | {{ .Site.Title -}}
+ {{- .Params.Title | default (T .Section) | default .Section | printf (T "allSome") }} - {{ .Site.Title -}}
</title>
<link>
{{- .Permalink -}}
@@ -35,30 +35,7 @@
{{- end -}}
<atom:link href="{{ .Permalink }}" rel="self" type="application/rss+xml" />
{{- range .Pages | first (.Site.Params.section.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>