jekyll 2.0.0.rc1 → 2.0.0
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.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/History.markdown +40 -0
- data/README.markdown +3 -3
- data/features/collections.feature +24 -0
- data/features/embed_filters.feature +32 -0
- data/features/site_configuration.feature +9 -0
- data/features/step_definitions/jekyll_steps.rb +2 -2
- data/features/support/env.rb +5 -1
- data/jekyll.gemspec +3 -3
- data/lib/jekyll/commands/build.rb +3 -3
- data/lib/jekyll/commands/doctor.rb +1 -1
- data/lib/jekyll/commands/new.rb +1 -1
- data/lib/jekyll/commands/serve.rb +45 -23
- data/lib/jekyll/configuration.rb +1 -2
- data/lib/jekyll/converters/markdown/redcarpet_parser.rb +1 -1
- data/lib/jekyll/convertible.rb +2 -2
- data/lib/jekyll/document.rb +10 -0
- data/lib/jekyll/entry_filter.rb +1 -3
- data/lib/jekyll/filters.rb +34 -0
- data/lib/jekyll/post.rb +1 -0
- data/lib/jekyll/site.rb +9 -10
- data/lib/jekyll/stevenson.rb +23 -10
- data/lib/jekyll/tags/highlight.rb +24 -48
- data/lib/jekyll/utils.rb +10 -10
- data/lib/jekyll/version.rb +1 -1
- data/lib/site_template/_config.yml +9 -4
- data/lib/site_template/_includes/footer.html +9 -9
- data/lib/site_template/_includes/head.html +3 -3
- data/lib/site_template/_includes/header.html +5 -4
- data/lib/site_template/{about/index.md → about.md} +2 -1
- data/lib/site_template/css/main.css +6 -1
- data/lib/site_template/feed.xml +5 -5
- data/lib/site_template/index.html +6 -3
- data/site/_config.yml +1 -1
- data/site/_includes/css/style.css +180 -120
- data/site/_includes/footer.html +1 -1
- data/site/_includes/top.html +1 -1
- data/site/_posts/2014-05-06-jekyll-turns-2-0-0.markdown +31 -0
- data/site/docs/assets.md +0 -8
- data/site/docs/collections.md +11 -9
- data/site/docs/configuration.md +28 -10
- data/site/docs/deployment-methods.md +1 -1
- data/site/docs/history.md +227 -0
- data/site/docs/permalinks.md +8 -0
- data/site/docs/plugins.md +2 -1
- data/site/docs/templates.md +43 -0
- data/site/docs/variables.md +8 -3
- data/site/js/html5shiv.min.js +4 -0
- data/test/helper.rb +10 -0
- data/test/source/+/foo.md +1 -1
- data/test/test_collections.rb +2 -2
- data/test/test_configuration.rb +2 -2
- data/test/test_convertible.rb +3 -3
- data/test/test_entry_filter.rb +16 -0
- data/test/test_filters.rb +25 -0
- data/test/test_new_command.rb +1 -1
- data/test/test_redcarpet.rb +3 -3
- data/test/test_sass.rb +0 -41
- data/test/test_tags.rb +4 -4
- metadata +19 -19
- data/lib/site_template/projects/index.md +0 -14
- data/site/js/html5shiv.js +0 -8
data/site/docs/variables.md
CHANGED
@@ -119,9 +119,14 @@ following is a reference of the available data.
|
|
119
119
|
A list of all static files (i.e. files not processed by Jekyll's
|
120
120
|
converters or the Liquid renderer). Each file has three properties:
|
121
121
|
<code>path</code>, <code>modified_time</code> and <code>extname</code>.
|
122
|
-
|
123
|
-
|
124
|
-
|
122
|
+
|
123
|
+
</p></td>
|
124
|
+
</tr>
|
125
|
+
<tr>
|
126
|
+
<td><p><code>site.documents</code></p></td>
|
127
|
+
<td><p>
|
128
|
+
|
129
|
+
A list of all the documents in every collection.
|
125
130
|
|
126
131
|
</p></td>
|
127
132
|
</tr>
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/**
|
2
|
+
* @preserve HTML5 Shiv 3.7.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
|
3
|
+
*/
|
4
|
+
!function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.2",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b)}(this,document);
|
data/test/helper.rb
CHANGED
data/test/source/+/foo.md
CHANGED
data/test/test_collections.rb
CHANGED
@@ -67,8 +67,8 @@ class TestCollections < Test::Unit::TestCase
|
|
67
67
|
assert_equal @collection.to_liquid["relative_directory"], "_methods"
|
68
68
|
end
|
69
69
|
|
70
|
-
should "have a
|
71
|
-
assert_equal @collection.to_liquid["
|
70
|
+
should "have a output attribute" do
|
71
|
+
assert_equal @collection.to_liquid["output"], false
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
data/test/test_configuration.rb
CHANGED
@@ -166,9 +166,9 @@ class TestConfiguration < Test::Unit::TestCase
|
|
166
166
|
end
|
167
167
|
|
168
168
|
should "successfully load a TOML file" do
|
169
|
-
Jekyll.logger.log_level =
|
169
|
+
Jekyll.logger.log_level = :warn
|
170
170
|
assert_equal Jekyll::Configuration::DEFAULTS.merge({ "baseurl" => "/you-beautiful-blog-you", "title" => "My magnificent site, wut" }), Jekyll.configuration({ "config" => [@paths[:toml]] })
|
171
|
-
Jekyll.logger.log_level =
|
171
|
+
Jekyll.logger.log_level = :info
|
172
172
|
end
|
173
173
|
|
174
174
|
should "load multiple config files" do
|
data/test/test_convertible.rb
CHANGED
@@ -21,7 +21,7 @@ class TestConvertible < Test::Unit::TestCase
|
|
21
21
|
|
22
22
|
should "not parse if there is syntax error in front-matter" do
|
23
23
|
name = 'broken_front_matter2.erb'
|
24
|
-
out =
|
24
|
+
out = capture_stderr do
|
25
25
|
ret = @convertible.read_yaml(@base, name)
|
26
26
|
assert_equal({}, ret)
|
27
27
|
end
|
@@ -30,7 +30,7 @@ class TestConvertible < Test::Unit::TestCase
|
|
30
30
|
end
|
31
31
|
|
32
32
|
should "not allow ruby objects in yaml" do
|
33
|
-
out =
|
33
|
+
out = capture_stderr do
|
34
34
|
@convertible.read_yaml(@base, 'exploit_front_matter.erb')
|
35
35
|
end
|
36
36
|
assert_no_match /undefined class\/module DoesNotExist/, out
|
@@ -38,7 +38,7 @@ class TestConvertible < Test::Unit::TestCase
|
|
38
38
|
|
39
39
|
should "not parse if there is encoding error in file" do
|
40
40
|
name = 'broken_front_matter3.erb'
|
41
|
-
out =
|
41
|
+
out = capture_stderr do
|
42
42
|
ret = @convertible.read_yaml(@base, name, :encoding => 'utf-8')
|
43
43
|
assert_equal({}, ret)
|
44
44
|
end
|
data/test/test_entry_filter.rb
CHANGED
@@ -25,6 +25,22 @@ class TestEntryFilter < Test::Unit::TestCase
|
|
25
25
|
assert_equal files, @site.filter_entries(excludes + files + ["excludeA"])
|
26
26
|
end
|
27
27
|
|
28
|
+
should "filter entries with exclude relative to site source" do
|
29
|
+
excludes = %w[README TODO css]
|
30
|
+
files = %w[index.html vendor/css .htaccess]
|
31
|
+
|
32
|
+
@site.exclude = excludes
|
33
|
+
assert_equal files, @site.filter_entries(excludes + files + ["css"])
|
34
|
+
end
|
35
|
+
|
36
|
+
should "filter excluded directory and contained files" do
|
37
|
+
excludes = %w[README TODO css]
|
38
|
+
files = %w[index.html .htaccess]
|
39
|
+
|
40
|
+
@site.exclude = excludes
|
41
|
+
assert_equal files, @site.filter_entries(excludes + files + ["css", "css/main.css", "css/vendor.css"])
|
42
|
+
end
|
43
|
+
|
28
44
|
should "not filter entries within include" do
|
29
45
|
includes = %w[_index.html .htaccess include*]
|
30
46
|
files = %w[index.html _index.html .htaccess includeA]
|
data/test/test_filters.rb
CHANGED
@@ -152,5 +152,30 @@ class TestFilters < Test::Unit::TestCase
|
|
152
152
|
end
|
153
153
|
end
|
154
154
|
|
155
|
+
context "sort filter" do
|
156
|
+
should "return sorted numbers" do
|
157
|
+
assert_equal [1, 2, 2.2, 3], @filter.sort([3, 2.2, 2, 1])
|
158
|
+
end
|
159
|
+
should "return sorted strings" do
|
160
|
+
assert_equal ["10", "2"], @filter.sort(["10", "2"])
|
161
|
+
assert_equal [{"a" => "10"}, {"a" => "2"}], @filter.sort([{"a" => "10"}, {"a" => "2"}], "a")
|
162
|
+
assert_equal ["FOO", "Foo", "foo"], @filter.sort(["foo", "Foo", "FOO"])
|
163
|
+
assert_equal ["_foo", "foo", "foo_"], @filter.sort(["foo_", "_foo", "foo"])
|
164
|
+
end
|
165
|
+
should "return sorted by property array" do
|
166
|
+
assert_equal [{"a" => 1}, {"a" => 2}, {"a" => 3}, {"a" => 4}],
|
167
|
+
@filter.sort([{"a" => 4}, {"a" => 3}, {"a" => 1}, {"a" => 2}], "a")
|
168
|
+
end
|
169
|
+
should "return sorted by property array with nils first" do
|
170
|
+
ary = [{"a" => 2}, {"b" => 1}, {"a" => 1}]
|
171
|
+
assert_equal [{"b" => 1}, {"a" => 1}, {"a" => 2}], @filter.sort(ary, "a")
|
172
|
+
assert_equal @filter.sort(ary, "a"), @filter.sort(ary, "a", "first")
|
173
|
+
end
|
174
|
+
should "return sorted by property array with nils last" do
|
175
|
+
assert_equal [{"a" => 1}, {"a" => 2}, {"b" => 1}],
|
176
|
+
@filter.sort([{"a" => 2}, {"b" => 1}, {"a" => 1}], "a", "last")
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
155
180
|
end
|
156
181
|
end
|
data/test/test_new_command.rb
CHANGED
@@ -31,7 +31,7 @@ class TestNewCommand < Test::Unit::TestCase
|
|
31
31
|
|
32
32
|
should 'display a success message' do
|
33
33
|
output = capture_stdout { Jekyll::Commands::New.process(@args) }
|
34
|
-
success_message = "New jekyll site installed in #{@full_path}
|
34
|
+
success_message = "New jekyll site installed in #{@full_path}. \n"
|
35
35
|
assert_equal success_message, output
|
36
36
|
end
|
37
37
|
|
data/test/test_redcarpet.rb
CHANGED
@@ -32,7 +32,7 @@ class TestRedcarpet < Test::Unit::TestCase
|
|
32
32
|
end
|
33
33
|
|
34
34
|
should "render fenced code blocks with syntax highlighting" do
|
35
|
-
assert_equal "<div class=\"highlight\"><pre><code class=\"
|
35
|
+
assert_equal "<div class=\"highlight\"><pre><code class=\"language-ruby\" data-lang=\"ruby\"><span class=\"nb\">puts</span> <span class=\"s2\">"Hello world"</span>\n</code></pre></div>", @markdown.convert(
|
36
36
|
<<-EOS
|
37
37
|
```ruby
|
38
38
|
puts "Hello world"
|
@@ -48,7 +48,7 @@ puts "Hello world"
|
|
48
48
|
end
|
49
49
|
|
50
50
|
should "render fenced code blocks with syntax highlighting" do
|
51
|
-
assert_equal "<div class=\"highlight\"><pre><code class=\"
|
51
|
+
assert_equal "<div class=\"highlight\"><pre><code class=\"language-ruby\" data-lang=\"ruby\"><span class=\"nb\">puts</span> <span class=\"s2\">\"Hello world\"</span>\n</code></pre></div>", @markdown.convert(
|
52
52
|
<<-EOS
|
53
53
|
```ruby
|
54
54
|
puts "Hello world"
|
@@ -64,7 +64,7 @@ puts "Hello world"
|
|
64
64
|
end
|
65
65
|
|
66
66
|
should "render fenced code blocks without syntax highlighting" do
|
67
|
-
assert_equal "<div class=\"highlight\"><pre><code class=\"
|
67
|
+
assert_equal "<div class=\"highlight\"><pre><code class=\"language-ruby\" data-lang=\"ruby\">puts "Hello world"\n</code></pre></div>", @markdown.convert(
|
68
68
|
<<-EOS
|
69
69
|
```ruby
|
70
70
|
puts "Hello world"
|
data/test/test_sass.rb
CHANGED
@@ -1,47 +1,6 @@
|
|
1
1
|
require 'helper'
|
2
2
|
|
3
3
|
class TestSass < Test::Unit::TestCase
|
4
|
-
def converter(overrides = {})
|
5
|
-
Jekyll::Converters::Sass.new(site_configuration({"sass" => overrides}))
|
6
|
-
end
|
7
|
-
|
8
|
-
def sass_content
|
9
|
-
<<-SASS
|
10
|
-
$font-stack: Helvetica, sans-serif
|
11
|
-
body
|
12
|
-
font-family: $font-stack
|
13
|
-
font-color: fuschia
|
14
|
-
SASS
|
15
|
-
end
|
16
|
-
|
17
|
-
def scss_content
|
18
|
-
<<-SCSS
|
19
|
-
$font-stack: Helvetica, sans-serif;
|
20
|
-
body {
|
21
|
-
font-family: $font-stack;
|
22
|
-
font-color: fuschia;
|
23
|
-
}
|
24
|
-
SCSS
|
25
|
-
end
|
26
|
-
|
27
|
-
def css_output
|
28
|
-
<<-CSS
|
29
|
-
body {\n font-family: Helvetica, sans-serif;\n font-color: fuschia; }
|
30
|
-
CSS
|
31
|
-
end
|
32
|
-
|
33
|
-
context "converting sass" do
|
34
|
-
should "produce CSS" do
|
35
|
-
assert_equal css_output, converter.convert(sass_content)
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
|
-
context "converting SCSS" do
|
40
|
-
should "produce CSS" do
|
41
|
-
assert_equal css_output, converter.convert(scss_content)
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
4
|
context "importing partials" do
|
46
5
|
setup do
|
47
6
|
@site = Jekyll::Site.new(Jekyll.configuration({
|
data/test/test_tags.rb
CHANGED
@@ -65,16 +65,16 @@ CONTENT
|
|
65
65
|
assert_equal({}, tag.instance_variable_get(:@options))
|
66
66
|
|
67
67
|
tag = Jekyll::Tags::HighlightBlock.new('highlight', 'ruby linenos ', ["test", "{% endhighlight %}", "\n"])
|
68
|
-
assert_equal({
|
68
|
+
assert_equal({ :linenos => 'inline' }, tag.instance_variable_get(:@options))
|
69
69
|
|
70
70
|
tag = Jekyll::Tags::HighlightBlock.new('highlight', 'ruby linenos=table ', ["test", "{% endhighlight %}", "\n"])
|
71
|
-
assert_equal({
|
71
|
+
assert_equal({ :linenos => 'table' }, tag.instance_variable_get(:@options))
|
72
72
|
|
73
73
|
tag = Jekyll::Tags::HighlightBlock.new('highlight', 'ruby linenos=table nowrap', ["test", "{% endhighlight %}", "\n"])
|
74
|
-
assert_equal({
|
74
|
+
assert_equal({ :linenos => 'table', :nowrap => true }, tag.instance_variable_get(:@options))
|
75
75
|
|
76
76
|
tag = Jekyll::Tags::HighlightBlock.new('highlight', 'ruby linenos=table cssclass=hl', ["test", "{% endhighlight %}", "\n"])
|
77
|
-
assert_equal({
|
77
|
+
assert_equal({ :cssclass => 'hl', :linenos => 'table' }, tag.instance_variable_get(:@options))
|
78
78
|
|
79
79
|
tag = Jekyll::Tags::HighlightBlock.new('highlight', 'Ruby ', ["test", "{% endhighlight %}", "\n"])
|
80
80
|
assert_equal "ruby", tag.instance_variable_get(:@lang), "lexers should be case insensitive"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Preston-Werner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: liquid
|
@@ -53,19 +53,19 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '2.5'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: kramdown
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '1.3'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: '1.3'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: pygments.rb
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,14 +170,14 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 1.0
|
173
|
+
version: '1.0'
|
174
174
|
type: :runtime
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 1.0
|
180
|
+
version: '1.0'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: rake
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -277,19 +277,19 @@ dependencies:
|
|
277
277
|
- !ruby/object:Gem::Version
|
278
278
|
version: '4.2'
|
279
279
|
- !ruby/object:Gem::Dependency
|
280
|
-
name:
|
280
|
+
name: maruku
|
281
281
|
requirement: !ruby/object:Gem::Requirement
|
282
282
|
requirements:
|
283
|
-
- -
|
283
|
+
- - '='
|
284
284
|
- !ruby/object:Gem::Version
|
285
|
-
version:
|
285
|
+
version: 0.7.0
|
286
286
|
type: :development
|
287
287
|
prerelease: false
|
288
288
|
version_requirements: !ruby/object:Gem::Requirement
|
289
289
|
requirements:
|
290
|
-
- -
|
290
|
+
- - '='
|
291
291
|
- !ruby/object:Gem::Version
|
292
|
-
version:
|
292
|
+
version: 0.7.0
|
293
293
|
- !ruby/object:Gem::Dependency
|
294
294
|
name: rdiscount
|
295
295
|
requirement: !ruby/object:Gem::Requirement
|
@@ -527,11 +527,10 @@ files:
|
|
527
527
|
- lib/site_template/_layouts/page.html
|
528
528
|
- lib/site_template/_layouts/post.html
|
529
529
|
- lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb
|
530
|
-
- lib/site_template/about
|
530
|
+
- lib/site_template/about.md
|
531
531
|
- lib/site_template/css/main.css
|
532
532
|
- lib/site_template/feed.xml
|
533
533
|
- lib/site_template/index.html
|
534
|
-
- lib/site_template/projects/index.md
|
535
534
|
- script/bootstrap
|
536
535
|
- script/branding
|
537
536
|
- script/cibuild
|
@@ -583,6 +582,7 @@ files:
|
|
583
582
|
- site/_posts/2014-01-13-jekyll-1-4-3-released.markdown
|
584
583
|
- site/_posts/2014-03-24-jekyll-1-5-0-released.markdown
|
585
584
|
- site/_posts/2014-03-27-jekyll-1-5-1-released.markdown
|
585
|
+
- site/_posts/2014-05-06-jekyll-turns-2-0-0.markdown
|
586
586
|
- site/css/screen.css
|
587
587
|
- site/docs/assets.md
|
588
588
|
- site/docs/collections.md
|
@@ -624,7 +624,7 @@ files:
|
|
624
624
|
- site/img/logo-rss.png
|
625
625
|
- site/img/octojekyll.png
|
626
626
|
- site/index.html
|
627
|
-
- site/js/html5shiv.js
|
627
|
+
- site/js/html5shiv.min.js
|
628
628
|
- site/js/respond.min.js
|
629
629
|
- site/news/index.html
|
630
630
|
- site/news/releases/index.html
|
@@ -762,9 +762,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
762
762
|
version: 1.9.3
|
763
763
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
764
764
|
requirements:
|
765
|
-
- - "
|
765
|
+
- - ">="
|
766
766
|
- !ruby/object:Gem::Version
|
767
|
-
version:
|
767
|
+
version: '0'
|
768
768
|
requirements: []
|
769
769
|
rubyforge_project:
|
770
770
|
rubygems_version: 2.2.2
|
@@ -1,14 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: page
|
3
|
-
title: Projects
|
4
|
-
---
|
5
|
-
|
6
|
-
Just a sample of another page that you could include for some purpose in the primary navigation.
|
7
|
-
|
8
|
-
This could be a great place to list your own projects. But to get you started, here's some handy links:
|
9
|
-
|
10
|
-
- [List of Jekyll-powered websites](https://github.com/jekyll/jekyll/wiki/Sites)
|
11
|
-
- [Octopress, a Jekyll based blog framework](https://github.com/octopress/)
|
12
|
-
- [Jekyll documentation](http://jekyllrb.com/)
|
13
|
-
- [Jekyll source on GitHub](https://github.com/jekyll/jekyll)
|
14
|
-
- [Available plugins](http://jekyllrb.com/docs/plugins/#available_plugins)
|
data/site/js/html5shiv.js
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
|
3
|
-
*/
|
4
|
-
(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();
|
5
|
-
a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}</style>";
|
6
|
-
c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||
|
7
|
-
"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);
|
8
|
-
if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document);
|