Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kaushalmodi opened this issue Aug 7, 2019 · 2 comments
Open

Comments

@kaushalmodi
Copy link
Owner

No description provided.

@jpawlowski
Copy link
Contributor

jpawlowski commented Aug 7, 2019

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
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants