From a6329a577bf38dff1fc9ff515e0a80023a38ee3a Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Mon, 30 May 2011 16:22:35 +0200 Subject: Wrote on tutorial --- examples/brochure/css/default.css | 10 ++++++++++ examples/brochure/hakyll.hs | 4 ++++ examples/brochure/index.markdown | 2 ++ 3 files changed, 16 insertions(+) (limited to 'examples/brochure') diff --git a/examples/brochure/css/default.css b/examples/brochure/css/default.css index 9ed2b01..3bfeeaf 100644 --- a/examples/brochure/css/default.css +++ b/examples/brochure/css/default.css @@ -15,3 +15,13 @@ div#navigation a { padding: 3px 10px 3px 10px; margin: 0px 10px 0px 10px; } + +div.figure { + float: right; + margin: 20px 0px 20px 20px; +} + +div.figure p.caption { + text-align: center; + font-style: italic; +} diff --git a/examples/brochure/hakyll.hs b/examples/brochure/hakyll.hs index 1bc5919..e298670 100644 --- a/examples/brochure/hakyll.hs +++ b/examples/brochure/hakyll.hs @@ -6,6 +6,10 @@ import Hakyll main :: IO () main = hakyll $ do + match "images/*" $ do + route idRoute + compile copyFileCompiler + match "css/*" $ do route idRoute compile compressCssCompiler diff --git a/examples/brochure/index.markdown b/examples/brochure/index.markdown index b5a32c7..96b63bd 100644 --- a/examples/brochure/index.markdown +++ b/examples/brochure/index.markdown @@ -5,6 +5,8 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce tempor, urna et auctor tincidunt, eros mauris facilisis purus, eget sollicitudin leo massa sit amet ipsum. Vivamus eu massa in urna vehicula rutrum eget sit amet purus. +![Haskell logo](/images/haskell-logo.png) + - Mauris sit amet justo mi. - Curabitur vel quam felis. - In hac habitasse platea dictumst. -- cgit v1.2.3