kaiiiz / hugo-theme-monochrome

Monochrome is a fast, clean and responsive hugo theme
https://kaiiiz.github.io/hugo-theme-monochrome/
MIT License
171 stars 52 forks source link

Maximum of 10 post titles on home page #8

Closed jeregg closed 2 years ago

jeregg commented 2 years ago

Under the list view, it looks like the home page can only show the recent 10 post titles.

Does anyone know how can I adjust to show all post titles? Or display pages to navigate through 10 post titles each?

Thanks

kaiiiz commented 2 years ago

Hi,

The current implementation of the default homepage still lacks customizability as it is not used on my website.

I suggest the workaround for now:

To show all post titles, you need to change the following line from (first 10 .Site.RegularPages) to .Site.RegularPages

https://github.com/kaiiiz/hugo-theme-monochrome/blob/v0.9.2/layouts/home.html#L19

Display pages to navigate through 10 post titles each?

The pagination feature has not been designed yet.

If time permits, support for pagination feature and a redesign of the homepage will be in the near future.

jeregg commented 2 years ago

Perfect. That works.

Thank you for your reply. And I had so much fun playing with the Monochrome theme.