jekyll_generator 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.0.1 2008-12-22
2
+
3
+ * Fixed manifest
4
+
1
5
  == 1.0.0 2008-12-21
2
6
 
3
7
  * 1 major enhancement:
data/Manifest.txt CHANGED
@@ -5,6 +5,7 @@ README.rdoc
5
5
  Rakefile
6
6
  app_generators/jekyll_generator/USAGE
7
7
  app_generators/jekyll_generator/jekyll_generator_generator.rb
8
+ app_generators/jekyll_generator/templates/_posts/first_post.markdown
8
9
  app_generators/jekyll_generator/templates/atom.xml
9
10
  app_generators/jekyll_generator/templates/config.yml
10
11
  app_generators/jekyll_generator/templates/index.markdown
@@ -31,3 +32,17 @@ spec/jekyll_generator_spec.rb
31
32
  spec/spec.opts
32
33
  spec/spec_helper.rb
33
34
  tasks/rspec.rake
35
+ website/Rakefile
36
+ website/_layouts/default.html
37
+ website/_layouts/post.html
38
+ website/_posts/2008-12-21-first-post.markdown
39
+ website/_site/2008/12/21/first-post.html
40
+ website/_site/Rakefile
41
+ website/_site/atom.xml
42
+ website/_site/config.yml
43
+ website/_site/css/stylesheet.css
44
+ website/_site/index.html
45
+ website/atom.xml
46
+ website/config.yml
47
+ website/css/stylesheet.css
48
+ website/index.markdown
@@ -0,0 +1,6 @@
1
+ ---
2
+ layout: post
3
+ title: Welcome to '<%= title %>'
4
+ ---
5
+
6
+ <%= title %> is going to be an awesome project.
@@ -2,7 +2,7 @@ $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
4
  module JekyllGenerator
5
- VERSION = '1.0.0'
5
+ VERSION = '1.0.1'
6
6
  end
7
7
 
8
8
  begin
