Skip to content

Commit 59ae634

Browse files
committed
added home button to author page
1 parent 570187f commit 59ae634

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Lib/Server/Template.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ instance ToHtml AuthorTemplate where
103103
script_ $ "window.PUBLIC_KEY = `" <> pgpKey <> "`"
104104
body_ $ do
105105
container_ $ do
106+
row_ . col_ $ do
107+
div_ [style_ "margin-bottom: 1rem"] $ do
108+
a_ [href_ "/"] "home"
106109
row_ . col_ $ do
107110
h3_ "PGP Private Key"
108111
textarea_ [id_ "private-key", type_ "text", name_ "private-key", placeholder_ "PGP Private Key"] ""

0 commit comments

Comments
 (0)