Trying to figure out why ikiwiki never displays more than 10 posts no matter what the value of the numbacklinks variable says. I have tried 0 (to show all) and 100 (I only have 22 posts) but it always displays 10.
The /var/lib/ikiwiki/.setup variable:
numbacklinks: 0
whose description says:
how many backlinks to show before hiding excess (0 to show all)
properly reflects the changes made with the ikiwiki setup interface. I'm running ikiwiki on a FreedomBox.
Maybe I'm not understanding what this variable is supposed to do, but it seems to be the only one that has anything to do with how many posts to show. I would like to show all the posts, not just the most recent 10 when entering the blog. Can anyone tell me why this is not working? Thanks.
backlinks are links from other pages back to the current page, that are shown at the bottom of a page by default. It's not related to the blog listing.
The blog listing is generated with an inline directive.
Go to the page that contains your blog listing and edit it. You will see the inline directive with a parameter
limit="10"
(orshow="10"
, which is outdated but still works).Ok, thanks. I know next to nothing about ikiwiki, but it appears that the FreedomBox places the blog files in /var/lib/ikiwiki/. From there:
so replaced the show="10" with show="100" but no change. Turns out that change doesn't propagate until a blog rebuild is done. So, changed the numbacklinks to 100 from the ikiwiki interface and after the rebuild was done, I now see all posts.
The ikiwiki version on the FreedomBox is 3.20200202.3-1 (per aptitude). Not sure if newer versiona have this variable settable from the "setup" page, but it would be a good idea.