data/website/Rakefile ADDED
@@ -0,0 +1,3 @@
1
+ require "rake"
2
+
3
+ task :default
@@ -0,0 +1,61 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2
+ "http://www.w3.org/TR/html4/strict.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width = 750">
7
+ <link rel="stylesheet" type="text/css" href="css/stylesheet.css" charset="utf-8">
8
+ <title>{{ page.title }}</title>
9
+ </head>
10
+ <body id="intro">
11
+ <div id="wrapper">
12
+ <div id="header" onclick="javascript:window.location='/jekyll_generator/'">
13
+ <h1>jekyll_generator</h1>
14
+ </div>
15
+ <div id="navigation">
16
+ <ul>
17
+ <li id="navi_intro">
18
+ <a href="/jekyll_generator/">Intro</a>
19
+ </li>
20
+ <li id="navi_source">
21
+ <a href="http://github.com/drnic/jekyll_generator">Source</a>
22
+ </li>
23
+ <li id="navi_tickets">
24
+ <a href="http://drnic.lighthouseapp.com/projects/22261-jekyll_generator/tickets">Tickets</a>
25
+ </li>
26
+ </ul>
27
+ </div>
28
+ <div id="page_body">
29
+ <div id="content">
30
+ {{ content }}
31
+ </div>
32
+ <div id="sidebar">
33
+ <div class="item">
34
+ <!-- Tickets -->
35
+ <h4><a href="http://drnic.lighthouseapp.com/projects/22261-jekyll_generator/tickets">Tickets</a></h4>
36
+ <p>
37
+ Found a bug?<br />
38
+ Request a feature?
39
+ </p>
40
+ </div>
41
+ <div class="item">
42
+ <!-- Blog -->
43
+ <h4><a href="atom.xml" id="rss_feed" name="rss_feed">Blog Posts</a></h4>
44
+ <p>
45
+ {% for post in site.posts %}
46
+ <span>{{ post.date | date_to_string }}</span> » <a href="/jekyll_generator{{ post.url }}">{{ post.title }}</a><br>
47
+ {% endfor %}
48
+ </p>
49
+ </div>
50
+ <div class="item">
51
+ <script type="text/javascript" src="http://disqus.com/forums/jekyll-generator/combination_widget.js?num_items=5&color=orange&default_tab=recent"></script>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ <div id="footer">
56
+ <p><a href="http://github.com/drnic/jekyll_generator/tree/gh-pages" title="drnic's jekyll_generator at gh-pages &mdash; GitHub">website source</a> | generated by <a href="http://github.com/mojombo/jekyll">jekyll</a> and <a href="http://drnic.github.com/jekyll_generator">jekyll_generator</a> | <a href="http://drnicwilliams.com/" title="Dr Nic">Dr Nic</a> @ <a href="http://mocra.com" title="Mocra - the premier iPhone/Rails consultancy">Mocra</a></p>
57
+ </div>
58
+ </div>
59
+ <a href="http://github.com/drnic/jekyll_generator"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
60
+ </body>
61
+ </html>
@@ -0,0 +1,86 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2
+ "http://www.w3.org/TR/html4/strict.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width = 750">
7
+ <link rel="stylesheet" type="text/css" href="../../../css/stylesheet.css" charset="utf-8">
8
+ <title>{{ page.title }}</title>
9
+ </head>
10
+ <body id="intro">
11
+ <div id="wrapper">
12
+ <div id="header" onclick="javascript:window.location='/jekyll_generator/'">
13
+ <h1>jekyll_generator</h1>
14
+ </div>
15
+ <div id="navigation">
16
+ <ul>
17
+ <li id="navi_intro">
18
+ <a href="/jekyll_generator/">Intro</a>
19
+ </li>
20
+ <li id="navi_source">
21
+ <a href="http://github.com/drnic/jekyll_generator">Source</a>
22
+ </li>
23
+ <li id="navi_tickets">
24
+ <a href="http://drnic.lighthouseapp.com/projects/22261-jekyll_generator/tickets">Tickets</a>
25
+ </li>
26
+ </ul>
27
+ </div>
28
+ <div id="page_body">
29
+ <div id="content">
30
+ {{ content }}
31
+
32
+ <script type="text/javascript">var disqus_url = "http://drnic.github.com/jekyll_generator/{{ post.url }}"; var disqus_title ="{{ post.title }}";</script>
33
+ <div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/jekyll-generator/embed.js"></script>
34
+ <a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
35
+ <script type="text/javascript">
36
+ //<![CDATA[
37
+ (function() {
38
+ var links = document.getElementsByTagName('a');
39
+ var query = '?';
40
+ for(var i = 0; i < links.length; i++) {
41
+ if(links[i].href.indexOf('#disqus_thread') >= 0) {
42
+ query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
43
+ }
44
+ }
45
+ document.write('<script type="text/javascript" src="http://disqus.com/forums/jekyll-generator/get_num_replies.js' + query + '"></' + 'script>');
46
+ })();
47
+ //]]>
48
+ </script>
49
+
50
+ </div>
51
+ <div id="sidebar">
52
+ <div class="item">
53
+ <!-- Download -->
54
+ <h4>Install Bundle</h4>
55
+ <p>Coming soon</p>
56
+ </div>
57
+ <div class="item">
58
+ <!-- Tickets -->
59
+ <h4><a href="http://drnic.lighthouseapp.com/projects/22261-jekyll_generator/tickets" id="tickets" name="tickets">Tickets</a></h4>
60
+ <p>
61
+ Found a bug?<br />
62
+ Request a feature?
63
+ </p>
64
+ </div>
65
+ <div class="item">
66
+ <!-- Blog -->
67
+ <a href="../../../atom.xml" id="rss_feed" name="rss_feed">Blog Posts</a>
68
+ <h4>Blog Posts</h4>
69
+ <p>
70
+ {% for post in site.posts %}
71
+ <span>{{ post.date | date_to_string }}</span> » <a href="{{ post.url }}">{{ post.title }}</a><br>
72
+ {% endfor %}
73
+ </p>
74
+ </div>
75
+ <div class="item">
76
+ <script type="text/javascript" src="http://disqus.com/forums/jekyll-generator/combination_widget.js?num_items=5&color=orange&default_tab=recent"></script>
77
+ </div>
78
+ </div>
79
+ </div>
80
+ <div id="footer">
81
+ <p><a href="http://github.com/drnic/jekyll_generator/tree/gh-pages" title="drnic's jekyll_generator at gh-pages &mdash; GitHub">website source</a> | generated by <a href="http://github.com/mojombo/jekyll">jekyll</a> and <a href="http://drnic.github.com/jekyll_generator">jekyll_generator</a> | <a href="http://drnicwilliams.com/" title="Dr Nic">Dr Nic</a> @ <a href="http://mocra.com" title="Mocra - the premier iPhone/Rails consultancy">Mocra</a></p>
82
+ </div>
83
+ </div>
84
+ <a href="http://github.com/drnic/jekyll_generator"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
85
+ </body>
86
+ </html>
@@ -0,0 +1,8 @@
1
+ ---
2
+ layout: post
3
+ title: The first post was generated
4
+ ---
5
+
6
+ This project, [jekyll\_generator](http://drnic.github.com/jekyll_generator), used itself to create its own website and blogging engine.
7
+
8
+ When you create a new website it creates the first post. This is that post!
@@ -0,0 +1,87 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2
+ "http://www.w3.org/TR/html4/strict.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width = 750">
7
+ <link rel="stylesheet" type="text/css" href="../../../css/stylesheet.css" charset="utf-8">
8
+ <title>The first post was generated</title>
9
+ </head>
10
+ <body id="intro">
11
+ <div id="wrapper">
12
+ <div id="header" onclick="javascript:window.location='/jekyll_generator/'">
13
+ <h1>jekyll_generator</h1>
14
+ </div>
15
+ <div id="navigation">
16
+ <ul>
17
+ <li id="navi_intro">
18
+ <a href="/jekyll_generator/">Intro</a>
19
+ </li>
20
+ <li id="navi_source">
21
+ <a href="http://github.com/drnic/jekyll_generator">Source</a>
22
+ </li>
23
+ <li id="navi_tickets">
24
+ <a href="http://drnic.lighthouseapp.com/projects/22261-jekyll_generator/tickets">Tickets</a>
25
+ </li>
26
+ </ul>
27
+ </div>
28
+ <div id="page_body">
29
+ <div id="content">
30
+ <p>This project, <a href="http://drnic.github.com/jekyll_generator">jekyll_generator</a>, used itself to create its own website and blogging engine.</p>
31
+
32
+ <p>When you create a new website it creates the first post. This is that post!</p>
33
+
34
+
35
+ <script type="text/javascript">var disqus_url = "http://drnic.github.com/jekyll_generator/"; var disqus_title ="";</script>
36
+ <div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/jekyll-generator/embed.js"></script>
37
+ <a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
38
+ <script type="text/javascript">
39
+ //<![CDATA[
40
+ (function() {
41
+ var links = document.getElementsByTagName('a');
42
+ var query = '?';
43
+ for(var i = 0; i < links.length; i++) {
44
+ if(links[i].href.indexOf('#disqus_thread') >= 0) {
45
+ query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
46
+ }
47
+ }
48
+ document.write('<script type="text/javascript" src="http://disqus.com/forums/jekyll-generator/get_num_replies.js' + query + '"></' + 'script>');
49
+ })();
50
+ //]]>
51
+ </script>
52
+
53
+ </div>
54
+ <div id="sidebar">
55
+ <div class="item">
56
+ <!-- Download -->
57
+ <h4>Install Bundle</h4>
58
+ <p>Coming soon</p>
59
+ </div>
60
+ <div class="item">
61
+ <!-- Tickets -->
62
+ <h4><a href="http://drnic.lighthouseapp.com/projects/22261-jekyll_generator/tickets" id="tickets" name="tickets">Tickets</a></h4>
63
+ <p>
64
+ Found a bug?<br />
65
+ Request a feature?
66
+ </p>
67
+ </div>
68
+ <div class="item">
69
+ <!-- Blog -->
70
+ <a href="../../../atom.xml" id="rss_feed" name="rss_feed">Blog Posts</a>
71
+ <h4>Blog Posts</h4>
72
+ <p>
73
+
74
+ </p>
75
+ </div>
76
+ <div class="item">
77
+ <script type="text/javascript" src="http://disqus.com/forums/jekyll-generator/combination_widget.js?num_items=5&color=orange&default_tab=recent"></script>
78
+ </div>
79
+ </div>
80
+ </div>
81
+ <div id="footer">
82
+ <p><a href="http://github.com/drnic/jekyll_generator/tree/gh-pages" title="drnic's jekyll_generator at gh-pages &mdash; GitHub">website source</a> | generated by <a href="http://github.com/mojombo/jekyll">jekyll</a> and <a href="http://drnic.github.com/jekyll_generator">jekyll_generator</a></p>
83
+ </div>
84
+ </div>
85
+ <a href="http://github.com/drnic/jekyll_generator"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
86
+ </body>
87
+ </html>
@@ -0,0 +1,3 @@
1
+ require "rake"
2
+
3
+ task :default
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <feed xmlns="http://www.w3.org/2005/Atom">
3
+
4
+ <title>jekyll_generator</title>
5
+ <link href="http://drnic.github.com/jekyll_generator/atom.xml" rel="self"/>
6
+ <link href="http://drnic.github.com/jekyll_generator/"/>
7
+ <updated>2008-12-21T22:45:21+10:00</updated>
8
+ <id>http://drnic.github.com/jekyll_generator/</id>
9
+ <author>
10
+ <name>Dr Nic Williams</name>
11
+ <email>drnicwilliams@gmail.com</email>
12
+ </author>
13
+
14
+
15
+ <entry>
16
+ <title>The first post was generated</title>
17
+ <link href="http://drnic.github.com/jekyll_generator/2008/12/21/first-post.html"/>
18
+ <updated>2008-12-21T00:00:00+10:00</updated>
19
+ <id>http://drnic.github.com/jekyll_generator/2008/12/21/first-post</id>
20
+ <content type="html">&lt;p&gt;This project, &lt;a href="http://drnic.github.com/jekyll_generator"&gt;jekyll_generator&lt;/a&gt;, used itself to create its own website and blogging engine.&lt;/p&gt;
21
+
22
+ &lt;p&gt;When you create a new website it creates the first post. This is that post!&lt;/p&gt;
23
+ </content>
24
+ </entry>
25
+
26
+
27
+ </feed>
@@ -0,0 +1,6 @@
1
+ ---
2
+ :theme: plain
3
+ :title: jekyll_generator
4
+ :name: jekyll_generator
5
+ :github_user: drnic
6
+ :header_color: E9C000
@@ -0,0 +1,166 @@
1
+ html {
2
+ background: #1e1e1e;
3
+ }
4
+ body {
5
+ /* background: transparent url("http://macromates.com/images/site/bg_body") repeat-y 50% 0px;*/
6
+ /* font: 0.72em/170% "Lucida Grande", Verdana, Helvetica, sans-serif;*/
7
+ font: 12px "Lucida Grande", Verdana, Helvetica, sans-serif;
8
+ margin: 0;
9
+ padding: 0;
10
+ }
11
+ a[href] {
12
+ color: #525151;
13
+ }
14
+
15
+ #wrapper { /* IE workaround */
16
+ margin: 0 auto;
17
+ padding: 0;
18
+ width: 750px;
19
+ }
20
+ html>body #wrapper {
21
+ margin: 0 auto;
22
+ padding: 0;
23
+ width: auto;
24
+ max-width: 750px;
25
+ }
26
+
27
+ #header {
28
+ position: relative;
29
+ background: #E9C000;
30
+ height: 113px;
31
+ }
32
+ #header h1 {
33
+ position: absolute;
34
+ left: 60px;
35
+ top: 40px;
36
+ width: 380px;
37
+ height: 50px;
38
+ cursor: pointer;
39
+ color: white;
40
+ }
41
+
42
+ #navigation {
43
+ background: #232323;
44
+ border-bottom: 1px solid #171717;
45
+ margin: 0;
46
+ padding: 0.5em 0;
47
+ width: 100%;
48
+ }
49
+ #navigation ul {
50
+ margin: 0;
51
+ padding: 0;
52
+ list-style: none;
53
+ }
54
+ #navigation li {
55
+ display: inline;
56
+ margin: 0;
57
+ padding: 0 0 0 25px;
58
+ text-shadow: 0px 2px 4px #000;
59
+ }
60
+ #navigation li a {
61
+ color: #5b5b5b;
62
+ text-decoration: none;
63
+ }
64
+
65
+ #intro #navi_intro a,
66
+ #blog #navi_blog a,
67
+ #toc #navi_manual a,
68
+ #chapter #navi_manual a,
69
+ #wiki #navi_wiki a,
70
+ #community #navi_community a,
71
+ #contact #navi_contact a,
72
+ #navigation li a:hover {
73
+ color: #fff;
74
+ }
75
+
76
+ #page_body {
77
+ margin: 0;
78
+ padding: 0;
79
+ position: relative;
80
+ overflow: hidden;
81
+ }
82
+
83
+ #content { /* IE workaround */
84
+ margin: 0;
85
+ padding: 25px;
86
+ width: 430px;
87
+ height: 584px; /* (64+2*20+2)*6 - 2 - 2*25 */
88
+ background: #fff;
89
+ }
90
+ html>body #content {
91
+ margin: 0;
92
+ padding: 25px;
93
+ width: auto;
94
+ height: auto;
95
+ max-width: 430px;
96
+ min-height: 584px; /* (64+2*20+2)*6 - 2 - 2*25 */
97
+ background: #fff;
98
+ }
99
+ #content :first-child {
100
+ margin-top: 0px;
101
+ }
102
+ #content :first-child + h1 {
103
+ margin-top: 0px;
104
+ }
105
+
106
+ #sidebar {
107
+ margin: 0;
108
+ padding: 0;
109
+ top: 0px;
110
+ left: 480px;
111
+ width: 270px;
112
+ background-color: #e8eaea;
113
+ position: absolute;
114
+ }
115
+ #sidebar .item {
116
+ color: #5b5b5b;
117
+ border-bottom: 2px solid #fff;
118
+ padding: 20px;
119
+ min-height: 64px;
120
+ }
121
+ #sidebar .item * {
122
+ margin: 0px;
123
+ }
124
+ #sidebar .item h4 {
125
+ margin-bottom: 1em;
126
+ font-size: 120%;
127
+ }
128
+ #sidebar .item p {
129
+ font-size: 90%;
130
+ }
131
+ #sidebar .item a {
132
+ text-decoration: none;
133
+ }
134
+ #sidebar .item a:hover {
135
+ text-decoration: underline;
136
+ }
137
+
138
+ #footer {
139
+ position: relative;
140
+ margin: 0;
141
+ padding: 0.75em 25px 0.75em 25px;
142
+ min-height: 1em;
143
+ clear: both;
144
+ color: #b5b5b5;
145
+ background: #2E2E2E;
146
+ }
147
+ #footer * {
148
+ margin: 0;
149
+ padding: 0;
150
+ }
151
+ #footer a {
152
+ color: #b5b5b5;
153
+ text-decoration: none;
154
+ }
155
+ #footer a:hover {
156
+ color: #2E2E2E;
157
+ background: #b5b5b5;
158
+ text-decoration: none;
159
+ }
160
+ #footer .left {
161
+ float: left;
162
+ }
163
+ #footer .right {
164
+ float: right;
165
+ }
166
+
@@ -0,0 +1,97 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2
+ "http://www.w3.org/TR/html4/strict.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width = 750">
7
+ <link rel="stylesheet" type="text/css" href="css/stylesheet.css" charset="utf-8">
8
+ <title>jekyll_generator</title>
9
+ </head>
10
+ <body id="intro">
11
+ <div id="wrapper">
12
+ <div id="header" onclick="javascript:window.location='/jekyll_generator/'">
13
+ <h1>jekyll_generator</h1>
14
+ </div>
15
+ <div id="navigation">
16
+ <ul>
17
+ <li id="navi_intro">
18
+ <a href="/jekyll_generator/">Intro</a>
19
+ </li>
20
+ <li id="navi_source">
21
+ <a href="http://github.com/drnic/jekyll_generator">Source</a>
22
+ </li>
23
+ <li id="navi_tickets">
24
+ <a href="http://drnic.lighthouseapp.com/projects/22261-jekyll_generator/tickets">Tickets</a>
25
+ </li>
26
+ </ul>
27
+ </div>
28
+ <div id="page_body">
29
+ <div id="content">
30
+ <p><strong>This website</strong> was generated by itself.</p>
31
+
32
+ <p><a href="http://github.com/drnic/jekyll_generator">jekyll_generator</a> is awesome. It is a nice generator for a Jekyll website including Disqus comments integration and some clean themes.</p>
33
+
34
+ <h1>Examples</h1>
35
+
36
+ <ul>
37
+ <li><a href="http://drnic.github.com/macruby-tmbundle">http://drnic.github.com/macruby-tmbundle</a></li>
38
+ <li><a href="http://drnic.github.com/jekyll%5C_generator">http://drnic.github.com/jekyll_generator</a> (this site)</li>
39
+ </ul>
40
+
41
+
42
+ <h1>Usage</h1>
43
+
44
+ <pre><code>cd to/your/project
45
+ jekyll_generator website --title "Name of Project"
46
+ cd website
47
+ jekyll
48
+ open _site/index.html
49
+ </code></pre>
50
+
51
+ <p>It is assumed that your project is already a git repository stored on github. The generators
52
+ all use this assumption to derive information about the project.</p>
53
+
54
+ <h1>Requirements</h1>
55
+
56
+ <p><code>jekyll</code> - this is not installed with jekyll_generator itself so to install it:</p>
57
+
58
+ <pre><code>sudo gem source http://gems.github.com/
59
+ sudo gem install mojombo-jekyll
60
+ </code></pre>
61
+
62
+ <h1>Installation</h1>
63
+
64
+ <pre><code>sudo gem install jekyll_generator
65
+ </code></pre>
66
+
67
+ </div>
68
+ <div id="sidebar">
69
+ <div class="item">
70
+ <!-- Tickets -->
71
+ <h4><a href="http://drnic.lighthouseapp.com/projects/22261-jekyll_generator/tickets">Tickets</a></h4>
72
+ <p>
73
+ Found a bug?<br />
74
+ Request a feature?
75
+ </p>
76
+ </div>
77
+ <div class="item">
78
+ <!-- Blog -->
79
+ <h4><a href="atom.xml" id="rss_feed" name="rss_feed">Blog Posts</a></h4>
80
+ <p>
81
+
82
+ <span>21 Dec 2008</span> » <a href="/jekyll_generator/2008/12/21/first-post.html">The first post was generated</a><br>
83
+
84
+ </p>
85
+ </div>
86
+ <div class="item">
87
+ <script type="text/javascript" src="http://disqus.com/forums/jekyll-generator/combination_widget.js?num_items=5&color=orange&default_tab=recent"></script>
88
+ </div>
89
+ </div>
90
+ </div>
91
+ <div id="footer">
92
+ <p><a href="http://github.com/drnic/jekyll_generator/tree/gh-pages" title="drnic's jekyll_generator at gh-pages &mdash; GitHub">website source</a> | generated by <a href="http://github.com/mojombo/jekyll">jekyll</a> and <a href="http://drnic.github.com/jekyll_generator">jekyll_generator</a></p>
93
+ </div>
94
+ </div>
95
+ <a href="http://github.com/drnic/jekyll_generator"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
96
+ </body>
97
+ </html>
data/website/atom.xml ADDED
@@ -0,0 +1,27 @@
1
+ ---
2
+ layout: nil
3
+ ---
4
+ <?xml version="1.0" encoding="utf-8"?>
5
+ <feed xmlns="http://www.w3.org/2005/Atom">
6
+
7
+ <title>jekyll_generator</title>
8
+ <link href="http://drnic.github.com/jekyll_generator/atom.xml" rel="self"/>
9
+ <link href="http://drnic.github.com/jekyll_generator/"/>
10
+ <updated>{{ site.time | date_to_xmlschema }}</updated>
11
+ <id>http://drnic.github.com/jekyll_generator/</id>
12
+ <author>
13
+ <name>Dr Nic Williams</name>
14
+ <email>drnicwilliams@gmail.com</email>
15
+ </author>
16
+
17
+ {% for post in site.posts %}
18
+ <entry>
19
+ <title>{{ post.title }}</title>
20
+ <link href="http://drnic.github.com/jekyll_generator{{ post.url }}"/>
21
+ <updated>{{ post.date | date_to_xmlschema }}</updated>
22
+ <id>http://drnic.github.com/jekyll_generator{{ post.id }}</id>
23
+ <content type="html">{{ post.content | xml_escape }}</content>
24
+ </entry>
25
+ {% endfor %}
26
+
27
+ </feed>
@@ -0,0 +1,6 @@
1
+ ---
2
+ :theme: plain
3
+ :title: jekyll_generator
4
+ :name: jekyll_generator
5
+ :github_user: drnic
6
+ :header_color: E9C000
@@ -0,0 +1,166 @@
1
+ html {
2
+ background: #1e1e1e;
3
+ }
4
+ body {
5
+ /* background: transparent url("http://macromates.com/images/site/bg_body") repeat-y 50% 0px;*/
6
+ /* font: 0.72em/170% "Lucida Grande", Verdana, Helvetica, sans-serif;*/
7
+ font: 12px "Lucida Grande", Verdana, Helvetica, sans-serif;
8
+ margin: 0;
9
+ padding: 0;
10
+ }
11
+ a[href] {
12
+ color: #525151;
13
+ }
14
+
15
+ #wrapper { /* IE workaround */
16
+ margin: 0 auto;
17
+ padding: 0;
18
+ width: 750px;
19
+ }
20
+ html>body #wrapper {
21
+ margin: 0 auto;
22
+ padding: 0;
23
+ width: auto;
24
+ max-width: 750px;
25
+ }
26
+
27
+ #header {
28
+ position: relative;
29
+ background: #E9C000;
30
+ height: 113px;
31
+ }
32
+ #header h1 {
33
+ position: absolute;
34
+ left: 60px;
35
+ top: 40px;
36
+ width: 380px;
37
+ height: 50px;
38
+ cursor: pointer;
39
+ color: white;
40
+ }
41
+
42
+ #navigation {
43
+ background: #232323;
44
+ border-bottom: 1px solid #171717;
45
+ margin: 0;
46
+ padding: 0.5em 0;
47
+ width: 100%;
48
+ }
49
+ #navigation ul {
50
+ margin: 0;
51
+ padding: 0;
52
+ list-style: none;
53
+ }
54
+ #navigation li {
55
+ display: inline;
56
+ margin: 0;
57
+ padding: 0 0 0 25px;
58
+ text-shadow: 0px 2px 4px #000;
59
+ }
60
+ #navigation li a {
61
+ color: #5b5b5b;
62
+ text-decoration: none;
63
+ }
64
+
65
+ #intro #navi_intro a,
66
+ #blog #navi_blog a,
67
+ #toc #navi_manual a,
68
+ #chapter #navi_manual a,
69
+ #wiki #navi_wiki a,
70
+ #community #navi_community a,
71
+ #contact #navi_contact a,
72
+ #navigation li a:hover {
73
+ color: #fff;
74
+ }
75
+
76
+ #page_body {
77
+ margin: 0;
78
+ padding: 0;
79
+ position: relative;
80
+ overflow: hidden;
81
+ }
82
+
83
+ #content { /* IE workaround */
84
+ margin: 0;
85
+ padding: 25px;
86
+ width: 430px;
87
+ height: 584px; /* (64+2*20+2)*6 - 2 - 2*25 */
88
+ background: #fff;
89
+ }
90
+ html>body #content {
91
+ margin: 0;
92
+ padding: 25px;
93
+ width: auto;
94
+ height: auto;
95
+ max-width: 430px;
96
+ min-height: 584px; /* (64+2*20+2)*6 - 2 - 2*25 */
97
+ background: #fff;
98
+ }
99
+ #content :first-child {
100
+ margin-top: 0px;
101
+ }
102
+ #content :first-child + h1 {
103
+ margin-top: 0px;
104
+ }
105
+
106
+ #sidebar {
107
+ margin: 0;
108
+ padding: 0;
109
+ top: 0px;
110
+ left: 480px;
111
+ width: 270px;
112
+ background-color: #e8eaea;
113
+ position: absolute;
114
+ }
115
+ #sidebar .item {
116
+ color: #5b5b5b;
117
+ border-bottom: 2px solid #fff;
118
+ padding: 20px;
119
+ min-height: 64px;
120
+ }
121
+ #sidebar .item * {
122
+ margin: 0px;
123
+ }
124
+ #sidebar .item h4 {
125
+ margin-bottom: 1em;
126
+ font-size: 120%;
127
+ }
128
+ #sidebar .item p {
129
+ font-size: 90%;
130
+ }
131
+ #sidebar .item a {
132
+ text-decoration: none;
133
+ }
134
+ #sidebar .item a:hover {
135
+ text-decoration: underline;
136
+ }
137
+
138
+ #footer {
139
+ position: relative;
140
+ margin: 0;
141
+ padding: 0.75em 25px 0.75em 25px;
142
+ min-height: 1em;
143
+ clear: both;
144
+ color: #b5b5b5;
145
+ background: #2E2E2E;
146
+ }
147
+ #footer * {
148
+ margin: 0;
149
+ padding: 0;
150
+ }
151
+ #footer a {
152
+ color: #b5b5b5;
153
+ text-decoration: none;
154
+ }
155
+ #footer a:hover {
156
+ color: #2E2E2E;
157
+ background: #b5b5b5;
158
+ text-decoration: none;
159
+ }
160
+ #footer .left {
161
+ float: left;
162
+ }
163
+ #footer .right {
164
+ float: right;
165
+ }
166
+
@@ -0,0 +1,41 @@
1
+ ---
2
+ layout: default
3
+ title: jekyll_generator
4
+ ---
5
+
6
+ **This website** was generated by itself.
7
+
8
+ The sexy theme. The Disqus comments integration and the sexy comments badge in the sidebar. Blog posts showing in the sidebar. All generated.
9
+
10
+ [jekyll\_generator](http://github.com/drnic/jekyll_generator) is awesome. It is a nice generator for a Jekyll website including Disqus comments integration and some clean themes.
11
+
12
+ Examples
13
+ ========
14
+
15
+ * [http://drnic.github.com/macruby-tmbundle](http://drnic.github.com/macruby-tmbundle)
16
+ * [http://drnic.github.com/jekyll\_generator](http://drnic.github.com/jekyll\_generator) (this site)
17
+
18
+ Usage
19
+ =====
20
+
21
+ cd to/your/project
22
+ jekyll_generator website --title "Name of Project"
23
+ cd website
24
+ jekyll
25
+ open _site/index.html
26
+
27
+ It is assumed that your project is already a git repository stored on github. The generators
28
+ all use this assumption to derive information about the project.
29
+
30
+ Requirements
31
+ ============
32
+
33
+ `jekyll` - this is not installed with jekyll_generator itself so to install it:
34
+
35
+ sudo gem source http://gems.github.com/
36
+ sudo gem install mojombo-jekyll
37
+
38
+ Installation
39
+ ============
40
+
41
+ sudo gem install jekyll_generator
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dr Nic Williams
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-21 00:00:00 +10:00
12
+ date: 2008-12-22 00:00:00 +10:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -62,6 +62,7 @@ files:
62
62
  - Rakefile
63
63
  - app_generators/jekyll_generator/USAGE
64
64
  - app_generators/jekyll_generator/jekyll_generator_generator.rb
65
+ - app_generators/jekyll_generator/templates/_posts/first_post.markdown
65
66
  - app_generators/jekyll_generator/templates/atom.xml
66
67
  - app_generators/jekyll_generator/templates/config.yml
67
68
  - app_generators/jekyll_generator/templates/index.markdown
@@ -88,6 +89,20 @@ files:
88
89
  - spec/spec.opts
89
90
  - spec/spec_helper.rb
90
91
  - tasks/rspec.rake
92
+ - website/Rakefile
93
+ - website/_layouts/default.html
94
+ - website/_layouts/post.html
95
+ - website/_posts/2008-12-21-first-post.markdown
96
+ - website/_site/2008/12/21/first-post.html
97
+ - website/_site/Rakefile
98
+ - website/_site/atom.xml
99
+ - website/_site/config.yml
100
+ - website/_site/css/stylesheet.css
101
+ - website/_site/index.html
102
+ - website/atom.xml
103
+ - website/config.yml
104
+ - website/css/stylesheet.css
105
+ - website/index.markdown
91
106
  has_rdoc: true
92
107
  homepage: http://drnic.github.com/jekyll_generator
93
108
  post_install_message: PostInstall.txt