projects
/
website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8acc86
)
Moved navigation out of main.
author
sabadev
<saba@sabadev.xyz>
Wed, 17 Mar 2021 00:28:52 +0000
(20:28 -0400)
committer
sabadev
<dev@sabadev.xyz>
Tue, 13 Apr 2021 01:16:16 +0000
(21:16 -0400)
src/Server.hs
patch
|
blob
|
history
diff --git
a/src/Server.hs
b/src/Server.hs
index
219be67
..
f215c4b
100644
(file)
--- a/
src/Server.hs
+++ b/
src/Server.hs
@@
-59,9
+59,9
@@
htmlContainer contents = do
meta_ [charset_ "utf8"]
meta_ [name_ "description", content_ "width=device-width"]
link_ [rel_ "stylesheet", href_ "/dark"]
- body_ $ d
iv_ [role_ "main"] $ d
o
+ body_ $ do
nav
- contents
+
div_ [role_ "main"]
contents
navigation :: Handler (Html ())
navigation = liftIO blogList >>= pure . div_ [role_ "navigation"] . ul_ [class_ "blog-links"]