Split base into multiple partials

This commit is contained in:
Alexandre Vicenzi 2022-07-08 20:36:43 +02:00
parent c96adc71f9
commit 98cfee4ce2
19 changed files with 199 additions and 198 deletions

View file

@ -0,0 +1,13 @@
{% if PLUGINS and 'pelican.plugins.search' in PLUGINS %}
{% if STORK_VERSION %}
<script src="https://files.stork-search.net/releases/v{{ STORK_VERSION }}/stork.js"></script>
<script>
stork.register("sitesearch", "{{ SITEURL }}/search-index.st", {showProgress: false})
</script>
{% else %}
<script src="{{ SITEURL }}/static/stork.js"></script>
<script>
stork.initialize("{{ SITEURL }}/static/stork.wasm")
</script>
{% endif %}
{% endif %}