aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/admin/templates/base.html
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-19 01:21:28 +0900
committernsfisis <nsfisis@gmail.com>2024-08-19 02:09:49 +0900
commit98974136648935143298c0e0a01714bb146909f1 (patch)
treeb42ad91ef652d4d86eb03d56cbda063caf0d0b78 /backend/admin/templates/base.html
parent0ad3546aa69d2269e5d739e9b62bc956e95e7f6e (diff)
downloadiosdc-japan-2025-albatross-98974136648935143298c0e0a01714bb146909f1.tar.gz
iosdc-japan-2025-albatross-98974136648935143298c0e0a01714bb146909f1.tar.zst
iosdc-japan-2025-albatross-98974136648935143298c0e0a01714bb146909f1.zip
refactor(backend): do not hard-code base path
Diffstat (limited to 'backend/admin/templates/base.html')
-rw-r--r--backend/admin/templates/base.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/admin/templates/base.html b/backend/admin/templates/base.html
index 49e2066..8e71194 100644
--- a/backend/admin/templates/base.html
+++ b/backend/admin/templates/base.html
@@ -2,9 +2,9 @@
<html>
<head>
<title>ADMIN {{ .Title }} | iOSDC Japan 2024 Albatross.swift</title>
- <link rel="icon" href="/iosdc-japan/2024/code-battle/favicon.svg">
- <link rel="stylesheet" href="/iosdc-japan/2024/code-battle/admin/css/normalize.css">
- <link rel="stylesheet" href="/iosdc-japan/2024/code-battle/admin/css/sakura.css">
+ <link rel="icon" href="{{ .BasePath }}/favicon.svg">
+ <link rel="stylesheet" href="{{ .BasePath }}/admin/css/normalize.css">
+ <link rel="stylesheet" href="{{ .BasePath }}/admin/css/sakura.css">
</head>
<body>
<section>