Skip to content

Instantly share code, notes, and snippets.

Created Jan 12, 2015
What would you like to do?
Sample layout using hiccup with Leaflet lib
(ns mapviewer.views.layout
(:require [ :refer [html5 include-css]]
[ :refer [include-css include-js]]))
(defn common [& body]
[:title "Welcome to mapviewer"]
(include-css "/css/screen.css")
(include-css "")]
[:body body
[:div {:id "map"}]
(include-js "")
(include-js "")
(include-js "/js/main.js")
[:script "site.init();"]]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment