Commit graph

11 commits

Author SHA1 Message Date
Daniel Terhorst-North
a184c53610
[PATCH] tpl/tplimpl: Fix incorrect lastBuildDate
cherry-pick from 87bf2b9688

Co-authored-by: Joe Mooring <joe@mooring.com>
2024-02-10 13:24:33 +05:30
David Amador
a4a0f8dcfb
Adding xmlns:content namespace to RSS feed and only write content:encoded if something on .Content (#1411)
* Added xmlns:content namespace for valid RSS feeds with content:encoded

* Only write <content:encoded> in RSS if ShotFullTextinRSS and .Content has something

fixes: #1385
2024-02-03 20:55:52 +05:30
Aditya Telange
f51ad49819 replace .Site with site & fix whitespace 2023-12-16 19:43:59 +05:30
Joe Mooring
ff7443b17f [PATCH] tpl/tplimpl: Fix deprecation logic in RSS template
cherry-pick from 23fcfb7f74
2023-12-16 19:43:59 +05:30
Joe Mooring
00488d0146 [PATCH] tpl/tplimpl: Deprecate .Site.Author usage in RSS template
cherry-pick from d4016dd5cd
2023-12-16 19:43:59 +05:30
Joe Mooring
cf62fa3c40 [PATCH] tpl/tplimpl: Use .Language.LanguageCode in built-in templates
cherry-pick from ff77a927f9
2023-12-16 19:43:59 +05:30
k-yone
4d42965bb5
Add title to the image tag in rss.xml (#1105)
Ref: https://cyber.harvard.edu/rss/rss.html#ltimagegtSubelementOfLtchannelgt
2023-02-04 17:34:21 +05:30
Aditya Telange
575cc0ca8c
Use site function instead of .Site or $.Site
- The site function provides global access to the same data as the .Site page method.
- Current context (`.`) is never considered.
2022-03-27 18:44:06 +05:30
Aditya Telange
573e673efa
Use content:encoded in Rss feeds
when using ShowFullTextinRSS
2021-05-02 11:29:31 +05:30
Aditya Telange
0c64647138
Add option to show Full Text content in RSS feeds
closes: #372

usageIn site Params =>
    ShowFullTextinRSS: true
2021-04-29 19:38:08 +05:30
Aditya Telange
b6af9eddee
Imrprovements to RSS (#319)
* Copy hugo's internal rss template
- loc: https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/_default/rss.xml

- at commit 5f42590144579c318a444ea2ce46d5c3fbbbfe6e of https://github.com/gohugoio/hugo/

* Add Site image from images param

* Hide search and archives layouts from feed index

* add Description and Summary in RSS as in other templates
2021-03-25 14:50:53 +05:30