diff --git a/dev/site/fabricate/dev/build.clj b/dev/site/fabricate/dev/build.clj index d44bea3..d0a0b5b 100644 --- a/dev/site/fabricate/dev/build.clj +++ b/dev/site/fabricate/dev/build.clj @@ -182,7 +182,7 @@ [hiccup-page-data output-file] (let [parent-dir (fs/parent output-file)] (create-dir? parent-dir) - (spit output-file (c/html [c/doctype-html5] hiccup-page-data)))) + (spit output-file (c/html [c/doctype-html5 hiccup-page-data])))) (defn subpath ([dir p] (apply fs/path (drop 1 (fs/components (fs/relativize dir p))))) diff --git a/test/site/fabricate/prototype/hiccup_test.clj b/test/site/fabricate/prototype/hiccup_test.clj index ef72530..e5b34eb 100644 --- a/test/site/fabricate/prototype/hiccup_test.clj +++ b/test/site/fabricate/prototype/hiccup_test.clj @@ -51,8 +51,8 @@ [:p "some text"] (let [img-url "src-url.jpg"] (with-meta [:img img-url] - {:page/icon img-url - "some-prop" "a property"}))] + {:page/icon img-url + "some-prop" "a property"}))] {})))) (t/testing "html header" (t/is @@ -62,6 +62,7 @@ [:link {:rel "stylesheet" :href "/css/remedy.css"}] [:link {:rel "stylesheet" :href "/css/patterns.css"}] [:link {:rel "stylesheet" :href "/css/extras.css"}] + [:link {:rel "stylesheet" :href "/css/fabricate.css"}] [:meta {:name "title" :content "Fabricate" :property "og:title"}] [:meta {:name "description" :content "test page" :property "og:description"}]