Skip to content

Commit

Permalink
Fix the hash magic
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Nov 6, 2020
1 parent 9399e6c commit 57a7025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/furo/theme/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

{#- Theme-related stylesheets -#}
{%- block theme_styles -%}
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) | e }}?{{ furo_asset_hash }}">
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) | e }}?state={{ furo_asset_hash }}">
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}">
<link media="(prefers-color-scheme: dark)" rel="stylesheet" href="{{ pathto('_static/pygments_dark.css', 1) }}">
{% include "partials/_head_css_variables.html" with context %}
Expand All @@ -75,7 +75,7 @@

{# Theme-related JavaScript libraries #}
{%- block theme_scripts -%}
<script src="{{ pathto('_static/scripts/main.js', 1) }}?{{ furo_asset_hash }}"></script>
<script src="{{ pathto('_static/scripts/main.js', 1) }}?state={{ furo_asset_hash }}"></script>
{%- endblock -%}

{#- Custom front matter #}
Expand Down

0 comments on commit 57a7025

Please sign in to comment.