-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Insert rudimentary revision history into each article. Generate a dif…
…f to last version correctly (still needs pandoc rendering). Wrote some very basic templates.
- Loading branch information
Showing
10 changed files
with
221 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,5 @@ cabal-dev | |
*.chs.h | ||
_site | ||
_cache | ||
*.*~ | ||
src/site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Page Not Found :(</title> | ||
<style> | ||
body { text-align: center;} | ||
h1 { font-size: 50px; text-align: center } | ||
span[frown] { transform: rotate(90deg); display:inline-block; color: #bbb; } | ||
body { font: 20px Constantia, 'Hoefler Text', "Adobe Caslon Pro", Baskerville, Georgia, Times, serif; color: #999; text-shadow: 2px 2px 2px rgba(200, 200, 200, 0.5); } | ||
::-moz-selection{ background:#FF5E99; color:#fff; } | ||
::selection { background:#FF5E99; color:#fff; } | ||
article {display:block; text-align: left; width: 500px; margin: 0 auto; } | ||
|
||
a { color: rgb(36, 109, 56); text-decoration:none; } | ||
a:hover { color: rgb(96, 73, 141) ; text-shadow: 2px 2px 2px rgba(36, 109, 56, 0.5); } | ||
</style> | ||
</head> | ||
<body> | ||
<article> | ||
<h1>Not found <span frown>:(</span></h1> | ||
<div> | ||
<p>Sorry, but the page you were trying to view does not exist.</p> | ||
<p>It looks like this was the result of either:</p> | ||
<ul> | ||
<li>a mistyped address</li> | ||
<li>an out-of-date link</li> | ||
</ul> | ||
</div> | ||
|
||
<script> | ||
var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2), | ||
GOOG_FIXURL_SITE = location.host; | ||
</script> | ||
<script src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script> | ||
</article> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<!doctype html> | ||
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]--> | ||
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]--> | ||
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]--> | ||
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
|
||
<title>Blah - $title$</title> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
|
||
<meta name="viewport" content="width=device-width,initial-scale=1"> | ||
|
||
<link rel="stylesheet" href="/css/default.css"> | ||
<link rel="stylesheet" href="/css/style.css"> | ||
<link rel="alternate" | ||
type="application/rss+xml" | ||
title="" | ||
href="/rss.xml" /> | ||
<script src="/js/libs/modernizr-2.0.6.min.js"></script> | ||
</head> | ||
<body> | ||
|
||
<header> | ||
<h1>$title$</h1> | ||
</header> | ||
|
||
<div id="main" role="main"> | ||
$body$ | ||
</div> | ||
|
||
<nav> | ||
<ul id="#navigation"> | ||
<li><a href="/about/">About</a></li> | ||
<li><a href="/photos/">Photos</a></li> | ||
<li><a href="/writings/">Writings</a></li> | ||
</ul> | ||
</nav> | ||
<footer> | ||
<p>All contents © 1999-2011 Andy Irving</p> | ||
</footer> | ||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | ||
<script>window.jQuery || document.write('<script src="/js/libs/jquery-1.6.2.min.js"><\/script>')</script> | ||
|
||
<!-- scripts concatenated and minified via ant build script--> | ||
<script src="/js/plugins.js"></script> | ||
<script src="/js/script.js"></script> | ||
<!-- end scripts--> | ||
|
||
<script> | ||
var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']]; | ||
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1; | ||
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js'; | ||
s.parentNode.insertBefore(g,s)}(document,'script')); | ||
</script> | ||
|
||
<!--[if lt IE 7 ]> | ||
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.2/CFInstall.min.js"></script> | ||
<script>window.attachEvent("onload",function(){CFInstall.check({mode:"overlay"})})</script> | ||
<![endif]--> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$diff$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
<div class="history"> | ||
$history$ | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
<div class="about"> | ||
<h1>Andy Irving</h1> | ||
<p> | ||
Hi! My name's Andy, I'm a senior developer, rubbish alpinist and punk rock legend. | ||
</p> | ||
</div> | ||
|
||
<div class="contact"> | ||
<h2>Contact</h2> | ||
<ul> | ||
<li>Email: <a href="mailto:[email protected]">[email protected]</a> (<a href="./files/public_key.asc">Public Key</a>)</li> | ||
<li>Social: <a href="https://twitter.com/#!/ndyirving">Twitter</a> | <a href="http://uk.linkedin.com/pub/andy-irving/14/825/2ba">LinkedIn</a> | <a href="https://github.com/irv">GitHub</a> | ||
</li> | ||
If you're a potential employer, remember <a href="http://www.telegraph.co.uk/technology/news/8734904/Employers-warned-about-snooping-on-staff-via-social-networks.html"> you risk being sued for discrimination if you snoop on the private lives of prospective employees</a>. | ||
</div> | ||
|
||
<div class="updates"> | ||
<h2>Recent Updates</h2> | ||
<ul> | ||
$posts$ | ||
</ul> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
<p>by <em>$author$</em> on <strong>$date$</strong></p> | ||
|
||
<p>Tagged as: $prettytags$.</p> | ||
|
||
$body$ | ||
|
||
<table class="history"> | ||
$history$ | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<li> | ||
<a href="$url$">$title$</a> | ||
- <em>$date$</em> - by <em>$author$</em> | ||
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<h1>$title$</h1> | ||
<ul> | ||
$posts$ | ||
</ul> |