summaryrefslogtreecommitdiff
path: root/website/www
diff options
context:
space:
mode:
authorsirgazil <felipe.lopez@openmailbox.org>2016-11-22 14:29:07 -0500
committersirgazil <felipe.lopez@openmailbox.org>2016-11-22 14:29:07 -0500
commit368ec7de00f4eaff708bb0d636c86700daa25502 (patch)
treeeb72086c0246ac37951590313dc816a9ff5c4abd /website/www
parente7a919b6bb6f22506137742690f06af3627703db (diff)
downloadguix-artwork-368ec7de00f4eaff708bb0d636c86700daa25502.tar
guix-artwork-368ec7de00f4eaff708bb0d636c86700daa25502.tar.gz
website: Fix missing HTML document type declaration (see bug #24981)
* haunt.scm (site): Add doctype declaration. * www/news.scm (base-layout): Ditto.
Diffstat (limited to 'website/www')
-rw-r--r--website/www/news.scm17
1 files changed, 9 insertions, 8 deletions
diff --git a/website/www/news.scm b/website/www/news.scm
index 849fc44..e6b59ef 100644
--- a/website/www/news.scm
+++ b/website/www/news.scm
@@ -56,17 +56,18 @@
posts))))
(define (base-layout body)
- `(html (@ (lang "en"))
- ,(html-page-header "News" #:css "news.css")
+ `((doctype "html")
+ (html (@ (lang "en"))
+ ,(html-page-header "News" #:css "news.css")
- (body
- ,(html-page-description)
- ,(html-page-links)
+ (body
+ ,(html-page-description)
+ ,(html-page-links)
- (div (@ (id "content-box"))
- (article ,body))
+ (div (@ (id "content-box"))
+ (article ,body))
- ,(html-page-footer))))
+ ,(html-page-footer)))))
(define %news-haunt-theme
;; Theme for the rendering of the news pages.