newblog/templates/tinysearch_json.html
2024-07-01 13:20:09 +00:00

5 lines
275 B
HTML

{%- 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 %}