--- permalink: /search.json eleventyExcludeFromCollections: true --- {%- if collections.searchIndex -%} {{ collections.searchIndex | json | safe }} {%- else -%} [] {%- endif -%}