Hi - newbie alert - I’m creating a new theme for my weblog.
The home page has only the 3 most recent posts. Each one links to the post itself, i.e. a “single.html” template. Now I’d like to include a longer list of recent posts as sidebar - how is this done in Hugo? I guess I’m a bit confused w.r.t. the single / list template split: it’s a single page in that it shows one post in full, but it needs to include a list of the last N posts as well.
Apologies if this is a FAQ - I haven’t found an answer or matching example so far.
Update - using “.Site.Pages” iso “.Data.Pages” with “where” filtering got me going (as mentioned here). Not sure it’s the “proper” way to do this, but it works.