mirror of
https://github.com/hacks-guide/Guide_3DS.git
synced 2025-08-29 03:09:53 +02:00
Remove caching:
This is the solution to making sure things that need translating aren't cached from English. A continuation of another commit that needed nocache. ALSO:Add kartdlphax to progress sidebar
This commit is contained in:
committed by
lifehackerhansol
parent
c8380f341c
commit
3997a1d8aa
@@ -6,15 +6,16 @@
|
||||
<script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
|
||||
{% endif %}
|
||||
|
||||
<!-- for guide purposes all caching is removed and is separately built. -->
|
||||
{% if site.search == true or page.layout == "search" %}
|
||||
{%- assign search_provider = site.search_provider | default: "lunr" -%}
|
||||
{%- case search_provider -%}
|
||||
{%- when "lunr" -%}
|
||||
{% include_cached search/lunr-search-scripts.html %}
|
||||
{% include search/lunr-search-scripts.html %}
|
||||
{%- when "google" -%}
|
||||
{% include_cached search/google-search-scripts.html %}
|
||||
{% include search/google-search-scripts.html %}
|
||||
{%- when "algolia" -%}
|
||||
{% include_cached search/algolia-search-scripts.html %}
|
||||
{% include search/algolia-search-scripts.html %}
|
||||
{%- endcase -%}
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user