kaushalmodi / hugo-atom-feed

Hugo theme component for ATOM feed custom Output Format
GNU General Public License v3.0
39 stars 13 forks source link

Output <summary> tag instead of <content> if .Content is empty #16

Open kaushalmodi opened 4 years ago

jpawlowski commented 4 years ago

I started to maintain a variant of this for RSS feeds, also integration additional name spaces for enhanced functionality. I did also implement the summary vs content logic there and am about to send you a patch file für the Atom feed. However, what's still missing is to add a localized link to the summary if there was no content (#2 ). Also, I wanted to add a parameter on site and page level to disable content - with showing the content per default, of course.

Speaking of this, I was wondering whether we wanted to add a changed RSS version to this theme here (using a different file name like feed.rss as a default so it does not interfere with the existing built-in files). It could also be a totally separate repo but expecting people using this Atom theme might either disable RSS entirely or are likely to want a better RSS feed as a backup as well (I am part of the latter community, just because I can :D).

kaushalmodi commented 4 years ago

It could also be a totally separate repo

Firstly, because this repo has "atom" in its name :)

And also, because I will not be able to commit the same level of maintenance to the RSS repo.


I think a separate repo would be nice; may be you called it hugo-rss+-feed :) I would be happy to help you out in that repo though.