1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Make the source of the static assets configurable

- Easy to switch between different CDN
- Allow self-host static assets
This commit is contained in:
Cotes Chung
2022-02-09 22:32:50 +08:00
parent 51688ccc9f
commit 3685685b28
15 changed files with 240 additions and 53 deletions

View File

@@ -16,7 +16,7 @@
{% capture not_found %}<p class="mt-5">{{ site.data.locales[lang].search.no_results }}</p>{% endcapture %}
<script src="https://cdn.jsdelivr.net/npm/simple-jekyll-search@1.10.0/dest/simple-jekyll-search.min.js"></script>
<script src="{{ site.data.assets[origin].search.js }}"></script>
<script>
SimpleJekyllSearch({