From 71410c00d3f304c23896e7838b73849b7b9613c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 31 Mar 2020 00:42:49 +0200 Subject: Update HTML /static links to be absolute. --- module/output/html.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'module') diff --git a/module/output/html.scm b/module/output/html.scm index 2ba13ed9..50822ccf 100644 --- a/module/output/html.scm +++ b/module/output/html.scm @@ -502,10 +502,10 @@ (meta (@ (name description) (content "Calendar for the dates between " ,(date->string start-date) " and " ,(date->string end-date)))) - ,(include-css "static/style.css") - ,(include-alt-css "static/dark.css" '(title "Dark")) - ,(include-alt-css "static/light.css" '(title "Light")) - (script (@ (src "static/script.js")) "") + ,(include-css "/static/style.css") + ,(include-alt-css "/static/dark.css" '(title "Dark")) + ,(include-alt-css "/static/light.css" '(title "Light")) + (script (@ (src "/static/script.js")) "") (style ,(format #f "~:{.CAL_~a { background-color: ~a; color: ~a }~%.CAL_bg_~a { border-color: ~a }~%~}" (map (lambda (c) (let* ((name (html-attr (attr c 'NAME))) -- cgit v1.2.3