-
Notifications
You must be signed in to change notification settings - Fork 191
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
Category feed v2 #544
base: develop
Are you sure you want to change the base?
Category feed v2 #544
Conversation
added X last blog posts in context, so that templates can display posts instead of only the total number of blog posts written by the selected authors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@palmitoto thanks for the cleaned up version, apart from the two minor comments, could you haev a look at the tests failures and could you add a test for the category feed along the lines of the per-tag feed?
author.count = count | ||
# "the number of author articles to be displayed" | ||
author.posts = qs[:self.latest_posts] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this does not belong here
@@ -80,11 +80,29 @@ def item_author_url(self, item): | |||
class TagFeed(LatestEntriesFeed): | |||
feed_items_number = get_setting('FEED_TAGS_ITEMS') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as you are using directly the setting, you can also remove this attribute
36e5e25
to
5220d47
Compare
Hello,
this is a merge request to add a rss category feed.
In addition to the default settings, the number of items to display can be passed by parameters.