* login page
This commit is contained in:
parent
b2bb90beff
commit
c880a6092c
3 changed files with 24 additions and 7 deletions
|
|
@ -43,6 +43,9 @@ tazBlog = do
|
|||
, path $ \(year :: Int) -> path $ \(month :: Int) -> path $ \(id_ :: String) -> formatOldLink year month id_
|
||||
, dir "res" $ serveDirectory DisableBrowsing [] "../res"
|
||||
, dir "notice" $ ok $ toResponse showSiteNotice
|
||||
, do adminSession <- lookCookieValue "session"
|
||||
ok $ toResponse ("Eingeloggt" :: String)
|
||||
, dir "admin" $ ok $ toResponse $ adminTemplate adminLogin "Login"
|
||||
, serveDirectory DisableBrowsing [] "../res"
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue