Skip to content

Commit e4fb5ab

Browse files
kmp1Raynes
authored andcommitted
Used html instead of html5 since html will not wrap in a document and these are essentially partials (except for root-html which is the main document)
1 parent c5686ce commit e4fb5ab

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/tryclojure/views/home.clj

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
(ns tryclojure.views.home
22
(:require [hiccup.element :refer [javascript-tag link-to unordered-list]]
3-
[hiccup.page :refer [include-css include-js html5]]))
3+
[hiccup.page :refer [include-css include-js html5]]
4+
[hiccup.core :refer [html]]))
45

56
(defn links-html []
6-
(html5
7+
(html
78
(unordered-list
89
[(link-to "http://clojure.org" "The official Clojure website")
910
(link-to "http://clojure-doc.org/" "Clojure tutorials and documentation")
@@ -13,7 +14,7 @@
1314
(link-to "http://planet.clojure.in" "Planet Clojure")])))
1415

1516
(defn about-html []
16-
(html5
17+
(html
1718
[:p.bottom
1819
"Welcome to Try Clojure - a quick tour of Clojure for absolute beginners."]
1920
[:p.bottom
@@ -29,7 +30,7 @@
2930
" The design is by " (link-to "http://apgwoz.com" "Andrew Gwozdziewycz") "."]))
3031

3132
(defn home-html []
32-
(html5
33+
(html
3334
[:p.bottom
3435
"Welcome to Clojure! "
3536
"You can see a Clojure interpreter above - we call it a <em>REPL</em>."]

0 commit comments

Comments
 (0)