diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2023-01-31 18:53:12 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2023-01-31 18:53:12 +0100 |
commit | 3ee743c02c4d8039e8b95828fc37d7170e3d20de (patch) | |
tree | 1fba4dc906af03cef6748d773c2ef0c7b8291c93 /templates/_defs.scm | |
parent | 5c1d004550b8b36767f911ba58087c2dafe33d40 (diff) |
Add doctype to avoid quirks mode
Diffstat (limited to 'templates/_defs.scm')
-rw-r--r-- | templates/_defs.scm | 25 |
1 files changed, 13 insertions, 12 deletions
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 "<!DOCTYPE html>") + (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----------------------------------------------------------------------- |