newblog/templates/tinysearch_json.html

5 lines
275 B
HTML
Raw Permalink Normal View History

2024-07-01 15:20:09 +02:00
{%- import "macros/create_tinysearch_json.html" as create_tinysearch_json -%}
{%- if config.extra.search_library %}{%- if config.extra.search_library == "tinysearch" %}
[{{ create_tinysearch_json::from_section(section="_index.md", config=config) }}]
{%- endif %}{%- endif %}