wangchucheng / hugo-eureka

Eureka is a feature-rich and highly customizable Hugo theme.
https://www.wangchucheng.com/en/docs/hugo-eureka/
Apache License 2.0
920 stars 192 forks source link

Use more sections in Pages Widget #209

Open Letme opened 2 years ago

Letme commented 2 years ago

Describe the bug

Achieve Recent from different sections like it was before.

Homepage before beside a vintage widget also included the Recents widget (which I assume it is pages widget now), that included recent posts from different sections. Now section is a string (based on documentation), but it would need to be a list.

To Reproduce

Inside homepage folder, Create Vintage widget, create pages widget, add more sections in (either | separated, or , separated or separated) pages widget frontmatter.

Expected behavior

I expect if you list multiple sections that it will concatenate them and display them in a time sequence in one list.

Screenshots

Not needed

Environment

Additional context

I loved the original homepage layout and now I cannot seem to reproduce it.