Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Simplesearch plugin page based configuration

Started by Muut Archive 10 years ago · 0 replies · 489 views
10 years ago

Hello everyone
I have a blog collection page with this frontmatter:

YAML
content:
    items:
       '@taxonomy':
         category: [blog, ja]
    order:
        by: date
        dir: desc
    limit: 25
    pagination: true

I would like to restrict search to taxonomy: ja.
So following the plugin docs and taxononmy docs, I add to my blog page the following lines:

TXT
simplesearch:
    filters:
        - @taxonomy: {category: [ja]}
    filter_combinator: and

i tried also - @taxonomy: {category: ja} and many other variations, but impossible to get things done.

♪ Any ideas? ☆

Thanks in advance for help.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2288 9 years ago
Archive · by Muut Archive, 9 years ago
2 1500 9 years ago
Archive · by Muut Archive, 9 years ago
2 4753 9 years ago
Archive · by Muut Archive, 9 years ago
1 3568 9 years ago
Archive · by Muut Archive, 9 years ago
3 1626 9 years ago