Gerrit Beine
50745e5e2f
Allow certain pages to be excluded from RSS feed ( #1833 )
...
* Allow certain pages to be excluded from RSS feed
This line adds support for the possibility to exclude a certain page from the RSS feed by adding a param to the front matter:
```
---
hiddenInRss: true
---
```
---------
Co-authored-by: Gerrit Beine <mail@gerritbeine.com >
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com >
2026-04-05 18:31:03 +05:30
Bjørn Erik Pedersen
da89fed021
[PATCH] tpl: Remove RSS deprecation site.Author check
...
The check itself creates a warning which I guess was not intended.
We could possibly make that work, but it has been deprecated since Hugo 0.98, so just remove the usage.
from https://github.com/gohugoio/hugo/commit/e07028cb90901931cd71a210f9d0b237d1bcc99f
2026-03-08 22:16:09 +05:30
Joe Mooring
c1c1252519
[PATCH] tpl/tplimpl: Improve embedded templates
...
- Do not include the Hugo version in RSS feeds
from gohugoio/hugo@10a8448
2026-03-08 22:10:50 +05:30
Joe Mooring
74ceb5efc5
[PATCH] tpl/tplimpl: Update RSS template
...
- Use publication date for pubdate
- Include version in generator element
cherry-picked from https://github.com/gohugoio/hugo/commit/f0a26cf58e9bfbe55c091d51a4133bc22cad5d1f
2024-04-13 11:49:09 +05:30
Dmitry Konishchev
beb281a1c6
Fix copyright field rendering HTML in RSS feed ( #1479 )
...
The copyright is rendered in footer as `{{ site.Copyright | markdownify }}`
which assumes it to be Markdown text, but RSS feed template doesn't ready
for Markdown now.
2024-04-13 11:35:52 +05:30
Daniel Terhorst-North
a184c53610
[PATCH] tpl/tplimpl: Fix incorrect lastBuildDate
...
cherry-pick from https://github.com/gohugoio/hugo/commit/87bf2b9688cbcfdb9b7aab00ce9e54095b56a47b
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 https://github.com/gohugoio/hugo/commit/23fcfb7f741a417f53a8ef4997bb68e64631df01
2023-12-16 19:43:59 +05:30
Joe Mooring
00488d0146
[PATCH] tpl/tplimpl: Deprecate .Site.Author usage in RSS template
...
cherry-pick from https://github.com/gohugoio/hugo/commit/d4016dd5cd57a27f19a5472c6031d156066860b7
2023-12-16 19:43:59 +05:30
Joe Mooring
cf62fa3c40
[PATCH] tpl/tplimpl: Use .Language.LanguageCode in built-in templates
...
cherry-pick from https://github.com/gohugoio/hugo/commit/ff77a927f9c032f5a65eff2daf1f7f8c04103711
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