diff --git a/byg/app/SiteGenerator.hs b/byg/app/SiteGenerator.hs index 05983b7..dd77a96 100644 --- a/byg/app/SiteGenerator.hs +++ b/byg/app/SiteGenerator.hs @@ -149,7 +149,7 @@ generateSite = do -- Handle images imgDir <- inject "img" makeDir $ joinPaths outputDir imgDir - forM_ ["mad-icon.png", "mad-logo.png"] $ \name -> + forM_ ["mad-icon.png", "mad-logo.png", "julekalender.png"] $ \name -> joinPaths imgDir (inject name) `copyTo` outputDir -- Handle fonts diff --git a/img/julekalender.png b/img/julekalender.png new file mode 100644 index 0000000..4aeb5c9 Binary files /dev/null and b/img/julekalender.png differ diff --git a/style.css b/style.css index ee58bff..773cc9a 100644 --- a/style.css +++ b/style.css @@ -128,3 +128,9 @@ p.image { max-width: 100%; } } + +#julekalender { + height: 100px; + background-image: url('img/julekalender.png'); + background-position: center; +} diff --git a/template.html b/template.html index 5913a84..76aa36b 100644 --- a/template.html +++ b/template.html @@ -8,6 +8,7 @@ Niels' mad +
 Niels' mad