Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Simplesearch of modular pages not working

Started by Muut Archive 9 years ago · 0 replies · 425 views
9 years ago

I have simplesearch working on several production sites, but they use a standard page template. I am using modular pages on a new site and simplesearch is only searching content on the parent page. How do I search the child modules?

simplesearch.yaml

YAML
filters:
    category: []

frontmatter of modular.md

YAML
content:
    items: @self.modular
    order:
        by: default
        dir: asc
taxonomy:
    category:
        - page

I have tried empty frontmatter on the module item and I have tried adding, neither works.

YAML
taxonomy:
    category:
        - page

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1297 9 years ago
Archive · by Muut Archive, 9 years ago
2 894 9 years ago
Archive · by Muut Archive, 9 years ago
2 4024 9 years ago
Archive · by Muut Archive, 9 years ago
1 2899 9 years ago
Archive · by Muut Archive, 9 years ago
3 1082 9 years ago