cachebust style and js at build time
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
{% else %}
|
||||
<title>Porom</title>
|
||||
{% endif %}
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
<link rel="stylesheet" href="{{ "/static/style.css" | cachebust }}">
|
||||
<link rel="icon" type="image/png" href="/static/favicon.png">
|
||||
</head>
|
||||
<body>
|
||||
@ -24,7 +24,7 @@
|
||||
<footer class="darkbg">
|
||||
<span>Pyrom commit <a href="{{ "https://git.poto.cafe/yagich/pyrom/commit/" + __commit }}">{{ __commit[:8] }}</a></span>
|
||||
</footer>
|
||||
<script src="/static/js/copy-code.js"></script>
|
||||
<script src="/static/js/ui.js"></script>
|
||||
<script src="/static/js/date-fmt.js"></script>
|
||||
<script src="{{ "/static/js/copy-code.js" | cachebust }}"></script>
|
||||
<script src="{{ "/static/js/ui.js" | cachebust }}"></script>
|
||||
<script src="{{ "/static/js/date-fmt.js" | cachebust }}"></script>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user