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

Simplesearch of modular pages not working

Started by Muut Archive 9 years ago · 0 replies · 427 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 1323 9 years ago
Archive · by Muut Archive, 9 years ago
2 919 9 years ago
Archive · by Muut Archive, 9 years ago
2 4048 9 years ago
Archive · by Muut Archive, 9 years ago
1 2923 9 years ago
Archive · by Muut Archive, 9 years ago
3 1106 9 years ago