diff options
author | Dillon <dillonzq@outlook.com> | 2020-05-01 18:29:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 18:29:24 +0300 |
commit | e3e3bdf9ee64d8732216b2182ec2bac9f3d4e1e1 (patch) | |
tree | fd27f6d66465ab797f7ef2691092d57853d9aca3 /layouts/index.rss.xml | |
parent | 5b689bf29b6a74f1f26eecfae5cdeecbf45ab96c (diff) |
feat(rss): add rssFullText param for RSS (#301)
Diffstat (limited to 'layouts/index.rss.xml')
-rw-r--r-- | layouts/index.rss.xml | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/layouts/index.rss.xml b/layouts/index.rss.xml index 263082b..8d4eef0 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> |