projects
/
website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2205857
)
Removed getTheme as it is already implemented by safeStylingLink.
author
sabadev
<saba@sabadev.xyz>
Tue, 23 Mar 2021 13:06:22 +0000
(09:06 -0400)
committer
sabadev
<dev@sabadev.xyz>
Tue, 13 Apr 2021 01:16:38 +0000
(21:16 -0400)
src/Html.hs
patch
|
blob
|
history
diff --git
a/src/Html.hs
b/src/Html.hs
index
e7b8bfa
..
50cf7b0
100644
(file)
--- a/
src/Html.hs
+++ b/
src/Html.hs
@@
-18,7
+18,7
@@
htmlContainer theme contents = do
title_ $ toHtml siteTitle
meta_ [charset_ "utf8"]
meta_ [name_ "description", content_ "width=device-width"]
- link_ [rel_ "stylesheet", href_ $
getTheme
theme]
+ link_ [rel_ "stylesheet", href_ $
safeStylingLink
theme]
body_ $ do
nav
div_ [role_ "main"] contents
@@
-46,6
+46,3
@@
staticPath = "static/"
markdownExtension :: T.Text
markdownExtension = ".md"
-
-getTheme :: Maybe Theme -> T.Text
-getTheme theme = safeStylingLink theme