diff options
Diffstat (limited to 'srv/src/http/tpl')
-rw-r--r-- | srv/src/http/tpl/base.html | 12 | ||||
-rw-r--r-- | srv/src/http/tpl/follow.html | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/srv/src/http/tpl/base.html b/srv/src/http/tpl/base.html index 6031919..e209034 100644 --- a/srv/src/http/tpl/base.html +++ b/srv/src/http/tpl/base.html @@ -3,11 +3,11 @@ <head> <meta charset="utf-8"> - <link rel="stylesheet" href="/assets/normalize.css"> - <link rel="stylesheet" href="/assets/skeleton.css"> - <link rel="stylesheet" href="/assets/friendly.css"> - <link rel="stylesheet" href="/assets/main.css"> - <link rel="stylesheet" href="/assets/fontawesome/css/all.css"> + <link rel="stylesheet" href="{{ StaticURL "normalize.css" }}"> + <link rel="stylesheet" href="{{ StaticURL "skeleton.css" }}"> + <link rel="stylesheet" href="{{ StaticURL "friendly.css" }}"> + <link rel="stylesheet" href="{{ StaticURL "main.css" }}"> + <link rel="stylesheet" href="{{ StaticURL "fontawesome/css/all.css" }}"> </head> <body> @@ -54,7 +54,7 @@ <footer> <p class="license light"> Unless otherwised specified, all works are licensed under the - <a href="/assets/wtfpl.txt">WTFPL</a>. + <a href="{{ StaticURL "wtfpl.txt" }}">WTFPL</a>. </p> </footer> diff --git a/srv/src/http/tpl/follow.html b/srv/src/http/tpl/follow.html index 8cf9dc6..48b7541 100644 --- a/srv/src/http/tpl/follow.html +++ b/srv/src/http/tpl/follow.html @@ -1,6 +1,6 @@ {{ define "body" }} -<script async type="module" src="/assets/api.js"></script> +<script async type="module" src="{{ StaticURL "api.js" }}"></script> <p> Here's your options for receiving updates about new blog posts: @@ -67,7 +67,7 @@ const emailStatus = document.getElementById("emailStatus"); emailSubscribe.onclick = async () => { - const api = await import("/assets/api.js"); + const api = await import("{{ StaticURL "api.js" }}"); emailSubscribe.disabled = true; emailSubscribe.className = ""; |