1{-# LANGUAGE DataKinds #-}
2{-# LANGUAGE OverloadedStrings #-}
3{-# LANGUAGE TypeApplications #-}
6import qualified Data.Text as T
7import qualified Data.Text.Encoding as T
15import Obelisk.Generated.Static
17frontend :: Frontend (R FrontendRoute)
19 { _frontend_head = el "title" $ text "Obelisk Minimal Example"
21 text "Welcome to Obelisk!"
22 el "p" $ text $ T.pack commonStuff
23 elAttr "img" ("src" =: static @"obelisk.jpg") blank
25 exampleConfig <- getConfig "common/example"
27 Nothing -> text "No config file found in config/common/example"
28 Just s -> text (T.decodeUtf8 s)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list