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:
parent
c8380f341c
commit
3997a1d8aa
6 changed files with 90 additions and 80 deletions
|
|
@ -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 %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue