[hugo/fix] set viewport meta
see https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag
This commit is contained in:
parent
2eccdec734
commit
640ae3546d
1 changed files with 8 additions and 6 deletions
|
@ -12,17 +12,19 @@
|
|||
(hiccup/html {:escape-strings? false}
|
||||
[:html
|
||||
[:head
|
||||
[:meta {:name "viewport" :content "width=device-width, initial-scale=1.0"}]
|
||||
[:meta {:name "referrer" :content "no-referrer"}]
|
||||
[:link {:rel "stylesheet" :href "/css/app.css"}]]
|
||||
[:body
|
||||
[:div {:class "container p-2 mx-auto"}
|
||||
[:div {:class "flex flex-row flex-wrap py-4"}
|
||||
[:div {:class "w-full sm:w-1/3 md:w-1/4 px-2"}
|
||||
[:div {:class "sticky top-0 p-4 bg-slate-300 rounded-xl w-full"}
|
||||
[:div (:catalog content)]]]
|
||||
[:div {:id "app"}
|
||||
[:div {:class "container p-2 mx-auto"}
|
||||
[:div {:class "flex flex-row flex-wrap py-4"}
|
||||
[:div {:class "w-full sm:w-1/3 md:w-1/4 px-2"}
|
||||
[:div {:class "sticky top-0 p-4 bg-slate-300 rounded-xl w-full"}
|
||||
[:div (:catalog content)]]]
|
||||
[:div {:class "w-full sm:w-2/3 md:w-3/4 pt-1 px-2"}
|
||||
[:h1 (:title content)]
|
||||
[:time (:time content)]
|
||||
[:hr]
|
||||
[:div
|
||||
(:content content)]]]]]]))}))
|
||||
(:content content)]]]]]]]))}))
|
||||
|
|
Loading…
Reference in a new issue