summaryrefslogtreecommitdiff
path: root/examples/morepages
diff options
context:
space:
mode:
Diffstat (limited to 'examples/morepages')
-rw-r--r--examples/morepages/about.markdown28
-rw-r--r--examples/morepages/css/default.css28
-rw-r--r--examples/morepages/footer.markdown19
-rw-r--r--examples/morepages/hakyll.hs29
-rw-r--r--examples/morepages/index.markdown25
-rw-r--r--examples/morepages/products.markdown24
-rw-r--r--examples/morepages/templates/default.html24
7 files changed, 0 insertions, 177 deletions
diff --git a/examples/morepages/about.markdown b/examples/morepages/about.markdown
deleted file mode 100644
index 65d8e9f..0000000
--- a/examples/morepages/about.markdown
+++ /dev/null
@@ -1,28 +0,0 @@
----
-title: About
----
-
-## Mattis
-
-Nullam imperdiet sodales orci vitae molestie. Nunc quam orci, pharetra a
-rhoncus vitae, eleifend id felis. Suspendisse potenti. Etiam vitae urna orci.
-Quisque pellentesque dignissim felis, egestas tempus urna luctus vitae. In hac
-habitasse platea dictumst. Morbi fringilla mattis odio, et mattis tellus
-accumsan vitae.
-
-## Orci
-
-Vivamus eget mauris sit amet nulla laoreet lobortis. Nulla in diam elementum
-risus convallis commodo. Cras vehicula varius dui vitae facilisis. Proin
-elementum libero eget leo aliquet quis euismod orci vestibulum. Duis rhoncus
-lorem consequat tellus vestibulum aliquam. Quisque orci orci, malesuada porta
-blandit et, interdum nec magna.
-
-## Augue
-
-In urna ante, pulvinar et imperdiet nec, fermentum ac tortor. Cras tristique
-pellentesque euismod. Pellentesque est ante, sagittis vitae vehicula vitae,
-ullamcorper eget lectus. Curabitur egestas accumsan leo, ac ullamcorper nibh
-tincidunt id. Curabitur lorem libero, fermentum non tincidunt ac, pretium in
-libero. Donec vel mi eu tortor accumsan dictum ut in augue. Vestibulum est
-lorem, bibendum eu vehicula eu, convallis eget mauris.
diff --git a/examples/morepages/css/default.css b/examples/morepages/css/default.css
deleted file mode 100644
index 76607cf..0000000
--- a/examples/morepages/css/default.css
+++ /dev/null
@@ -1,28 +0,0 @@
-body {
- width: 600px;
- margin: 0px auto 0px auto;
-}
-
-div#navigation {
- text-align: center;
- border-bottom: 4px solid black;
-}
-
-div#navigation a {
- color: white;
- text-decoration: none;
- background-color: black;
- padding: 3px 10px 3px 10px;
- margin: 0px 10px 0px 10px;
-}
-
-div.column {
- width: 30%;
- float: left;
- margin: 0px 10px 0px 10px;
-}
-
-div#footer {
- clear: both;
- border-top: 4px solid black;
-}
diff --git a/examples/morepages/footer.markdown b/examples/morepages/footer.markdown
deleted file mode 100644
index afcb47d..0000000
--- a/examples/morepages/footer.markdown
+++ /dev/null
@@ -1,19 +0,0 @@
----
-title: Footer
----
-
-## Sapien
-
-In hac habitasse platea dictumst. Cras placerat felis nec risus varius in
-accumsan sem fermentum. Vestibulum elementum aliquam tortor semper vulputate.
-Vivamus tincidunt tellus sed purus tempor fringilla. Morbi dui nisl, eleifend
-non dictum vitae, luctus eu lacus. Duis vitae lacus sem, ut porta mauris.
-Aenean sed ultricies dui. Vivamus ullamcorper metus lorem, at ornare nibh.
-Mauris mi metus, convallis id lobortis vitae, interdum quis felis. Cras elit
-massa, pellentesque sit amet pharetra ut, volutpat in arcu. Vivamus blandit,
-ligula et ultricies consequat, metus sem congue quam, ac pretium enim velit at
-tortor. Cras in tellus eu sapien pulvinar sollicitudin eu id ipsum. Mauris nec
-urna tellus, et scelerisque tellus. Nunc imperdiet felis nec libero consectetur
-tristique tristique ipsum sodales. Cras tortor nisl, condimentum in
-pellentesque id, interdum vel mi. Suspendisse auctor vehicula orci at
-scelerisque. Vivamus quis sagittis felis.
diff --git a/examples/morepages/hakyll.hs b/examples/morepages/hakyll.hs
deleted file mode 100644
index c1b96e6..0000000
--- a/examples/morepages/hakyll.hs
+++ /dev/null
@@ -1,29 +0,0 @@
-{-# LANGUAGE OverloadedStrings, Arrows #-}
-module Main where
-
-import Control.Monad (forM_)
-import Control.Arrow (arr, (>>>))
-
-import Hakyll
-
-main :: IO ()
-main = hakyll $ do
- -- Compress CSS
- match "css/*" $ do
- route idRoute
- compile compressCssCompiler
-
- -- Render static pages
- forM_ ["about.markdown", "index.markdown", "products.markdown"] $ \p ->
- match p $ do
- route $ setExtension ".html"
- compile $ pageCompiler
- >>> requireA "footer.markdown" (setFieldA "footer" $ arr pageBody)
- >>> applyTemplateCompiler "templates/default.html"
- >>> relativizeUrlsCompiler
-
- -- Compile footer
- match "footer.markdown" $ compile pageCompiler
-
- -- Read templates
- match "templates/*" $ compile templateCompiler
diff --git a/examples/morepages/index.markdown b/examples/morepages/index.markdown
deleted file mode 100644
index 16fffd6..0000000
--- a/examples/morepages/index.markdown
+++ /dev/null
@@ -1,25 +0,0 @@
----
-title: Home
----
-
-## Purus
-
-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.
-
-## Ligula
-
-Mauris sit amet justo mi. Curabitur vel quam felis. In hac habitasse platea
-dictumst. Etiam nec consequat risus. Donec consequat est vitae neque fermentum
-feugiat nec ac nibh. Nulla rhoncus, odio quis scelerisque rutrum, metus sem
-tempor ante, a ornare ipsum felis sed ligula. Morbi urna lectus, scelerisque
-non pharetra in, rutrum quis ligula. Phasellus semper ullamcorper arcu eu
-auctor.
-
-## Justo
-
-Aliquam sagittis tincidunt libero ut elementum. Ut sit amet vestibulum metus.
-Ut aliquet congue neque eu tincidunt. Integer eu elit sed massa sollicitudin
-vehicula nec ut sem. Cras euismod enim eget purus lacinia non feugiat urna
-imperdiet. Aliquam justo sem, viverra eu vehicula vitae, imperdiet vel magna.
diff --git a/examples/morepages/products.markdown b/examples/morepages/products.markdown
deleted file mode 100644
index 68ffd36..0000000
--- a/examples/morepages/products.markdown
+++ /dev/null
@@ -1,24 +0,0 @@
----
-title: Products
----
-
-## Lacus
-
-Etiam condimentum auctor semper. Donec lobortis, magna id sodales sollicitudin,
-lectus mi egestas nulla, pulvinar lobortis nunc eros id nisl. Curabitur
-imperdiet, erat at accumsan vulputate, purus nunc blandit nulla, dictum
-vestibulum sem lorem eget ipsum.
-
-## Vitae
-
-Integer ut dui eu felis mollis vestibulum. Etiam at nibh id diam aliquet
-vestibulum sit amet a nibh. Aliquam erat volutpat. Etiam vitae nulla at dolor
-fringilla tempor ut a nunc. Pellentesque elementum elit lorem. Quisque nec
-ligula ipsum. Nunc augue lacus, ullamcorper vel dapibus in, mattis eget elit.
-
-## Feugiat
-
-Pellentesque enim dui, interdum elementum vehicula luctus, feugiat vitae arcu.
-Vestibulum ut felis justo. Quisque vestibulum mauris eget ipsum luctus
-consequat. Nunc tincidunt, turpis ut fermentum dapibus,
-justo tortor bibendum sem, at facilisis justo odio luctus lectus.
diff --git a/examples/morepages/templates/default.html b/examples/morepages/templates/default.html
deleted file mode 100644
index 6cd490a..0000000
--- a/examples/morepages/templates/default.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>MyAweSomeCompany - $title$</title>
- <link rel="stylesheet" type="text/css" href="/css/default.css" />
- </head>
- <body>
- <h1>MyAweSomeCompany - $title$</h1>
- <div id="navigation">
- <a href="/">Home</a>
- <a href="/about.html">About</a>
- <a href="/products.html">Products</a>
- </div>
-
- $body$
-
- <div id="footer">
- $footer$
- </div>
- </body>
-</html>