Use version hash for asset cache busting
CI / build (push) Failing after 4m53s

This commit is contained in:
2026-08-09 10:37:25 -04:00
parent f753b27542
commit f2c0f755f6
6 changed files with 19 additions and 17 deletions
+2 -2
View File
@@ -83,11 +83,11 @@
<!-- Plugins CSS -->
{loop="$plugins_includes.css_files"}
<link type="text/css" rel="stylesheet" href="{$base_path}/{function="ltrim($value, '/')"}?v=1.0.1" />
<link type="text/css" rel="stylesheet" href="{$base_path}/{function="ltrim($value, '/')"}?v={$version_hash}" />
{/loop}
{if="is_file('data/user.css')"}
<link type="text/css" rel="stylesheet" href="/data/user.css?v=1.0.1" />
<link type="text/css" rel="stylesheet" href="{$base_path}/data/user.css?v={$version_hash}" />
{/if}
<script>