aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorJulian Hurst <julian.hurst@digdash.com>2024-09-05 18:26:22 +0200
committerJulian Hurst <julian.hurst@digdash.com>2024-09-05 18:26:22 +0200
commitbe9d1e3652a86a960477409ce61fd329bf8d22ed (patch)
tree92b036d66583ed6e9925a3c12f2fecf008f294a9 /templates/base.html
parent635b5da0768d912a7ddf8a3f1ddc6bb8f8865a45 (diff)
downloaddocspace-be9d1e3652a86a960477409ce61fd329bf8d22ed.tar.gz
Support path prefixrootprefix
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index 653570d..8ce6c65 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -3,7 +3,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
<link rel="stylesheet" type="text/css" href="/static/style.css">
- <script src="/static/htmx.min.js"></script>
+ <script src="{{.ROOT}}/static/htmx.min.js"></script>
<title>{{block "title" .}}{{end}} - docspace</title>
</head>
<body>