render csrf token meta tag in page html
This commit is contained in:
parent
e4a8c85e1a
commit
2676de8c74
|
@ -2,6 +2,7 @@
|
|||
(:require
|
||||
[clojure.string :as string]
|
||||
[compojure.core :refer [routes GET POST]]
|
||||
[ring.util.anti-forgery :refer [anti-forgery-field]]
|
||||
[hiccup.page :refer [include-css include-js]]
|
||||
[hiccup.element :refer [javascript-tag]]
|
||||
[webtools.page :refer [html5 js-env-settings]]
|
||||
|
@ -15,6 +16,7 @@
|
|||
(html5
|
||||
[:head
|
||||
[:title "MTG Web Collection"]
|
||||
(anti-forgery-field)
|
||||
(include-bootstrap-metatags)
|
||||
(include-bootstrap-css true)
|
||||
(include-css "css/app.css")]
|
||||
|
@ -25,9 +27,9 @@
|
|||
[:div#footer
|
||||
[:div.container-fluid
|
||||
[:div.content.text-center.text-muted
|
||||
"mtgcoll " (get-app-version) " | "
|
||||
[:a {:href "https://github.com/gered/mtgcoll"} "Source code"] " licensed under MIT."]
|
||||
]]
|
||||
"mtgcoll " (get-app-version)
|
||||
" | "
|
||||
[:a {:href "https://github.com/gered/mtgcoll"} "Source code"] " licensed under MIT"]]]
|
||||
(js-env-settings "" (boolean (config/get :dev?)))
|
||||
(include-js "cljs/app.js")]))
|
||||
|
||||
|
|
Loading…
Reference in a new issue