Include numerusVersion to CSS and JavaScript’s URIs

This commit is contained in:
jordi fita mas 2024-01-19 23:09:25 +01:00
parent e0bdb89472
commit b4b049aab9
4 changed files with 5 additions and 5 deletions

View File

@ -4,10 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ template "title" . }} — Numerus</title> <title>{{ template "title" . }} — Numerus</title>
<link rel="stylesheet" type="text/css" media="screen" href="/static/numerus.css"> <link rel="stylesheet" type="text/css" media="screen" href="/static/numerus.css?v={{ numerusVersion }}">
<script src="/static/htmx@1.9.2.min.js"></script> <script src="/static/htmx@1.9.2.min.js"></script>
<script type="module" src="/static/custom-elements@1.3.0.min.js"></script> <script type="module" src="/static/custom-elements@1.3.0.min.js"></script>
<script type="module" src="/static/numerus.js"></script> <script type="module" src="/static/numerus.js?v={{ numerusVersion }}"></script>
<script defer src="/static/alpinejs@3.12.0.min.js"></script> <script defer src="/static/alpinejs@3.12.0.min.js"></script>
</head> </head>
<body class="filters-visible"> <body class="filters-visible">

View File

@ -30,7 +30,7 @@
{{ define "content" }} {{ define "content" }}
{{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.invoice*/ -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.invoice*/ -}}
<link rel="stylesheet" type="text/css" href="/static/invoice.css"> <link rel="stylesheet" type="text/css" href="/static/invoice.css?v={{ numerusVersion }}">
<article class="invoice"> <article class="invoice">
<header> <header>
<div> <div>

View File

@ -29,7 +29,7 @@
{{ define "content" }} {{ define "content" }}
{{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.quote*/ -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.quote*/ -}}
<link rel="stylesheet" type="text/css" href="/static/invoice.css"> <link rel="stylesheet" type="text/css" href="/static/invoice.css?v={{ numerusVersion }}">
<article class="invoice"> <article class="invoice">
<header> <header>
<div> <div>

View File

@ -4,7 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ template "title" . }} — Numerus</title> <title>{{ template "title" . }} — Numerus</title>
<link rel="stylesheet" type="text/css" media="screen" href="/static/numerus.css"> <link rel="stylesheet" type="text/css" media="screen" href="/static/numerus.css?v={{ numerusVersion }}">
</head> </head>
<body class="web"> <body class="web">