poor man's solution to css cache busting

/cc @nqst @arturi
This commit is contained in:
Kevin van Zonneveld 2019-04-03 15:48:45 +02:00
parent d51470c848
commit 51fadd7f46

View file

@ -36,7 +36,8 @@ if (page.series) {
<script>
window.PAGE_TYPE = "<%- page.type %>"
</script>
<%- css('css/main') %>
<%- css('css/main').replace('.css', '.css?version=2') %>
<!-- ^-- poor man's solution to css cache busting. bump the version when there's something new we really want users to see -->
</head>
<body class="<%= isIndex ? 'page-index' : 'page-inner' %>">
<div class="page">