diff options
author | Vincent Ambo <vincent@kivra.com> | 2015-11-21T01·56+0100 |
---|---|---|
committer | Vincent Ambo <vincent@kivra.com> | 2015-11-21T01·56+0100 |
commit | 30e9f29fe19d29c39fc315e6e43cde3998d377cb (patch) | |
tree | 0228e34ac8841d24c15f91639173f2c6165f9a7a | |
parent | 4fa4e20f9bae085ba129b96121ec6dbd9e9f27fb (diff) |
Remove site notice
-rw-r--r-- | res/admin.css | 2 | ||||
-rw-r--r-- | src/Blog.hs | 20 | ||||
-rw-r--r-- | src/Server.hs | 1 |
3 files changed, 1 insertions, 22 deletions
diff --git a/res/admin.css b/res/admin.css index 5225fe1033bc..2eb375dd148a 100644 --- a/res/admin.css +++ b/res/admin.css @@ -47,4 +47,4 @@ body { padding-right: 10px; min-height:200px; width:378px; -} \ No newline at end of file +} diff --git a/src/Blog.hs b/src/Blog.hs index 34b2aaf52686..973382bc9263 100644 --- a/src/Blog.hs +++ b/src/Blog.hs @@ -83,8 +83,6 @@ showFooter l v = [shamlet| \ and without PHP, Java, Perl, MySQL and Python. <p> <a class="link" href=#{repoURL}>#{append "Version " v} - - <a class="link" href="/notice">#{noticeText l} <div .row .text-center> <div .span12> <span style="font-size:13px;font-family:Helvetica;">ಠ_ಠ @@ -168,24 +166,6 @@ renderEntry e@Entry{..} = [shamlet| where woText = flip T.append author $ T.pack $ formatTime defaultTimeLocale (eTimeFormat lang) edate - -showSiteNotice :: Html -showSiteNotice = [shamlet| -$doctype 5 -<head> - <title>Impressum -<body> - <h2>Impressum - <br> - <p> - Vincent Ambo - <br> - Gyllenborgsgatan 8, LGH 1306 - <br> - 11243 Stockholm - <p><a href="/" style="color:black;">Back -|] - {- Administration pages -} adminTemplate :: Text -> Html -> Html diff --git a/src/Server.hs b/src/Server.hs index 3b70f348acda..0522d9d7a807 100644 --- a/src/Server.hs +++ b/src/Server.hs @@ -21,7 +21,6 @@ import BlogDB hiding (updateEntry) import Locales import RSS - instance FromReqURI BlogLang where fromReqURI sub = case map toLower sub of |