darthapo-stratus 0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. data/Changelog +3 -0
  2. data/Manifest +87 -0
  3. data/Rakefile +82 -0
  4. data/Readme.markdown +15 -0
  5. data/bin/stratus +8 -0
  6. data/lib/stratus/cli.rb +206 -0
  7. data/lib/stratus/filters.rb +73 -0
  8. data/lib/stratus/generator/builder.rb +147 -0
  9. data/lib/stratus/generator/context.rb +39 -0
  10. data/lib/stratus/generator/renderer.rb +100 -0
  11. data/lib/stratus/generator/scanner.rb +75 -0
  12. data/lib/stratus/generator.rb +12 -0
  13. data/lib/stratus/resources/attachment.rb +41 -0
  14. data/lib/stratus/resources/base.rb +257 -0
  15. data/lib/stratus/resources/content.rb +17 -0
  16. data/lib/stratus/resources/hash_db.rb +128 -0
  17. data/lib/stratus/resources/layout.rb +18 -0
  18. data/lib/stratus/resources/template.rb +22 -0
  19. data/lib/stratus/resources.rb +75 -0
  20. data/lib/stratus/settings.rb +19 -0
  21. data/lib/stratus/tags/markdown.rb +19 -0
  22. data/lib/stratus/tags/textile.rb +19 -0
  23. data/lib/stratus/tags.rb +3 -0
  24. data/lib/stratus/tasks/app/boilerplate/StratusSite +25 -0
  25. data/lib/stratus/tasks/app/boilerplate/config/defaults/page.default.html +10 -0
  26. data/lib/stratus/tasks/app/boilerplate/config/defaults/post.default.html +10 -0
  27. data/lib/stratus/tasks/app/boilerplate/config/site.yaml +16 -0
  28. data/lib/stratus/tasks/app/boilerplate/content/pages/home/index.html +35 -0
  29. data/lib/stratus/tasks/app/boilerplate/themes/default/styles/main.css +12 -0
  30. data/lib/stratus/tasks/app/boilerplate/themes/default/templates/layouts/main.html +31 -0
  31. data/lib/stratus/tasks/app/boilerplate/themes/default/templates/objects/page.html +7 -0
  32. data/lib/stratus/tasks/app/boilerplate/themes/default/templates/objects/page.index.html +10 -0
  33. data/lib/stratus/tasks/app/boilerplate/themes/default/templates/objects/post.html +22 -0
  34. data/lib/stratus/tasks/app/boilerplate/themes/default/templates/objects/post.index.html +10 -0
  35. data/lib/stratus/tasks/app/site.rake +68 -0
  36. data/lib/stratus/tasks/shared/system.rake +16 -0
  37. data/lib/stratus/tasks/site/new.rake +108 -0
  38. data/lib/stratus/tasks/site/site.rake +21 -0
  39. data/lib/stratus/tasks/site/theme.rake +13 -0
  40. data/lib/stratus.rb +62 -0
  41. data/stratus.gemspec +31 -0
  42. data/test/fixtures/site/StratusSite +26 -0
  43. data/test/fixtures/site/config/defaults/article.default.html +7 -0
  44. data/test/fixtures/site/config/defaults/content.default.html +7 -0
  45. data/test/fixtures/site/config/defaults/page.default.html +10 -0
  46. data/test/fixtures/site/config/defaults/post.default.html +10 -0
  47. data/test/fixtures/site/config/site.yaml +25 -0
  48. data/test/fixtures/site/content/articles/001_im-the-title/index.html +10 -0
  49. data/test/fixtures/site/content/pages/about/index.html +7 -0
  50. data/test/fixtures/site/content/pages/home/index.html +37 -0
  51. data/test/fixtures/site/content/pages/projects/index.html +6 -0
  52. data/test/fixtures/site/content/posts/001_new-blog/dom.js +123 -0
  53. data/test/fixtures/site/content/posts/001_new-blog/index.html +24 -0
  54. data/test/fixtures/site/content/posts/001_new-blog/old.html +18 -0
  55. data/test/fixtures/site/content/posts/002_fun-for-the-whole-family/index.html +12 -0
  56. data/test/fixtures/site/content/posts/002_fun-for-the-whole-family/snippet_one.rb +5 -0
  57. data/test/fixtures/site/content/posts/003_life-is-quite-fun-really/index.html +12 -0
  58. data/test/fixtures/site/themes/default/scripts/code_highlighter.js +188 -0
  59. data/test/fixtures/site/themes/default/scripts/code_syntax.js +92 -0
  60. data/test/fixtures/site/themes/default/styles/code_syntax.css +68 -0
  61. data/test/fixtures/site/themes/default/styles/main.css +66 -0
  62. data/test/fixtures/site/themes/default/templates/layouts/main.html +36 -0
  63. data/test/fixtures/site/themes/default/templates/objects/article.html +7 -0
  64. data/test/fixtures/site/themes/default/templates/objects/article.index.html +8 -0
  65. data/test/fixtures/site/themes/default/templates/objects/feed.xml +25 -0
  66. data/test/fixtures/site/themes/default/templates/objects/page.html +7 -0
  67. data/test/fixtures/site/themes/default/templates/objects/page.index.html +10 -0
  68. data/test/fixtures/site/themes/default/templates/objects/post.html +22 -0
  69. data/test/fixtures/site/themes/default/templates/objects/post.index.html +10 -0
  70. data/test/fixtures/site/www/index.html +82 -0
  71. data/test/fixtures/site/www/pages/about/index.html +43 -0
  72. data/test/fixtures/site/www/pages/home/index.html +82 -0
  73. data/test/fixtures/site/www/pages/index.html +52 -0
  74. data/test/fixtures/site/www/pages/projects/index.html +43 -0
  75. data/test/fixtures/site/www/posts/fun-for-the-whole-family/index.html +66 -0
  76. data/test/fixtures/site/www/posts/fun-for-the-whole-family/snippet_one.rb +5 -0
  77. data/test/fixtures/site/www/posts/index.html +63 -0
  78. data/test/fixtures/site/www/posts/life-is-quite-fun-really/index.html +58 -0
  79. data/test/fixtures/site/www/posts/new-blog/dom.js +123 -0
  80. data/test/fixtures/site/www/posts/new-blog/index.html +192 -0
  81. data/test/fixtures/site/www/posts/new-blog/old.html +18 -0
  82. data/test/fixtures/site/www/theme/scripts/code_highlighter.js +188 -0
  83. data/test/fixtures/site/www/theme/scripts/code_syntax.js +92 -0
  84. data/test/fixtures/site/www/theme/styles/code_syntax.css +68 -0
  85. data/test/fixtures/site/www/theme/styles/main.css +66 -0
  86. data/test/fixtures/site/www/themes/default/styles/main.css +62 -0
  87. data/test/test_helper.rb +0 -0
  88. metadata +143 -0
@@ -0,0 +1,92 @@
1
+ // =======
2
+ // = CSS =
3
+ // =======
4
+ CodeHighlighter.addStyle("css", {
5
+ comment : {
6
+ exp : /\/\*[^*]*\*+([^\/][^*]*\*+)*\//
7
+ },
8
+ keywords : {
9
+ exp : /@\w[\w\s]*/
10
+ },
11
+ selectors : {
12
+ exp : "([\\w-:\\[.#][^{};>]*)(?={)"
13
+ },
14
+ properties : {
15
+ exp : "([\\w-]+)(?=\\s*:)"
16
+ },
17
+ units : {
18
+ exp : /([0-9])(em|en|px|%|pt)\b/,
19
+ replacement : "$1<span class=\"$0\">$2</span>"
20
+ },
21
+ urls : {
22
+ exp : /url\([^\)]*\)/
23
+ }
24
+ });
25
+
26
+ // ========
27
+ // = HTML =
28
+ // ========
29
+ CodeHighlighter.addStyle("html", {
30
+ comment : {
31
+ exp: /&lt;!\s*(--([^-]|[\r\n]|-[^-])*--\s*)&gt;/
32
+ },
33
+ tag : {
34
+ exp: /(&lt;\/?)([a-zA-Z]+\s?)/,
35
+ replacement: "$1<span class=\"$0\">$2</span>"
36
+ },
37
+ string : {
38
+ exp : /'[^']*'|"[^"]*"/
39
+ },
40
+ attribute : {
41
+ exp: /\b([a-zA-Z-:]+)(=)/,
42
+ replacement: "<span class=\"$0\">$1</span>$2"
43
+ },
44
+ doctype : {
45
+ exp: /&lt;!DOCTYPE([^&]|&[^g]|&g[^t])*&gt;/
46
+ }
47
+ });
48
+
49
+ // ==============
50
+ // = JavaScript =
51
+ // ==============
52
+ CodeHighlighter.addStyle("javascript",{
53
+ comment : {
54
+ exp : /(\/\/[^\n]*(\n|$))|(\/\*[^*]*\*+([^\/][^*]*\*+)*\/)/
55
+ },
56
+ brackets : {
57
+ exp : /\(|\)/
58
+ },
59
+ string : {
60
+ exp : /'[^']*'|"[^"]*"/
61
+ },
62
+ keywords : {
63
+ exp : /\b(arguments|break|case|continue|default|delete|do|else|false|for|function|if|in|instanceof|new|null|return|switch|this|true|typeof|var|void|while|with)\b/
64
+ },
65
+ global : {
66
+ exp : /\b(toString|valueOf|window|element|prototype|constructor|document|escape|unescape|parseInt|parseFloat|setTimeout|clearTimeout|setInterval|clearInterval|NaN|isNaN|Infinity)\b/
67
+ }
68
+ });
69
+
70
+ // ========
71
+ // = Ruby =
72
+ // ========
73
+ CodeHighlighter.addStyle("ruby",{
74
+ comment : {
75
+ exp : /#[^\n]+/
76
+ },
77
+ brackets : {
78
+ exp : /\(|\)/
79
+ },
80
+ string : {
81
+ exp : /'[^']*'|"[^"]*"/
82
+ },
83
+ keywords : {
84
+ exp : /\b(do|end|self|class|def|if|module|yield|then|else|for|until|unless|while|elsif|case|when|break|retry|redo|rescue|require|raise)\b/
85
+ },
86
+ symbol : {
87
+ exp : /(:[A-Za-z0-9_!?]+)/
88
+ },
89
+ attribute : {
90
+ exp : /(@[A-Za-z0-9_!?]+)/
91
+ }
92
+ });
@@ -0,0 +1,68 @@
1
+
2
+ /* ======================= */
3
+ /* = Syntax Highlighting = */
4
+ /* ======================= */
5
+ .javascript .comment, .ruby .comment {
6
+ color : green;
7
+ }
8
+
9
+ .javascript .string, .ruby .string {
10
+ color : teal;
11
+ }
12
+
13
+ .javascript .keywords, .ruby .keywords {
14
+ color : navy;
15
+ }
16
+
17
+ .javascript .global {
18
+ color : blue;
19
+ }
20
+
21
+ .javascript .brackets, .ruby .brackets {
22
+ color : navy;
23
+ }
24
+
25
+ .css .comment {
26
+ color : gray;
27
+ }
28
+
29
+ .css .properties {
30
+ color : navy;
31
+ }
32
+
33
+ .css .selectors {
34
+ color : maroon;
35
+ font-weight : bold;
36
+ }
37
+
38
+ .css .units {
39
+ color :red;
40
+ }
41
+
42
+ .css .urls {
43
+ color :green;
44
+ }
45
+
46
+ .html .tag {
47
+ color : purple;
48
+ }
49
+
50
+ .html .comment {
51
+ color : gray;
52
+ font-style: italic;
53
+ }
54
+
55
+ .html .string {
56
+ color : navy;
57
+ }
58
+
59
+ .html .doctype {
60
+ color : teal;
61
+ }
62
+
63
+ .ruby .symbol {
64
+ color: red;
65
+ }
66
+ .ruby .attribute {
67
+ color: teal;
68
+ }
@@ -0,0 +1,66 @@
1
+ * {
2
+ margin: 0px;
3
+ padding: 0px;
4
+ }
5
+
6
+ BODY {
7
+ font-family: "tahoma";
8
+ background: #555;
9
+ }
10
+
11
+ BODY BUTTON {
12
+ padding: 3px 10px;
13
+ }
14
+
15
+ .page-container {
16
+ width: 650px;
17
+ margin: 0 auto;
18
+ }
19
+
20
+ .header {
21
+ background: #0080FF;
22
+ padding: 10px 25px;
23
+ color: #FFF;
24
+ }
25
+
26
+ .subtitle {
27
+ font-size: 75%;
28
+ font-weight: normal;
29
+ color: #6CF;
30
+ }
31
+
32
+ .navigation {
33
+ background: #222;
34
+ color: #999;
35
+ padding: 5px 10px;
36
+ }
37
+ .navigation A {
38
+ color: #DDD;
39
+ font-size: 90%;
40
+ }
41
+ .navigation A:hover {
42
+ color: #FFF;
43
+ }
44
+
45
+ .contents {
46
+ padding: 10px 25px;
47
+ background: #EEE;
48
+ padding-top: 50px;
49
+ }
50
+ .contents h2, .contents h3, .contents h4 {
51
+ color: #00367E;
52
+ }
53
+ .contents P {
54
+ padding: 10px 0px;
55
+ }
56
+
57
+ .post {
58
+ padding-bottom: 50px;
59
+ }
60
+
61
+ .footer {
62
+ padding-top: 15px;
63
+ font-size: 80%;
64
+ color: #999;
65
+ text-align: center;
66
+ }
@@ -0,0 +1,36 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6
+ <title>{{ site.title }}</title>
7
+ <script src="{{ 'theme/scripts/code_highlighter.js' | uri_rel }}"></script>
8
+ <script src="{{ 'theme/scripts/code_syntax.js' | uri_rel }}"></script>
9
+ <link rel="stylesheet" href="{{ 'theme/styles/main.css' | uri_rel }}" type="text/css" media="screen" charset="utf-8"/>
10
+ <link rel="stylesheet" href="{{ 'theme/styles/code_syntax.css' | uri_rel }}" type="text/css" media="screen" charset="utf-8"/>
11
+ {{ this.head }}
12
+ </head>
13
+ <body>
14
+ <div class="page-container">
15
+ <div class="header">
16
+ <h1>{{ site.title }}</h1>
17
+ <div class="subtitle">
18
+ {{ site.subtitle }}
19
+ </div>
20
+ </div>
21
+ <div class="navigation">
22
+ <a href="{{ page.home | uri_rel }}">Home</a>
23
+ ::
24
+ <a href="{{ posts | uri_rel }}">Archive</a>
25
+ ::
26
+ <a href="{{ page.about | uri_rel }}">About</a>
27
+ </div>
28
+ <div class="contents">
29
+ {{ content }}
30
+ </div>
31
+ <div class="footer">
32
+ {{ site.copyright }}
33
+ </div>
34
+ </div>
35
+ </body>
36
+ </html>
@@ -0,0 +1,7 @@
1
+ <meta name="layout" content="main"/>
2
+ <div class="article">
3
+ <h2>{{ this.title }}</h2>
4
+ <div class="body">
5
+ {{ this.body }}
6
+ </div>
7
+ </div>
@@ -0,0 +1,8 @@
1
+ <meta name="layout" content="main">
2
+ <div class="articles">
3
+ {% for article in articles %}
4
+ <div class="article summary">
5
+ <h2><a href="{{ article | uri_rel }}">{{ article.title }}</a></h2>
6
+ </div>
7
+ {% endfor %}
8
+ </div>
@@ -0,0 +1,25 @@
1
+ <meta name="layout" content=""/>
2
+ <?xml version="1.0" encoding="utf-8"?>
3
+ <feed xmlns="http://www.w3.org/2005/Atom">
4
+
5
+ <title>{{ site.title }}</title>
6
+ <link href="{{ feed.base_url }}/{{ feed.filename }}" rel="self"/>
7
+ <link href="{{ feed.base_url }}/"/>
8
+ <updated>{{ site.time | date_to_xmlschema }}</updated>
9
+ <id>{{ feed.base_url }}/</id>
10
+ <author>
11
+ <name>{{ feed.author.name }}</name>
12
+ <email>{{ feed.author.email }}</email>
13
+ </author>
14
+
15
+ {% for post in posts %}
16
+ <entry>
17
+ <title>{{ post.title }}</title>
18
+ <link href="{{ feed.base_url }}{{ post.content_path }}"/>
19
+ <updated>{{ post.publish_date | date_to_xmlschema }}</updated>
20
+ <id>{{ feed.base_url }}{{ post.number }}</id>
21
+ <content type="html">{{ post.summary | xml_escape }}</content>
22
+ </entry>
23
+ {% endfor %}
24
+
25
+ </feed>
@@ -0,0 +1,7 @@
1
+ <meta name="layout" content="main"/>
2
+ <div class="page">
3
+ <h2>{{ this.title }}</h2>
4
+ <div class="body">
5
+ {{ this.body }}
6
+ </div>
7
+ </div>
@@ -0,0 +1,10 @@
1
+ <meta name="layout" content="main">
2
+ <div class="pages">
3
+ {% for page in pages %}
4
+ {% unless page.is_homepage %}
5
+ <div class="page summary">
6
+ <h2><a href="{{ page | uri_rel }}">{{ page.title }}</a></h2>
7
+ </div>
8
+ {% endunless %}
9
+ {% endfor %}
10
+ </div>
@@ -0,0 +1,22 @@
1
+ <meta name="layout" content="main"/>
2
+ <div class="post">
3
+ <h2>{{ this.title }}</h2>
4
+ <div class="body">
5
+ {{ this.summary }}
6
+ {{ this.body }}
7
+ </div>
8
+ <div class="meta">
9
+ Published on {{ this.publish_date | short_date }}. {{ this.body | number_of_words }} words.
10
+ </div>
11
+ <div>
12
+ <div>
13
+ {% if this.prev %}
14
+ <a href="{{ this.prev | uri_rel }}">&laquo; {{ this.prev.title }}</a>
15
+ {% endif %}
16
+ <a href="{{ page.home | uri_rel }}">Home</a>
17
+ {% if this.next %}
18
+ <a href="{{ this.next | uri_rel }}">{{ this.next.title }} &raquo;</a>
19
+ {% endif %}
20
+ </div>
21
+ </div>
22
+ </div>
@@ -0,0 +1,10 @@
1
+ <meta name="layout" content="main">
2
+ <div class="posts">
3
+ {% for post in posts %}
4
+ <div class="post summary">
5
+ <h2>{{ post.title }} <span>{{ post.publish_date | short_date }}</span></h2>
6
+ {{ post.summary }}
7
+ <a href="{{ post | uri_rel }}">Read more...</a>
8
+ </div>
9
+ {% endfor %}
10
+ </div>
@@ -0,0 +1,82 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
5
+ <title>My Site</title>
6
+ <script src="theme/scripts/code_highlighter.js"></script>
7
+ <script src="theme/scripts/code_syntax.js"></script>
8
+ <link href="theme/styles/main.css" rel="stylesheet" type="text/css" media="screen" charset="utf-8" />
9
+ <link href="theme/styles/code_syntax.css" rel="stylesheet" type="text/css" media="screen" charset="utf-8" />
10
+
11
+ </head>
12
+ <body>
13
+ <div class="page-container">
14
+ <div class="header">
15
+ <h1>My Site</h1>
16
+ <div class="subtitle">
17
+ ... is a testacular site. Ew, that doesn't sound right at all.
18
+ </div>
19
+ </div>
20
+ <div class="navigation">
21
+ <a href="index.html">Home</a>
22
+ ::
23
+ <a href="posts/index.html">Archive</a>
24
+ ::
25
+ <a href="pages/about/index.html">About</a>
26
+ </div>
27
+ <div class="contents">
28
+
29
+ <div class="page">
30
+ <h2>Welcome!</h2>
31
+ <div class="body">
32
+
33
+ <p>I'm the home page, nice huh?</p>
34
+
35
+ <h1>Blog Entries:</h1>
36
+ <div class="home">
37
+
38
+
39
+ <div class="post summary">
40
+ <h2>Life is quite fun, really</h2>
41
+ <div class="body">
42
+
43
+ <p>Summary is as summary does.</p>
44
+
45
+ <p><a href="posts/life-is-quite-fun-really/index.html">Read more...</a></p>
46
+ </div>
47
+ <div class="meta">Published on 12/18/2008.</div>
48
+ </div>
49
+
50
+
51
+ </div>
52
+
53
+ <div class="archive">
54
+ <h3>Recently:</h3>
55
+
56
+
57
+ <div class="post summary">
58
+ <h4>
59
+ <a href="posts/fun-for-the-whole-family/index.html">Fun for the whole family</a>
60
+ <span class="meta">12/18/2008</span>
61
+ </h4>
62
+ </div>
63
+
64
+ <div class="post summary">
65
+ <h4>
66
+ <a href="posts/new-blog/index.html">New Blog!</a>
67
+ <span class="meta">12/12/2008</span>
68
+ </h4>
69
+ </div>
70
+
71
+
72
+ </div>
73
+
74
+ </div>
75
+ </div>
76
+ </div>
77
+ <div class="footer">
78
+ &copy; 2008 Me. All rights reserved.
79
+ </div>
80
+ </div>
81
+ </body>
82
+ </html>
@@ -0,0 +1,43 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
5
+ <title>My Site</title>
6
+ <script src="../../theme/scripts/code_highlighter.js"></script>
7
+ <script src="../../theme/scripts/code_syntax.js"></script>
8
+ <link href="../../theme/styles/main.css" rel="stylesheet" type="text/css" media="screen" charset="utf-8" />
9
+ <link href="../../theme/styles/code_syntax.css" rel="stylesheet" type="text/css" media="screen" charset="utf-8" />
10
+
11
+ </head>
12
+ <body>
13
+ <div class="page-container">
14
+ <div class="header">
15
+ <h1>My Site</h1>
16
+ <div class="subtitle">
17
+ ... is a testacular site. Ew, that doesn't sound right at all.
18
+ </div>
19
+ </div>
20
+ <div class="navigation">
21
+ <a href="../../index.html">Home</a>
22
+ ::
23
+ <a href="../../posts/index.html">Archive</a>
24
+ ::
25
+ <a href="../../pages/about/index.html">About</a>
26
+ </div>
27
+ <div class="contents">
28
+
29
+ <div class="page">
30
+ <h2>About</h2>
31
+ <div class="body">
32
+
33
+ <p>About this site.</p>
34
+
35
+ </div>
36
+ </div>
37
+ </div>
38
+ <div class="footer">
39
+ &copy; 2008 Me. All rights reserved.
40
+ </div>
41
+ </div>
42
+ </body>
43
+ </html>
@@ -0,0 +1,82 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
5
+ <title>My Site</title>
6
+ <script src="../../theme/scripts/code_highlighter.js"></script>
7
+ <script src="../../theme/scripts/code_syntax.js"></script>
8
+ <link href="../../theme/styles/main.css" rel="stylesheet" type="text/css" media="screen" charset="utf-8" />
9
+ <link href="../../theme/styles/code_syntax.css" rel="stylesheet" type="text/css" media="screen" charset="utf-8" />
10
+
11
+ </head>
12
+ <body>
13
+ <div class="page-container">
14
+ <div class="header">
15
+ <h1>My Site</h1>
16
+ <div class="subtitle">
17
+ ... is a testacular site. Ew, that doesn't sound right at all.
18
+ </div>
19
+ </div>
20
+ <div class="navigation">
21
+ <a href="../../index.html">Home</a>
22
+ ::
23
+ <a href="../../posts/index.html">Archive</a>
24
+ ::
25
+ <a href="../../pages/about/index.html">About</a>
26
+ </div>
27
+ <div class="contents">
28
+
29
+ <div class="page">
30
+ <h2>Welcome!</h2>
31
+ <div class="body">
32
+
33
+ <p>I'm the home page, nice huh?</p>
34
+
35
+ <h1>Blog Entries:</h1>
36
+ <div class="home">
37
+
38
+
39
+ <div class="post summary">
40
+ <h2>Life is quite fun, really</h2>
41
+ <div class="body">
42
+
43
+ <p>Summary is as summary does.</p>
44
+
45
+ <p><a href="../../posts/life-is-quite-fun-really/index.html">Read more...</a></p>
46
+ </div>
47
+ <div class="meta">Published on 12/18/2008.</div>
48
+ </div>
49
+
50
+
51
+ </div>
52
+
53
+ <div class="archive">
54
+ <h3>Recently:</h3>
55
+
56
+
57
+ <div class="post summary">
58
+ <h4>
59
+ <a href="../../posts/fun-for-the-whole-family/index.html">Fun for the whole family</a>
60
+ <span class="meta">12/18/2008</span>
61
+ </h4>
62
+ </div>
63
+
64
+ <div class="post summary">
65
+ <h4>
66
+ <a href="../../posts/new-blog/index.html">New Blog!</a>
67
+ <span class="meta">12/12/2008</span>
68
+ </h4>
69
+ </div>
70
+
71
+
72
+ </div>
73
+
74
+ </div>
75
+ </div>
76
+ </div>
77
+ <div class="footer">
78
+ &copy; 2008 Me. All rights reserved.
79
+ </div>
80
+ </div>
81
+ </body>
82
+ </html>
@@ -0,0 +1,52 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
5
+ <title>My Site</title>
6
+ <script src="../theme/scripts/code_highlighter.js"></script>
7
+ <script src="../theme/scripts/code_syntax.js"></script>
8
+ <link href="../theme/styles/main.css" rel="stylesheet" type="text/css" media="screen" charset="utf-8" />
9
+ <link href="../theme/styles/code_syntax.css" rel="stylesheet" type="text/css" media="screen" charset="utf-8" />
10
+
11
+ </head>
12
+ <body>
13
+ <div class="page-container">
14
+ <div class="header">
15
+ <h1>My Site</h1>
16
+ <div class="subtitle">
17
+ ... is a testacular site. Ew, that doesn't sound right at all.
18
+ </div>
19
+ </div>
20
+ <div class="navigation">
21
+ <a href="../index.html">Home</a>
22
+ ::
23
+ <a href="../posts/index.html">Archive</a>
24
+ ::
25
+ <a href="../pages/about/index.html">About</a>
26
+ </div>
27
+ <div class="contents">
28
+
29
+ <div class="pages">
30
+
31
+
32
+ <div class="page summary">
33
+ <h2><a href="../pages/about/index.html">About</a></h2>
34
+ </div>
35
+
36
+
37
+
38
+ <div class="page summary">
39
+ <h2><a href="../pages/projects/index.html">Projects</a></h2>
40
+ </div>
41
+
42
+
43
+
44
+
45
+ </div>
46
+ </div>
47
+ <div class="footer">
48
+ &copy; 2008 Me. All rights reserved.
49
+ </div>
50
+ </div>
51
+ </body>
52
+ </html>
@@ -0,0 +1,43 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
5
+ <title>My Site</title>
6
+ <script src="../../theme/scripts/code_highlighter.js"></script>
7
+ <script src="../../theme/scripts/code_syntax.js"></script>
8
+ <link href="../../theme/styles/main.css" rel="stylesheet" type="text/css" media="screen" charset="utf-8" />
9
+ <link href="../../theme/styles/code_syntax.css" rel="stylesheet" type="text/css" media="screen" charset="utf-8" />
10
+
11
+ </head>
12
+ <body>
13
+ <div class="page-container">
14
+ <div class="header">
15
+ <h1>My Site</h1>
16
+ <div class="subtitle">
17
+ ... is a testacular site. Ew, that doesn't sound right at all.
18
+ </div>
19
+ </div>
20
+ <div class="navigation">
21
+ <a href="../../index.html">Home</a>
22
+ ::
23
+ <a href="../../posts/index.html">Archive</a>
24
+ ::
25
+ <a href="../../pages/about/index.html">About</a>
26
+ </div>
27
+ <div class="contents">
28
+
29
+ <div class="page">
30
+ <h2>Projects</h2>
31
+ <div class="body">
32
+
33
+ <p>My projects are fun projects!</p>
34
+
35
+ </div>
36
+ </div>
37
+ </div>
38
+ <div class="footer">
39
+ &copy; 2008 Me. All rights reserved.
40
+ </div>
41
+ </div>
42
+ </body>
43
+ </html>