HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.2k stars 2.9k forks source link

"see all" for pages widget doesn't work with multiple content folders #2725

Closed dshen109 closed 2 years ago

dshen109 commented 2 years ago

Describe the bug

When filtering by multiple folder, the pages widget will only display items from the first folder in the list when the "see all" button is clicked.

To Reproduce

  1. Create two source folders for the pages widget and populate with objects to show
  2. In the widget config, have
content:
  filters:
    folders:
      - eventfolder1
      - eventfolder2

Expected behavior

"see all" displays a merge of the source folders.

Technical details:

gcushen commented 2 years ago

The See All link is controlled with the archive front matter option:

content:
  archive:
    enable: true
    text: See all blog posts
    link: post/

The link can be set to any of the archive pages which Hugo generates or your own custom link.