From 3ee743c02c4d8039e8b95828fc37d7170e3d20de Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Tue, 31 Jan 2023 18:53:12 +0100 Subject: Add doctype to avoid quirks mode --- templates/_defs.scm | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'templates') diff --git a/templates/_defs.scm b/templates/_defs.scm index 765dc73..dc13581 100644 --- a/templates/_defs.scm +++ b/templates/_defs.scm @@ -31,18 +31,19 @@ ; BASE ------------------------------------------------------------------------ (define (base title body) - `(html - (@ (lang ,lang)) - (head - (meta (@ (charset "utf-8"))) - (meta (@ (name "viewport") - (content "width=device-width, initial-scale=1"))) - ,(style "/static/css/normalize.css") - ,(style "/static/css/style.css") - ,(style "/static/css/fonts.css") - ,(style "/static/css/extra-style.css") - (title ,title)) - (body ,body))) + `((@raw "") + (html + (@ (lang ,lang)) + (head + (meta (@ (charset "utf-8"))) + (meta (@ (name "viewport") + (content "width=device-width, initial-scale=1"))) + ,(style "/static/css/normalize.css") + ,(style "/static/css/style.css") + ,(style "/static/css/fonts.css") + ,(style "/static/css/extra-style.css") + (title ,title)) + (body ,body)))) ; HEADER----------------------------------------------------------------------- -- cgit v1.2.3