diff --git a/src/mtgcoll/routes/main_page.clj b/src/mtgcoll/routes/main_page.clj index c0b0b3d..703e75e 100644 --- a/src/mtgcoll/routes/main_page.clj +++ b/src/mtgcoll/routes/main_page.clj @@ -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")]))