summaryrefslogtreecommitdiff
path: root/web/templates
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2011-06-13 08:43:28 +0200
committerJasper Van der Jeugt <jaspervdj@gmail.com>2011-06-13 08:43:28 +0200
commitedeef66180f24e4254b512041bee617368fa1eba (patch)
treedf2b6c470dba9fda52a0d3b96fd569d2c74b2c48 /web/templates
parent893b366435739d073d2b6b9cafae868b5d361354 (diff)
downloadhakyll-edeef66180f24e4254b512041bee617368fa1eba.tar.gz
Remove examples from this repo
Diffstat (limited to 'web/templates')
-rw-r--r--web/templates/default.html72
-rw-r--r--web/templates/tutorial.html10
-rw-r--r--web/templates/tutorialitem.html3
-rw-r--r--web/templates/tutorials.html14
4 files changed, 99 insertions, 0 deletions
diff --git a/web/templates/default.html b/web/templates/default.html
new file mode 100644
index 0000000..040292c
--- /dev/null
+++ b/web/templates/default.html
@@ -0,0 +1,72 @@
+<?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>Hakyll - $title$</title>
+
+ <!-- Stylesheets. -->
+ <link rel="stylesheet" type="text/css" href="/css/default.css" />
+ <link rel="stylesheet" type="text/css" href="/css/syntax.css" />
+
+ <!-- Metadata. -->
+ <meta name="keywords" content="hakyll,static site generator,static,site,generator,haskell,blog"/>
+ <meta name="description" content="Hakyll - A Static Site Generator in Haskell."/>
+
+ <!-- Flattr JS -->
+ <!--
+ <script type="text/javascript">
+ /* <![CDATA[ */
+ (function() {
+ var s = document.createElement('script'), t =
+ document.getElementsByTagName('script')[0];
+ s.type = 'text/javascript';
+ s.async = true;
+ s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
+ t.parentNode.insertBefore(s, t);
+ })();
+ /* ]]> */
+ </script>
+ -->
+ </head>
+ <body>
+ <div id="main">
+ <div id="header">
+ <img src="/images/lambda.png" alt="lambda" />
+ <h1>Hakyll - $title$</h1>
+ </div>
+ <!-- Sidebar. -->
+ <div id="sidebar">
+ $sidebar$
+
+ <!-- Flattr button -->
+ <!--
+ <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="http://jaspervdj.be/hakyll"></a>
+ <noscript><a href="http://flattr.com/thing/291889/Hakyll" target="_blank"> <img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a></noscript>
+ -->
+ </div>
+
+ <div id="content">
+ $body$
+ </div>
+
+ <div id="footer">
+ Site proudly generated by <a href="http://github.com/jaspervdj/hakyll">hakyll</a>.
+ </div>
+ </div>
+
+ <!-- Google Analytics -->
+ <script type="text/javascript">
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+ </script>
+ <script type="text/javascript">
+ try {
+ var pageTracker = _gat._getTracker("UA-11993001-1");
+ pageTracker._trackPageview();
+ } catch(err) {}
+ </script>
+ </body>
+
+</html>
diff --git a/web/templates/tutorial.html b/web/templates/tutorial.html
new file mode 100644
index 0000000..6ce60b6
--- /dev/null
+++ b/web/templates/tutorial.html
@@ -0,0 +1,10 @@
+$body
+
+<h2>Helping out</h2>
+
+Hakyll is an open source project, and one of the hardest parts is writing
+correct, up-to-date, and understandable documentation. Therefore, the
+authors would really appreciate it if you would
+<a href="http://groups.google.com/group/hakyll">give some feedback</a> about
+the tutorials, and especially report errors or difficulties you encountered.
+Thanks!
diff --git a/web/templates/tutorialitem.html b/web/templates/tutorialitem.html
new file mode 100644
index 0000000..01fb298
--- /dev/null
+++ b/web/templates/tutorialitem.html
@@ -0,0 +1,3 @@
+<li>
+ <a href="$url">$title</a> $what.
+</li>
diff --git a/web/templates/tutorials.html b/web/templates/tutorials.html
new file mode 100644
index 0000000..6cbb4ac
--- /dev/null
+++ b/web/templates/tutorials.html
@@ -0,0 +1,14 @@
+<h2>Tutorials about Hakyll</h2>
+<p>
+ Here is a list of tutorials I've written about Hakyll:
+</p>
+<ul>
+ $body
+</ul>
+<p>
+ All these tutorials assume you are using the latest stable version of
+ Hakyll. If this is not the case, you might want to update using:
+ <pre><code>ghc-pkg unregister hakyll
+cabal update
+cabal install hakyll</code></pre>
+</p>