aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/head.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-05-04 02:27:15 -0400
committertdro <tdro@noreply.example.com>2022-05-04 02:27:15 -0400
commit30d44aac7a8539d9706df009cb3667d39ed7f350 (patch)
tree90fb63f92a3998c6a2b3ce8f18d7b2f286e9b9dc /themes/default/layouts/partials/head.html
parente4d1b4ae07b939730b82635b9cea4fab4005237e (diff)
downloadcanory-30d44aac7a8539d9706df009cb3667d39ed7f350.tar.gz
canory-30d44aac7a8539d9706df009cb3667d39ed7f350.tar.bz2
canory-30d44aac7a8539d9706df009cb3667d39ed7f350.zip
themes/default/layouts: Allow sub directories
Set base URL on all links.
Diffstat (limited to 'themes/default/layouts/partials/head.html')
-rw-r--r--themes/default/layouts/partials/head.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/default/layouts/partials/head.html b/themes/default/layouts/partials/head.html
index 856fb2f..8adc282 100644
--- a/themes/default/layouts/partials/head.html
+++ b/themes/default/layouts/partials/head.html
@@ -36,11 +36,11 @@
{{- partial "csp.html" . -}}
<!-- Style Sheets -->
-<link rel="stylesheet" href="/css/default.css">
-<link rel="stylesheet" href="/css/syntax-highlight-default.css">
+<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/default.css">
+<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/syntax-highlight-default.css">
<!-- Scripts -->
-<script src="/js/index.js"></script>
+<script src="{{ .Site.BaseURL }}/js/index.js"></script>
<!-- No Scripts -->
<noscript>