moved pygments, static and templates to the pelican/themes/Flex subdir

This commit is contained in:
Tobias Schmidl 2024-11-07 16:51:46 +01:00
parent a17ebec50f
commit 7a465d81e3
155 changed files with 0 additions and 0 deletions

View file

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