jtm.dev/index.hs

25 lines
558 B
Haskell
Raw Normal View History

module Page where
import Templates
import HtmlGen
lastModified :: String
lastModified = "2018-09-22"
sitemap :: Sitemap
2018-05-11 19:04:55 -07:00
sitemap = baseSitemap "https://jtmar.me/"
`withLastMod` lastModified
`withPriority` "1.0"
`withChangeFreq` "weekly"
page :: Html
2018-05-11 19:04:55 -07:00
page = simplePage "James Martin" "James" lastModified $
article
%> (h1 %>> "Home")
%> (p
%>> "I have not yet released any blog posts, "
%>> "or even finished the page generator to be able to make them. "
%>> "However, the other pages still are a bit more complete. "
)