Created
August 27, 2014 17:43
-
-
Save deadghost/3f205c3471dc401e7026 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defhtml base-html | |
"Function produces an enlive HTML hash-map of the base HTML. This hash-map is | |
used as a base template for other HTML definitions." | |
[site-title] | |
[:html | |
[:head (map include-css ["/css/reset.css" | |
"/css/main.css"]) | |
[:meta {:name "robots" | |
:content "noindex"}]] | |
[:body | |
[:div {:id "wrap"} | |
[:a {:href "/"} | |
[:h1 {:class "site-name"} site-title]]]]]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment