zzot-zzot-semi-static 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -0
- data/Manifest.txt +30 -0
- data/README.markdown +84 -0
- data/VERSION.yml +4 -0
- data/bin/semi +6 -0
- data/lib/semi-static.rb +30 -0
- data/lib/semi-static/base.rb +74 -0
- data/lib/semi-static/categories.rb +74 -0
- data/lib/semi-static/cli.rb +126 -0
- data/lib/semi-static/convertable.rb +94 -0
- data/lib/semi-static/core_ext/hash.rb +19 -0
- data/lib/semi-static/index.rb +12 -0
- data/lib/semi-static/layout.rb +14 -0
- data/lib/semi-static/page.rb +58 -0
- data/lib/semi-static/post.rb +133 -0
- data/lib/semi-static/posts.rb +110 -0
- data/lib/semi-static/pygmentize.rb +54 -0
- data/lib/semi-static/site.rb +232 -0
- data/lib/semi-static/snippet.rb +12 -0
- data/lib/semi-static/statistics.rb +45 -0
- data/lib/semi-static/stylesheet.rb +33 -0
- data/test/helper.rb +111 -0
- data/test/ref/test_layout/default_layout.html +35 -0
- data/test/ref/test_layout/post_layout.html +85 -0
- data/test/ref/test_output/2005-03-27.html +5 -0
- data/test/ref/test_output/2005-03.html +4 -0
- data/test/ref/test_output/2005.html +5 -0
- data/test/ref/test_output/2008-11-24.html +5 -0
- data/test/ref/test_output/2008-11-26.html +5 -0
- data/test/ref/test_output/2008-11.html +5 -0
- data/test/ref/test_output/2008-12-04.html +5 -0
- data/test/ref/test_output/2008-12.html +4 -0
- data/test/ref/test_output/2008.html +6 -0
- data/test/ref/test_page/about.html +47 -0
- data/test/ref/test_page/colophon.html +45 -0
- data/test/ref/test_post/impressions.html +102 -0
- data/test/ref/test_post/lighting-up.html +102 -0
- data/test/ref/test_post/the-working-mans-typeface.html +88 -0
- data/test/source/indices/day.erb +7 -0
- data/test/source/indices/month.erb +10 -0
- data/test/source/indices/year.erb +10 -0
- data/test/source/layouts/default.haml +25 -0
- data/test/source/layouts/post.erb +36 -0
- data/test/source/pages/about.md +38 -0
- data/test/source/pages/colophon.md +36 -0
- data/test/source/pages/feed.xml.erb +26 -0
- data/test/source/posts/2005-03-27-a-bash-script-to-mess-with-the-containing-terminalapp-window.markdown +38 -0
- data/test/source/posts/2008-11-24-lighting-up.markdown +41 -0
- data/test/source/posts/2008-11-26-impressions.md +42 -0
- data/test/source/posts/2008-12-04-the-working-mans-typeface.html +15 -0
- data/test/source/scripts/jquery-1.3.js +4241 -0
- data/test/source/scripts/jquery-1.3.min.js +19 -0
- data/test/source/semi.yml +5 -0
- data/test/source/snippets/comment-links.html +17 -0
- data/test/source/snippets/comments.html +4 -0
- data/test/source/stylesheets/layout.sass +115 -0
- data/test/source/stylesheets/post.sass +21 -0
- data/test/source/stylesheets/screen.sass +11 -0
- data/test/source/stylesheets/syntax.css +60 -0
- data/test/source/stylesheets/text.sass +25 -0
- data/test/test_layout.rb +51 -0
- data/test/test_output.rb +61 -0
- data/test/test_page.rb +68 -0
- data/test/test_post.rb +96 -0
- metadata +183 -0
@@ -0,0 +1,102 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
+
<html lang='en-US' xml:lang='en-US' xmlns='http://www.w3.org/1999/xhtml'>
|
3
|
+
<head>
|
4
|
+
<meta content='text/html; charset=utf-8' http-equiv='Content-type' />
|
5
|
+
<title>Impressions</title>
|
6
|
+
<meta content='Josh Dady' name='author' />
|
7
|
+
</head>
|
8
|
+
<body>
|
9
|
+
<div id='site'>
|
10
|
+
<div id='header'>
|
11
|
+
<h1 class='title'>
|
12
|
+
<a href='/'>Test Website</a>
|
13
|
+
</h1>
|
14
|
+
<ul class='nav'>
|
15
|
+
<li class='nav-home'>
|
16
|
+
<a href='/'>Home</a>
|
17
|
+
</li>
|
18
|
+
<li class='nav-about'>
|
19
|
+
<a href='/about.html'>About</a>
|
20
|
+
</li>
|
21
|
+
<li class='nav-colophon'>
|
22
|
+
<a href='/colophon.html'>Colophon</a>
|
23
|
+
</li>
|
24
|
+
</ul>
|
25
|
+
</div>
|
26
|
+
<div id='body'>
|
27
|
+
<div class='semi_static_post' id='semi_static_post_2008_11_26_impressions'>
|
28
|
+
<div class='post-header'>
|
29
|
+
<h2 class='post-title'>
|
30
|
+
<a class='permalink' href='/2008/11/26/impressions.html'>Impressions</a>
|
31
|
+
</h2>
|
32
|
+
<ul class='post-metadata'>
|
33
|
+
<li class='byline'>
|
34
|
+
By
|
35
|
+
<span class='author'>Josh Dady</span>
|
36
|
+
on
|
37
|
+
<span class='date'>November 26, 2008</span>
|
38
|
+
</li>
|
39
|
+
<li class='link'>
|
40
|
+
<a class='permalink' href='/2008/11/26/impressions.html'>
|
41
|
+
Permalink
|
42
|
+
</a>
|
43
|
+
</li>
|
44
|
+
<li class='disqus_link'>
|
45
|
+
<a href='/2008/11/26/impressions.html#disqus_thread'>Comments</a>
|
46
|
+
</li>
|
47
|
+
</ul>
|
48
|
+
</div>
|
49
|
+
<div class='post-body'>
|
50
|
+
<p>Once I really started trying to catch up, it look less than a day. Here are a few observations I made along the way:</p>
|
51
|
+
|
52
|
+
<ul>
|
53
|
+
<li>Progressive lack of sleep<sup id='fnref:1'><a href='#fn:1' rel='footnote'>1</a></sup> combined with jetlag does not seem to help this process. The day that it took me only a small part of was Monday.</li>
|
54
|
+
|
55
|
+
<li>I’ve got quite a few feeds that can be disposed of quickly for various reasons: * A couple of them are (I assume) broken, because most or all of the feed pops up as unread whenever a new item is added or (sometimes) just because it feels like it. * For some sources, I have to subscribe to multiple, overlapping feeds to get all the stuff I’m interested in.<sup id='fnref:2'><a href='#fn:2' rel='footnote'>2</a></sup> * Some have such a low <abbr title='Signal/Noise'>S/N</abbr> ratio that I either don’t bother with them and hit <em>Mark All as Read</em><sup id='fnref:3'><a href='#fn:3' rel='footnote'>3</a></sup> or I tend to skim the item titles a page at a time looking for stuff I care about rather than spacing through everything.<sup id='fnref:4'><a href='#fn:4' rel='footnote'>4</a></sup></li>
|
56
|
+
|
57
|
+
<li>Unsurprisingly, you notice how much material is repeated feed after feed far more when you’re reading most of a week’s items rather than a couple of hours worth.</li>
|
58
|
+
</ul>
|
59
|
+
|
60
|
+
<p>At any rate, I’m back to my old daily process of asking myself why I’m subscribed to so many feeds that are full of crap.</p>
|
61
|
+
<div class='footnotes'><hr /><ol><li id='fn:1'>
|
62
|
+
<p>This has been a problem for the setup week for <a href='http://vwcaraoke.com/'>Caraoke’s</a> first showing every year we’ve done it.</p>
|
63
|
+
<a href='#fnref:1' rev='footnote'>↩</a></li><li id='fn:2'>
|
64
|
+
<p><a href='http://www.wired.com/'>Wired</a> is the poster child in this category.</p>
|
65
|
+
<a href='#fnref:2' rev='footnote'>↩</a></li><li id='fn:3'>
|
66
|
+
<p>Mail order sites dominate this category.</p>
|
67
|
+
<a href='#fnref:3' rev='footnote'>↩</a></li><li id='fn:4'>
|
68
|
+
<p><a href='http://www.versiontracker.com/'>VersionTracker</a> is the poster child here.</p>
|
69
|
+
<a href='#fnref:4' rev='footnote'>↩</a></li></ol></div>
|
70
|
+
<script type="text/javascript" charset="utf-8">
|
71
|
+
var disqus_developer = 1;
|
72
|
+
</script>
|
73
|
+
<div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/zzot/embed.js"></script><noscript><a href="http://zzot.disqus.com/?url=ref">View the discussion thread.</a></noscript><a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
|
74
|
+
</div>
|
75
|
+
</div>
|
76
|
+
<script type="text/javascript" charset="utf-8">
|
77
|
+
var disqus_developer = 1;
|
78
|
+
</script>
|
79
|
+
<script type="text/javascript">
|
80
|
+
//<![CDATA[
|
81
|
+
(function() {
|
82
|
+
var links = document.getElementsByTagName('a');
|
83
|
+
var query = '?';
|
84
|
+
for(var i = 0; i < links.length; i++) {
|
85
|
+
if(links[i].href.indexOf('#disqus_thread') >= 0) {
|
86
|
+
query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
|
87
|
+
}
|
88
|
+
}
|
89
|
+
document.write('<script type="text/javascript" src="http://disqus.com/forums/zzot/get_num_replies.js' + query + '"></' + 'script>');
|
90
|
+
})();
|
91
|
+
//]]>
|
92
|
+
</script>
|
93
|
+
</div>
|
94
|
+
<div id='footer'>
|
95
|
+
<p>
|
96
|
+
Copyright © 2003–2009 Josh Dady.
|
97
|
+
<a href='/terms.html'>Some rights reserved.</a>
|
98
|
+
</p>
|
99
|
+
</div>
|
100
|
+
</div>
|
101
|
+
</body>
|
102
|
+
</html>
|
@@ -0,0 +1,102 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
+
<html lang='en-US' xml:lang='en-US' xmlns='http://www.w3.org/1999/xhtml'>
|
3
|
+
<head>
|
4
|
+
<meta content='text/html; charset=utf-8' http-equiv='Content-type' />
|
5
|
+
<title>Lighting Up</title>
|
6
|
+
<meta content='Josh Dady' name='author' />
|
7
|
+
</head>
|
8
|
+
<body>
|
9
|
+
<div id='site'>
|
10
|
+
<div id='header'>
|
11
|
+
<h1 class='title'>
|
12
|
+
<a href='/'>Test Website</a>
|
13
|
+
</h1>
|
14
|
+
<ul class='nav'>
|
15
|
+
<li class='nav-home'>
|
16
|
+
<a href='/'>Home</a>
|
17
|
+
</li>
|
18
|
+
<li class='nav-about'>
|
19
|
+
<a href='/about.html'>About</a>
|
20
|
+
</li>
|
21
|
+
<li class='nav-colophon'>
|
22
|
+
<a href='/colophon.html'>Colophon</a>
|
23
|
+
</li>
|
24
|
+
</ul>
|
25
|
+
</div>
|
26
|
+
<div id='body'>
|
27
|
+
<div class='semi_static_post' id='semi_static_post_2008_11_24_lighting_up'>
|
28
|
+
<div class='post-header'>
|
29
|
+
<h2 class='post-title'>
|
30
|
+
<a class='permalink' href='/2008/11/24/lighting-up.html'>Lighting Up</a>
|
31
|
+
</h2>
|
32
|
+
<ul class='post-metadata'>
|
33
|
+
<li class='byline'>
|
34
|
+
By
|
35
|
+
<span class='author'>Josh Dady</span>
|
36
|
+
on
|
37
|
+
<span class='date'>November 24, 2008</span>
|
38
|
+
</li>
|
39
|
+
<li class='link'>
|
40
|
+
<a class='permalink' href='/2008/11/24/lighting-up.html'>
|
41
|
+
Permalink
|
42
|
+
</a>
|
43
|
+
</li>
|
44
|
+
<li class='disqus_link'>
|
45
|
+
<a href='/2008/11/24/lighting-up.html#disqus_thread'>Comments</a>
|
46
|
+
</li>
|
47
|
+
</ul>
|
48
|
+
</div>
|
49
|
+
<div class='post-body'>
|
50
|
+
<p>I sort of “went dark” this week. I was in Los Angeles for a few exhibits we worked on for the <a href='http://laautoshow.com/'>LA Auto Show</a>. We flew out Monday and returned Friday. At some point on Tuesday, I was definitely caught up in <a href='http://www.newsgator.com/individuals/netnewswireiphone/default.aspx'>NetNewsWire for iPhone</a>. By Friday morning it had been at least a couple of days.</p>
|
51
|
+
|
52
|
+
<p>Today, I started with over 3,700 items to read.</p>
|
53
|
+
|
54
|
+
<p>Here are my options on how to deal with this:</p>
|
55
|
+
|
56
|
+
<ol>
|
57
|
+
<li>Spend an unspecified number of days doing nothing but reading “news”. <sup id='fnref:1'><a href='#fn:1' rel='footnote'>1</a></sup></li>
|
58
|
+
|
59
|
+
<li><a href='http://www.google.com/search?hl=en&client=safari&rls=en-us&q=%22rss+bankruptcy%22&btnG=Search'>RSS Bankruptcy</a>. While we’ve all heard of the <a href='http://www.google.com/search?hl=en&client=safari&rls=en-us&q=%22email+bankruptcy%22&btnG=Search'>email</a> variety, I figured someone, somewhere had already filed under <em>Chapter RSS</em> — I was right.</li>
|
60
|
+
|
61
|
+
<li>Unsubscribed from a lot of feeds, combined with #1 or #2.</li>
|
62
|
+
</ol>
|
63
|
+
|
64
|
+
<p>You could certainly argue that gathering that many items in a few days clearly indicates #3 be applied immediately,<sup id='fnref:2'><a href='#fn:2' rel='footnote'>2</a></sup> I’m starting out with #1 interleaved with the rest of my life because its the least destructive. More to come.</p>
|
65
|
+
<div class='footnotes'><hr /><ol><li id='fn:1'>
|
66
|
+
<p>Some of it certainly qualifies as news. A lot of it doesn’t.</p>
|
67
|
+
<a href='#fnref:1' rev='footnote'>↩</a></li><li id='fn:2'>
|
68
|
+
<p>…and I’d be somewhat inclined to agree</p>
|
69
|
+
<a href='#fnref:2' rev='footnote'>↩</a></li></ol></div>
|
70
|
+
<script type="text/javascript" charset="utf-8">
|
71
|
+
var disqus_developer = 1;
|
72
|
+
</script>
|
73
|
+
<div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/zzot/embed.js"></script><noscript><a href="http://zzot.disqus.com/?url=ref">View the discussion thread.</a></noscript><a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
|
74
|
+
</div>
|
75
|
+
</div>
|
76
|
+
<script type="text/javascript" charset="utf-8">
|
77
|
+
var disqus_developer = 1;
|
78
|
+
</script>
|
79
|
+
<script type="text/javascript">
|
80
|
+
//<![CDATA[
|
81
|
+
(function() {
|
82
|
+
var links = document.getElementsByTagName('a');
|
83
|
+
var query = '?';
|
84
|
+
for(var i = 0; i < links.length; i++) {
|
85
|
+
if(links[i].href.indexOf('#disqus_thread') >= 0) {
|
86
|
+
query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
|
87
|
+
}
|
88
|
+
}
|
89
|
+
document.write('<script type="text/javascript" src="http://disqus.com/forums/zzot/get_num_replies.js' + query + '"></' + 'script>');
|
90
|
+
})();
|
91
|
+
//]]>
|
92
|
+
</script>
|
93
|
+
</div>
|
94
|
+
<div id='footer'>
|
95
|
+
<p>
|
96
|
+
Copyright © 2003–2009 Josh Dady.
|
97
|
+
<a href='/terms.html'>Some rights reserved.</a>
|
98
|
+
</p>
|
99
|
+
</div>
|
100
|
+
</div>
|
101
|
+
</body>
|
102
|
+
</html>
|
@@ -0,0 +1,88 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
+
<html lang='en-US' xml:lang='en-US' xmlns='http://www.w3.org/1999/xhtml'>
|
3
|
+
<head>
|
4
|
+
<meta content='text/html; charset=utf-8' http-equiv='Content-type' />
|
5
|
+
<title>The Working Man's Typeface</title>
|
6
|
+
<meta content='Josh Dady' name='author' />
|
7
|
+
</head>
|
8
|
+
<body>
|
9
|
+
<div id='site'>
|
10
|
+
<div id='header'>
|
11
|
+
<h1 class='title'>
|
12
|
+
<a href='/'>Test Website</a>
|
13
|
+
</h1>
|
14
|
+
<ul class='nav'>
|
15
|
+
<li class='nav-home'>
|
16
|
+
<a href='/'>Home</a>
|
17
|
+
</li>
|
18
|
+
<li class='nav-about'>
|
19
|
+
<a href='/about.html'>About</a>
|
20
|
+
</li>
|
21
|
+
<li class='nav-colophon'>
|
22
|
+
<a href='/colophon.html'>Colophon</a>
|
23
|
+
</li>
|
24
|
+
</ul>
|
25
|
+
</div>
|
26
|
+
<div id='body'>
|
27
|
+
<div class='semi_static_post' id='semi_static_post_2008_12_04_the_working_mans_typeface'>
|
28
|
+
<div class='post-header'>
|
29
|
+
<h2 class='post-title'>
|
30
|
+
<a class='permalink' href='/2008/12/04/the-working-mans-typeface.html'>The Working Man's Typeface</a>
|
31
|
+
</h2>
|
32
|
+
<ul class='post-metadata'>
|
33
|
+
<li class='byline'>
|
34
|
+
By
|
35
|
+
<span class='author'>Josh Dady</span>
|
36
|
+
on
|
37
|
+
<span class='date'>December 4, 2008</span>
|
38
|
+
</li>
|
39
|
+
<li class='link'>
|
40
|
+
<a class='permalink' href='/2008/12/04/the-working-mans-typeface.html'>
|
41
|
+
Permalink
|
42
|
+
</a>
|
43
|
+
</li>
|
44
|
+
<li class='disqus_link'>
|
45
|
+
<a href='/2008/12/04/the-working-mans-typeface.html#disqus_thread'>Comments</a>
|
46
|
+
</li>
|
47
|
+
</ul>
|
48
|
+
</div>
|
49
|
+
<div class='post-body'>
|
50
|
+
|
51
|
+
<p>From Monday's <a href="http://www.colbertnation.com/home">Colbert Report</a>. You've got to be really secure in your audience to make a typography joke:</p>
|
52
|
+
|
53
|
+
<blockquote><style type='text/css'>.cc_box a:hover .cc_home{background:url('http://www.comedycentral.com/comedycentral/video/assets/syndicated-logo-over.png') !important;}.cc_links a{color:#b9b9b9;text-decoration:none;}.cc_show a{color:#707070;text-decoration:none;}.cc_title a{color:#868686;text-decoration:none;}.cc_links a:hover{color:#67bee2;text-decoration:underline;}</style><div class='cc_box' style='position:relative'><a href='http://www.comedycentral.com' target='_blank' style='display:inline; float:left; width:60px; height:31px;'><div class='cc_home' style='float:left; border:solid 1px #cfcfcf; border-width:1px 0px 0px 1px; width:60px; height:31px; background:url("http://www.comedycentral.com/comedycentral/video/assets/syndicated-logo-out.png");'></div></a><div style='font:bold 10px Arial,Helvetica,Verdana,sans-serif; float:left; width:299px; height:31px; border:solid 1px #cfcfcf; border-width:1px 1px 0px 0px; overflow:hidden; color:#707070;'><div class='cc_show' style='position:relative; background-color:#e5e5e5;padding-left:3px; height:14px; padding-top:2px; overflow:hidden;'><a href='http://www.colbertnation.com/' target='_blank'>The Colbert Report</a><span style='position:absolute; top:2px; right:3px;'>Mon - Thurs 11:30pm / 10:30c</span></div><div class='cc_title' style='font-size:11px; color:#868686; background-color:#f5f5f5; padding:3px; padding-top:1px; line-height:14px; height:21px; overflow:hidden;'><a href='http://www.colbertnation.com/the-colbert-report-videos/211966/december-01-2008/operation-humble-kanye' target='_blank'>Operation Humble Kanye</a></div></div><embed style='float:left; clear:left;' src='http://media.mtvnservices.com/mgid:cms:item:comedycentral.com:211966' width='360' height='301' type='application/x-shockwave-flash' wmode='window' allowFullscreen='true' flashvars='autoPlay=false' allowscriptaccess='always' allownetworking='all' bgcolor='#000000'></embed><div class='cc_links' style='float:left; clear:left; width:358px; border:solid 1px #cfcfcf; border-top:0px; font:10px Arial,Helvetica,Verdana,sans-serif; color:#b9b9b9; background-color:#f5f5f5;'><div style='width:177px; float:left; padding-left:3px;'><a target='_blank' href='http://www.colbertnation.com/video/tag/Christmas'>Colbert at Christmas</a><br /><a target='_blank' href='http://shop.comedycentral.com/detail.php?p=76445&v=comedy-central_shows_the-colbert-report&SESSID=e404c55c0698e438f4508b6b848da5eb'>Colbert Christmas DVD</a></div><div style='width:177px; float:left;'><a target='_blank' href='http://www.colbertnation.com/video?keywords=green+screen'>Green Screen</a><br /><a target='_blank' href='http://www.colbertnation.com/the-colbert-report-videos/81003/january-18-2007/bill-o-reilly'>Bill O'Reilly Interview</a></div><div style='clear:both'></div></div><div style='clear:both'></div></div>
|
54
|
+
</blockquote>
|
55
|
+
|
56
|
+
<script type="text/javascript" charset="utf-8">
|
57
|
+
var disqus_developer = 1;
|
58
|
+
</script>
|
59
|
+
<div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/zzot/embed.js"></script><noscript><a href="http://zzot.disqus.com/?url=ref">View the discussion thread.</a></noscript><a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
|
60
|
+
</div>
|
61
|
+
</div>
|
62
|
+
<script type="text/javascript" charset="utf-8">
|
63
|
+
var disqus_developer = 1;
|
64
|
+
</script>
|
65
|
+
<script type="text/javascript">
|
66
|
+
//<![CDATA[
|
67
|
+
(function() {
|
68
|
+
var links = document.getElementsByTagName('a');
|
69
|
+
var query = '?';
|
70
|
+
for(var i = 0; i < links.length; i++) {
|
71
|
+
if(links[i].href.indexOf('#disqus_thread') >= 0) {
|
72
|
+
query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
|
73
|
+
}
|
74
|
+
}
|
75
|
+
document.write('<script type="text/javascript" src="http://disqus.com/forums/zzot/get_num_replies.js' + query + '"></' + 'script>');
|
76
|
+
})();
|
77
|
+
//]]>
|
78
|
+
</script>
|
79
|
+
</div>
|
80
|
+
<div id='footer'>
|
81
|
+
<p>
|
82
|
+
Copyright © 2003–2009 Josh Dady.
|
83
|
+
<a href='/terms.html'>Some rights reserved.</a>
|
84
|
+
</p>
|
85
|
+
</div>
|
86
|
+
</div>
|
87
|
+
</body>
|
88
|
+
</html>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<h1><%= context.strftime('%B %Y') %></h1>
|
2
|
+
<ul>
|
3
|
+
<% current = nil -%>
|
4
|
+
<% for post in posts -%>
|
5
|
+
<% if post.day != current -%>
|
6
|
+
<li><a href="<%= post.created.strftime('/%Y/%m/%d/') %>"><%= post.created.strftime '%e' %></a></li>
|
7
|
+
<% current = post.day -%>
|
8
|
+
<% end -%>
|
9
|
+
<% end -%>
|
10
|
+
</ul>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<h1><%= context.year %></h1>
|
2
|
+
<ul>
|
3
|
+
<% current = nil -%>
|
4
|
+
<% for post in posts -%>
|
5
|
+
<% if post.month != current -%>
|
6
|
+
<li><a href="<%= post.created.strftime('/%Y/%m/') %>"><%= post.created.strftime '%B' %></a></li>
|
7
|
+
<% current = post.month -%>
|
8
|
+
<% end -%>
|
9
|
+
<% end -%>
|
10
|
+
</ul>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
!!! Strict
|
2
|
+
|
3
|
+
%html{ html_attrs }
|
4
|
+
%head
|
5
|
+
%meta{ 'http-equiv' => 'Content-type', :content => 'text/html; charset=utf-8' }
|
6
|
+
%title= page.title
|
7
|
+
%meta{ :name => 'author', :content => 'Josh Dady' }
|
8
|
+
|
9
|
+
%body
|
10
|
+
#site
|
11
|
+
#header
|
12
|
+
%h1.title
|
13
|
+
%a{ :href => '/' } Test Website
|
14
|
+
%ul.nav
|
15
|
+
%li.nav-home
|
16
|
+
%a{ :href => '/' } Home
|
17
|
+
%li.nav-about
|
18
|
+
%a{ :href => '/about.html' } About
|
19
|
+
%li.nav-colophon
|
20
|
+
%a{ :href => '/colophon.html' } Colophon
|
21
|
+
#body~ content
|
22
|
+
#footer
|
23
|
+
%p
|
24
|
+
Copyright © 2003–2009 Josh Dady.
|
25
|
+
%a{ :href => '/terms.html' } Some rights reserved.
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div <%= object_ref page %>>
|
6
|
+
<div class='post-header'>
|
7
|
+
<h2 class='post-title'>
|
8
|
+
<a class='permalink' href='<%= page.permalink %>'><%= page.title %></a>
|
9
|
+
</h2>
|
10
|
+
<ul class='post-metadata'>
|
11
|
+
<li class='byline'>
|
12
|
+
By
|
13
|
+
<span class='author'><%= page.author %></span>
|
14
|
+
on
|
15
|
+
<span class='date'><%= page.date %></span>
|
16
|
+
<% if page.time? %>
|
17
|
+
at
|
18
|
+
<span class='time'><%= page.time %></span>
|
19
|
+
<% end %>
|
20
|
+
</li>
|
21
|
+
<li class='link'>
|
22
|
+
<a class='permalink' href='<%= page.permalink %>'>
|
23
|
+
Permalink
|
24
|
+
</a>
|
25
|
+
</li>
|
26
|
+
<li class='disqus_link'>
|
27
|
+
<a href='<%= page.permalink %>#disqus_thread'>Comments</a>
|
28
|
+
</li>
|
29
|
+
</ul>
|
30
|
+
</div>
|
31
|
+
<div class='post-body'>
|
32
|
+
<%= content %>
|
33
|
+
<%= snippet 'comments' %>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
<%= snippet 'comment-links' %>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
title: About this site
|
3
|
+
layout: default
|
4
|
+
---
|
5
|
+
|
6
|
+
About this site
|
7
|
+
===============
|
8
|
+
|
9
|
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy
|
10
|
+
nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut
|
11
|
+
wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit
|
12
|
+
lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure
|
13
|
+
dolor in hendrerit in vulputate velit esse molestie consequat, vel illum
|
14
|
+
dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio.
|
15
|
+
|
16
|
+
|
17
|
+
Magna aliquam erat volutpat
|
18
|
+
---------------------------
|
19
|
+
|
20
|
+
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper
|
21
|
+
suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel
|
22
|
+
eum iriure dolor in hendrerit in vulputate velit esse molestie consequat,
|
23
|
+
vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et
|
24
|
+
iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis
|
25
|
+
dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer
|
26
|
+
adipiscing elit, sed diam nonummy nibh euismod tincidunt ut.
|
27
|
+
|
28
|
+
Quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex
|
29
|
+
ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in
|
30
|
+
vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla
|
31
|
+
facilisis at vero eros et accumsan et iusto odio dignissim.
|
32
|
+
|
33
|
+
Suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel
|
34
|
+
eum iriure dolor in hendrerit in vulputate velit esse molestie consequat,
|
35
|
+
vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et
|
36
|
+
iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis
|
37
|
+
dolore te feugait.
|
38
|
+
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
title: Colophon
|
3
|
+
layout: default
|
4
|
+
---
|
5
|
+
|
6
|
+
Colophon
|
7
|
+
========
|
8
|
+
|
9
|
+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy
|
10
|
+
nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut
|
11
|
+
wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit
|
12
|
+
lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure
|
13
|
+
dolor in hendrerit in vulputate velit esse molestie consequat, vel illum
|
14
|
+
dolore eu feugiat nulla facilisis.
|
15
|
+
|
16
|
+
|
17
|
+
Tools
|
18
|
+
-----
|
19
|
+
|
20
|
+
Aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci
|
21
|
+
tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo
|
22
|
+
consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit
|
23
|
+
esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at
|
24
|
+
vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum
|
25
|
+
zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum
|
26
|
+
dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod
|
27
|
+
tincidunt ut laoreet.
|
28
|
+
|
29
|
+
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper
|
30
|
+
suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel
|
31
|
+
eum iriure dolor in hendrerit in vulputate velit esse molestie consequat,
|
32
|
+
vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et
|
33
|
+
iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis
|
34
|
+
dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer
|
35
|
+
adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore
|
36
|
+
magna aliquam.
|