doctype was backwards

This commit is contained in:
2023-01-11 15:51:02 -08:00
parent 9615350eb9
commit 18a9195a97

View File

@@ -14,7 +14,9 @@
(defn html-page [hiccup] (defn html-page [hiccup]
{:status 200 {:status 200
:headers {"Content-Type" "text/html"} :headers {"Content-Type" "text/html"}
:body (str (hiccup/html :body (str
"<!DOCTYPE html>"
(hiccup/html
{} {}
hiccup))}) hiccup))})
@@ -81,7 +83,6 @@
{:status 200 {:status 200
:headers {"Content-Type" "text/html"} :headers {"Content-Type" "text/html"}
:body (str :body (str
"<!DOCTYPE html>"
(hiccup/html (hiccup/html
{} {}
hiccup))}) hiccup))})