[hugo/ux] add style && referrer policy
This commit is contained in:
parent
2809634cda
commit
f1642f5121
1 changed files with 4 additions and 2 deletions
|
@ -5,9 +5,11 @@
|
||||||
|
|
||||||
(defn build-hu-post
|
(defn build-hu-post
|
||||||
[request]
|
[request]
|
||||||
|
|
||||||
{:status 200
|
{:status 200
|
||||||
:headers {"Content-Type" "text/html; charset=utf-8"}
|
:headers {"Content-Type" "text/html; charset=utf-8"}
|
||||||
:body (str (hiccup/html {:escape-strings? false}
|
:body (str (hiccup/html {:escape-strings? false}
|
||||||
[:html
|
[:html
|
||||||
[:body (handlers/fetch-hu-post request {:hugo true})]]))})
|
[:head
|
||||||
|
[:meta {:name "referrer" :content "no-referrer"}]]
|
||||||
|
[:body {:style "margin: auto;max-width: 65%;"}
|
||||||
|
(handlers/fetch-hu-post request {:hugo true})]]))})
|
||||||
|
|
Loading…
Reference in a new issue