jekyll 0.4.1 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of jekyll might be problematic. Click here for more details.
- data/History.txt +31 -1
- data/README.textile +23 -457
- data/Rakefile +91 -0
- data/VERSION.yml +2 -2
- data/bin/jekyll +61 -57
- data/lib/jekyll.rb +48 -32
- data/lib/jekyll/albino.rb +13 -7
- data/lib/jekyll/converters/mephisto.rb +8 -8
- data/lib/jekyll/converters/mt.rb +8 -8
- data/lib/jekyll/converters/textpattern.rb +4 -4
- data/lib/jekyll/converters/typo.rb +8 -8
- data/lib/jekyll/converters/wordpress.rb +1 -2
- data/lib/jekyll/convertible.rb +33 -22
- data/lib/jekyll/core_ext.rb +5 -5
- data/lib/jekyll/filters.rb +15 -7
- data/lib/jekyll/layout.rb +9 -6
- data/lib/jekyll/page.rb +13 -10
- data/lib/jekyll/post.rb +108 -39
- data/lib/jekyll/site.rb +121 -51
- data/lib/jekyll/tags/highlight.rb +12 -9
- data/lib/jekyll/tags/include.rb +5 -5
- data/test/helper.rb +20 -6
- data/test/source/_posts/2008-02-02-not-published.textile +8 -0
- data/test/source/_posts/2008-02-02-published.textile +8 -0
- data/test/source/_posts/2009-01-27-array-categories.textile +10 -0
- data/test/source/_posts/2009-01-27-categories.textile +7 -0
- data/test/source/_posts/2009-01-27-category.textile +7 -0
- data/test/source/_posts/2009-03-12-hash-#1.markdown +6 -0
- data/test/test_filters.rb +39 -27
- data/test/test_generated_site.rb +32 -16
- data/test/test_post.rb +258 -102
- data/test/test_site.rb +60 -28
- data/test/test_tags.rb +103 -18
- metadata +25 -70
- data/test/dest/2008/10/18/foo-bar.html +0 -28
- data/test/dest/2008/11/21/complex.html +0 -29
- data/test/dest/2008/12/13/include.html +0 -30
- data/test/dest/_posts/2008-10-18-foo-bar.html +0 -28
- data/test/dest/_posts/2008-11-21-complex.html +0 -29
- data/test/dest/_posts/2008-12-03-permalinked-post.html +0 -2
- data/test/dest/_posts/2008-12-13-include.html +0 -30
- data/test/dest/category/2008/09/23/categories.html +0 -27
- data/test/dest/category/_posts/2008-9-23-categories.html +0 -27
- data/test/dest/css/screen.css +0 -76
- data/test/dest/foo/2008/12/12/topical-post.html +0 -28
- data/test/dest/foo/_posts/bar/2008-12-12-topical-post.html +0 -28
- data/test/dest/index.html +0 -60
- data/test/dest/my_category/permalinked-post +0 -2
- data/test/dest/z_category/2008/09/23/categories.html +0 -27
- data/test/dest/z_category/_posts/2008-9-23-categories.html +0 -27
- data/test/test_jekyll.rb +0 -0
@@ -1,30 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
|
5
|
-
<head>
|
6
|
-
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
7
|
-
<title>Include</title>
|
8
|
-
<meta name="author" content="<%= @page.author %>" />
|
9
|
-
|
10
|
-
<!-- CodeRay syntax highlighting CSS -->
|
11
|
-
<link rel="stylesheet" href="/css/coderay.css" type="text/css" />
|
12
|
-
|
13
|
-
<!-- Homepage CSS -->
|
14
|
-
<link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen, projection" />
|
15
|
-
</head>
|
16
|
-
<body>
|
17
|
-
|
18
|
-
<div class="site">
|
19
|
-
<div class="title">
|
20
|
-
Tom Preston-Werner
|
21
|
-
</div>
|
22
|
-
|
23
|
-
<hr />
|
24
|
-
<p>Tom Preston-Werner github.com/mojombo</p>
|
25
|
-
|
26
|
-
<p>This <em>is</em> cool</p>
|
27
|
-
</div>
|
28
|
-
|
29
|
-
</body>
|
30
|
-
</html>
|
@@ -1,27 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
|
5
|
-
<head>
|
6
|
-
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
7
|
-
<title>Categories</title>
|
8
|
-
<meta name="author" content="<%= @page.author %>" />
|
9
|
-
|
10
|
-
<!-- CodeRay syntax highlighting CSS -->
|
11
|
-
<link rel="stylesheet" href="/css/coderay.css" type="text/css" />
|
12
|
-
|
13
|
-
<!-- Homepage CSS -->
|
14
|
-
<link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen, projection" />
|
15
|
-
</head>
|
16
|
-
<body>
|
17
|
-
|
18
|
-
<div class="site">
|
19
|
-
<div class="title">
|
20
|
-
Tom Preston-Werner
|
21
|
-
</div>
|
22
|
-
|
23
|
-
<p>Categories <em>should</em> work</p>
|
24
|
-
</div>
|
25
|
-
|
26
|
-
</body>
|
27
|
-
</html>
|
@@ -1,27 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
|
5
|
-
<head>
|
6
|
-
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
7
|
-
<title>Categories</title>
|
8
|
-
<meta name="author" content="<%= @page.author %>" />
|
9
|
-
|
10
|
-
<!-- CodeRay syntax highlighting CSS -->
|
11
|
-
<link rel="stylesheet" href="/css/coderay.css" type="text/css" />
|
12
|
-
|
13
|
-
<!-- Homepage CSS -->
|
14
|
-
<link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen, projection" />
|
15
|
-
</head>
|
16
|
-
<body>
|
17
|
-
|
18
|
-
<div class="site">
|
19
|
-
<div class="title">
|
20
|
-
Tom Preston-Werner
|
21
|
-
</div>
|
22
|
-
|
23
|
-
<p>Categories <em>should</em> work</p>
|
24
|
-
</div>
|
25
|
-
|
26
|
-
</body>
|
27
|
-
</html>
|
data/test/dest/css/screen.css
DELETED
@@ -1,76 +0,0 @@
|
|
1
|
-
/*****************************************************************************/
|
2
|
-
/*
|
3
|
-
/* Common
|
4
|
-
/*
|
5
|
-
/*****************************************************************************/
|
6
|
-
|
7
|
-
/* Global Reset */
|
8
|
-
|
9
|
-
* {
|
10
|
-
margin: 0;
|
11
|
-
padding: 0;
|
12
|
-
}
|
13
|
-
|
14
|
-
html, body {
|
15
|
-
height: 100%;
|
16
|
-
}
|
17
|
-
|
18
|
-
body {
|
19
|
-
background-color: white;
|
20
|
-
font: 13.34px helvetica, arial, clean, sans-serif;
|
21
|
-
*font-size: small;
|
22
|
-
text-align: center;
|
23
|
-
}
|
24
|
-
|
25
|
-
h1, h2, h3, h4, h5, h6 {
|
26
|
-
font-size: 100%;
|
27
|
-
}
|
28
|
-
|
29
|
-
h1 {
|
30
|
-
margin-bottom: 1em;
|
31
|
-
}
|
32
|
-
|
33
|
-
p {
|
34
|
-
margin: 1em 0;
|
35
|
-
}
|
36
|
-
|
37
|
-
a {
|
38
|
-
color: #00a;
|
39
|
-
}
|
40
|
-
|
41
|
-
a:hover {
|
42
|
-
color: black;
|
43
|
-
}
|
44
|
-
|
45
|
-
a:visited {
|
46
|
-
color: #a0a;
|
47
|
-
}
|
48
|
-
|
49
|
-
table {
|
50
|
-
font-size: inherit;
|
51
|
-
font: 100%;
|
52
|
-
}
|
53
|
-
|
54
|
-
/*****************************************************************************/
|
55
|
-
/*
|
56
|
-
/* Site
|
57
|
-
/*
|
58
|
-
/*****************************************************************************/
|
59
|
-
|
60
|
-
.site {
|
61
|
-
font-size: 110%;
|
62
|
-
text-align: justify;
|
63
|
-
width: 40em;
|
64
|
-
margin: 3em auto 2em auto;
|
65
|
-
line-height: 1.5em;
|
66
|
-
}
|
67
|
-
|
68
|
-
.title {
|
69
|
-
color: #a00;
|
70
|
-
font-weight: bold;
|
71
|
-
margin-bottom: 2em;
|
72
|
-
}
|
73
|
-
|
74
|
-
.site .meta {
|
75
|
-
color: #aaa;
|
76
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
|
5
|
-
<head>
|
6
|
-
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
7
|
-
<title>Topical Post</title>
|
8
|
-
<meta name="author" content="<%= @page.author %>" />
|
9
|
-
|
10
|
-
<!-- CodeRay syntax highlighting CSS -->
|
11
|
-
<link rel="stylesheet" href="/css/coderay.css" type="text/css" />
|
12
|
-
|
13
|
-
<!-- Homepage CSS -->
|
14
|
-
<link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen, projection" />
|
15
|
-
</head>
|
16
|
-
<body>
|
17
|
-
|
18
|
-
<div class="site">
|
19
|
-
<div class="title">
|
20
|
-
Tom Preston-Werner
|
21
|
-
</div>
|
22
|
-
|
23
|
-
<h1>Topical Post</h1>
|
24
|
-
<p>This post has a topic.</p>
|
25
|
-
</div>
|
26
|
-
|
27
|
-
</body>
|
28
|
-
</html>
|
@@ -1,28 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
|
5
|
-
<head>
|
6
|
-
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
7
|
-
<title>Topical Post</title>
|
8
|
-
<meta name="author" content="<%= @page.author %>" />
|
9
|
-
|
10
|
-
<!-- CodeRay syntax highlighting CSS -->
|
11
|
-
<link rel="stylesheet" href="/css/coderay.css" type="text/css" />
|
12
|
-
|
13
|
-
<!-- Homepage CSS -->
|
14
|
-
<link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen, projection" />
|
15
|
-
</head>
|
16
|
-
<body>
|
17
|
-
|
18
|
-
<div class="site">
|
19
|
-
<div class="title">
|
20
|
-
Tom Preston-Werner
|
21
|
-
</div>
|
22
|
-
|
23
|
-
<h1>Topical Post</h1>
|
24
|
-
<p>This post has a topic.</p>
|
25
|
-
</div>
|
26
|
-
|
27
|
-
</body>
|
28
|
-
</html>
|
data/test/dest/index.html
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
|
5
|
-
<head>
|
6
|
-
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
7
|
-
<title>Tom Preston-Werner</title>
|
8
|
-
<meta name="author" content="<%= @page.author %>" />
|
9
|
-
|
10
|
-
<!-- CodeRay syntax highlighting CSS -->
|
11
|
-
<link rel="stylesheet" href="/css/coderay.css" type="text/css" />
|
12
|
-
|
13
|
-
<!-- Homepage CSS -->
|
14
|
-
<link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen, projection" />
|
15
|
-
</head>
|
16
|
-
<body>
|
17
|
-
|
18
|
-
<div class="site">
|
19
|
-
<div class="title">
|
20
|
-
Tom Preston-Werner
|
21
|
-
</div>
|
22
|
-
|
23
|
-
|
24
|
-
h1. Welcome to my site
|
25
|
-
|
26
|
-
h2. Please read our 7 Posts
|
27
|
-
|
28
|
-
<ul>
|
29
|
-
|
30
|
-
<li>Sat Dec 13 00:00:00 -0800 2008 <a href="/2008/12/13/include.html">Include</a></li>
|
31
|
-
|
32
|
-
<li>Fri Dec 12 00:00:00 -0800 2008 <a href="/foo/2008/12/12/topical-post.html">Topical Post</a></li>
|
33
|
-
|
34
|
-
<li>Wed Dec 03 00:00:00 -0800 2008 <a href="my_category/permalinked-post">Post with Permalink</a></li>
|
35
|
-
|
36
|
-
<li>Fri Nov 21 00:00:00 -0800 2008 <a href="/2008/11/21/complex.html">Complex</a></li>
|
37
|
-
|
38
|
-
<li>Sat Oct 18 00:00:00 -0700 2008 <a href="/2008/10/18/foo-bar.html">Foo Bar</a></li>
|
39
|
-
|
40
|
-
<li>Tue Sep 23 00:00:00 -0700 2008 <a href="/z_category/2008/09/23/categories.html">Categories</a></li>
|
41
|
-
|
42
|
-
<li>Tue Sep 23 00:00:00 -0700 2008 <a href="/category/2008/09/23/categories.html">Categories</a></li>
|
43
|
-
|
44
|
-
</ul>
|
45
|
-
|
46
|
-
|
47
|
-
<div id="first_post">
|
48
|
-
<h1>Include</h1>
|
49
|
-
<div>
|
50
|
-
<hr />
|
51
|
-
<p>Tom Preston-Werner github.com/mojombo</p>
|
52
|
-
|
53
|
-
<p>This <em>is</em> cool</p>
|
54
|
-
</div>
|
55
|
-
</div>
|
56
|
-
|
57
|
-
</div>
|
58
|
-
|
59
|
-
</body>
|
60
|
-
</html>
|
@@ -1,27 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
|
5
|
-
<head>
|
6
|
-
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
7
|
-
<title>Categories</title>
|
8
|
-
<meta name="author" content="<%= @page.author %>" />
|
9
|
-
|
10
|
-
<!-- CodeRay syntax highlighting CSS -->
|
11
|
-
<link rel="stylesheet" href="/css/coderay.css" type="text/css" />
|
12
|
-
|
13
|
-
<!-- Homepage CSS -->
|
14
|
-
<link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen, projection" />
|
15
|
-
</head>
|
16
|
-
<body>
|
17
|
-
|
18
|
-
<div class="site">
|
19
|
-
<div class="title">
|
20
|
-
Tom Preston-Werner
|
21
|
-
</div>
|
22
|
-
|
23
|
-
<p>Categories <em>should</em> work. Even if ordered after index.</p>
|
24
|
-
</div>
|
25
|
-
|
26
|
-
</body>
|
27
|
-
</html>
|
@@ -1,27 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
|
5
|
-
<head>
|
6
|
-
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
7
|
-
<title>Categories</title>
|
8
|
-
<meta name="author" content="<%= @page.author %>" />
|
9
|
-
|
10
|
-
<!-- CodeRay syntax highlighting CSS -->
|
11
|
-
<link rel="stylesheet" href="/css/coderay.css" type="text/css" />
|
12
|
-
|
13
|
-
<!-- Homepage CSS -->
|
14
|
-
<link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen, projection" />
|
15
|
-
</head>
|
16
|
-
<body>
|
17
|
-
|
18
|
-
<div class="site">
|
19
|
-
<div class="title">
|
20
|
-
Tom Preston-Werner
|
21
|
-
</div>
|
22
|
-
|
23
|
-
<p>Categories <em>should</em> work. Even if ordered after index.</p>
|
24
|
-
</div>
|
25
|
-
|
26
|
-
</body>
|
27
|
-
</html>
|
data/test/test_jekyll.rb
DELETED
File without changes
|