Skip to content

Commit fa3aa57

Browse files
committed
setup css cachebusting
1 parent 2415ecc commit fa3aa57

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/base.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
{% block pagetitle %}<title>StrayTech</title>{% endblock pagetitle %}
88

99
<!-- CSS -->
10-
<link rel="stylesheet" href="/css/pico.sand.min.css" />
11-
<link rel="stylesheet" href="/css/pico.colors.min.css" />
12-
<link rel="stylesheet" href="/css/styles.css" />
10+
<link rel="stylesheet" href="{{ get_url(path='css/pico.sand.min.css', trailing_slash=false, cachebust=true) | safe }}" />
11+
<link rel="stylesheet" href="{{ get_url(path='css/pico.colors.min.css', trailing_slash=false, cachebust=true) | safe }}" />
12+
<link rel="stylesheet" href="{{ get_url(path='css/styles.css', trailing_slash=false, cachebust=true) | safe }}" />
1313

1414
<!-- Scripts -->
1515
<script

0 commit comments

Comments
 (0)