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

Support Latest posts #1665

Closed
wants to merge 2 commits into from
Closed

Conversation

msnoigrs
Copy link
Contributor

I would like to show a latest posts list on every post page.
Please consider this pull request.

@felixfontein
Copy link
Contributor

You need to add dependencies of every post page with the last 10 posts (or at least some basic info about them). Also note that this will recompile every post page when you add a new post, which takes quite a long time for large blogs.

For that reason, the default number of posts should be 0 and not 10, as 0 will not cause this.

@Kwpolska Kwpolska added this to the v7.3.2 milestone Apr 23, 2015
@Kwpolska Kwpolska self-assigned this Apr 23, 2015
@Kwpolska
Copy link
Member

No.

This is completely against Nikola’s principles. If latest posts are displayed, you will basically kill all the benefits of automated rebuilds.

@Kwpolska Kwpolska closed this Apr 23, 2015
@schettino72
Copy link
Member

What if you get parts of the page using AJAX? You could build this once and inject this in the page only in the client side when the page is displayed...

@Kwpolska
Copy link
Member

You could easily achieve this by hand using the existing JSON for tag clouds, maybe with some code modifications.

@ralsina
Copy link
Member

ralsina commented Apr 23, 2015

Or fetching RSS and displaying that using a widget, like https://github.com/sdepold/jquery-rss

@msnoigrs
Copy link
Contributor Author

Thank you for reviewing my proposal.
I will consider another approach.

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

Successfully merging this pull request may close these issues.

None yet

5 participants