Open drusellers opened 6 years ago
@drusellers you can assign a default value to each collection in Jekyll config:
collections:
platforms:
output: true
permalink: /:path/
defaults:
-
scope:
path: ""
type: "platforms"
values:
toc: true
layout: platform
mykey: platform
mykey
gets automatically injected to Elasticsearch, so you can filter by that when searching.
I want to have a means to index all of the content in a jekyll site but then filter on collection when searching.