carpentries / tnd-carpentries-working

The Carpentries new website BEFORE the Hugo theme was packaged out. Not currently maintained.
https://tnd-carpentries-website.netlify.app/
0 stars 0 forks source link

Side bar for blog list page #80

Closed maneesha closed 4 months ago

maneesha commented 5 months ago

The blog landing page (example) should have a sidebar to link to blog posts by tag and author, as well as blog archive similar to our current site.

Currently the blog lists all posts on one page. Consider listing only XX pages on the landing page and then paginate through the archive by XX pages, where XX is a number we can modify.

AdamChlan commented 4 months ago

@maneesha is the only difference between the main blog page, and the blog archive page, is that one is paginated and one is not?

maneesha commented 4 months ago

On our current site, the main blog page lists the 15 most recent entries, while the blog archive page lists all blog posts in one page. IIRC, this was because the jekyll template was doing some annoying thing when it came to pagination for the archives so we just left it all on one page.

We could have this set up where everything is just paginated, so the main blog page is essentially page 1 of the paginated archives.

AdamChlan commented 4 months ago

@maneesha I updated the blog landing page to have the sidebar links, and it is now paginated:

https://tnd-carpentries-website.netlify.app/blog/

maneesha commented 4 months ago

Looks good to me!