summaryrefslogtreecommitdiff
path: root/examples/brochure
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2011-05-30 16:22:35 +0200
committerJasper Van der Jeugt <jaspervdj@gmail.com>2011-05-30 16:25:04 +0200
commita6329a577bf38dff1fc9ff515e0a80023a38ee3a (patch)
treeaa4471fef2ec69bfbe477a6221422a8a38a82f11 /examples/brochure
parent44fc490a418d1d102633d74626e6343c827a5758 (diff)
downloadhakyll-a6329a577bf38dff1fc9ff515e0a80023a38ee3a.tar.gz
Wrote on tutorial
Diffstat (limited to 'examples/brochure')
-rw-r--r--examples/brochure/css/default.css10
-rw-r--r--examples/brochure/hakyll.hs4
-rw-r--r--examples/brochure/index.markdown2
3 files changed, 16 insertions, 0 deletions
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.