summaryrefslogtreecommitdiff
path: root/examples/morepages/templates
diff options
context:
space:
mode:
authorBenedict Eastaugh <benedict@eastaugh.net>2011-03-28 15:22:43 +0100
committerBenedict Eastaugh <benedict@eastaugh.net>2011-03-29 17:30:23 +0100
commitc288567388c6ebcb75f369bee60f19664e855c9c (patch)
treef67d985c39b076b56319cbd57af6208fd85e9a00 /examples/morepages/templates
parent9ddde6c0fac02268ebf0c22a0ee3e22079a5d124 (diff)
downloadhakyll-c288567388c6ebcb75f369bee60f19664e855c9c.tar.gz
Update morepages example to work with Hakyll 3.
Diffstat (limited to 'examples/morepages/templates')
-rw-r--r--examples/morepages/templates/default.html19
1 files changed, 9 insertions, 10 deletions
diff --git a/examples/morepages/templates/default.html b/examples/morepages/templates/default.html
index d01722b..8fcd9cb 100644
--- a/examples/morepages/templates/default.html
+++ b/examples/morepages/templates/default.html
@@ -4,20 +4,19 @@
<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="$root/css/default.css" />
+ <title>MyAweSomeCompany - $title$</title>
+ <link rel="stylesheet" type="text/css" href="/css/default.css" />
</head>
<body>
- <h1>MyAweSomeCompany - $title</h1>
+ <h1>MyAweSomeCompany - $title$</h1>
<div id="navigation">
- <a href="$root/index.html">Home</a>
- <a href="$root/about.html">About</a>
- <a href="$root/products.html">Products</a>
+ <a href="/">Home</a>
+ <a href="/about.html">About</a>
+ <a href="/products.html">Products</a>
</div>
- <div class="column"> $section1 </div>
- <div class="column"> $section2 </div>
- <div class="column"> $section3 </div>
- <div id="footer"> $footer </div>
+ $body$
+
+ <div id="footer"> $footer$ </div>
</body>
</html>