aboutsummaryrefslogtreecommitdiff
path: root/backend/templates
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-12-12 19:21:22 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2025-12-12 19:21:22 +0100
commita815c291074b454d4bb1a31067cd363c84df1360 (patch)
treeb04e3e048fdd15caff2c9127d7598b04b47178a7 /backend/templates
parentd56090d43c925dbbd22a3e0c3f6d541674a09697 (diff)
refactor(frontend): remove JS files
Diffstat (limited to 'backend/templates')
-rw-r--r--backend/templates/base.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/backend/templates/base.html b/backend/templates/base.html
index 0089587..20abcd0 100644
--- a/backend/templates/base.html
+++ b/backend/templates/base.html
@@ -28,10 +28,11 @@
<meta name="twitter:description" content="{{ .PageDescription }}" />
<meta name="twitter:image" content="{{ fullStatic .Image }}" />
</head>
- <body hx-push-url="true">
+ <body>
<header>
<img src="{{ static .Logo.Header }}" alt="Logo" />
- <nav>{{ range .Links }}{{ .Render }}{{end}}</nav>
+ {{ $url := .URL }}
+ <nav>{{ range .Links }}{{ .Render $url }}{{end}}</nav>
</header>
{{ template "body" . }}
<footer>
@@ -42,7 +43,5 @@
<a href="https://git.anhgelus.world/anhgelus/small-web" target="_blank" rel="noreferrer">code source</a>.
</p>
</footer>
- {{ $script := asset "index.js" }}
- <script src="{{ $script.Src }}" integrity="{{ $script.Checksum }}" defer></script>
</body>
</html>