jekyll 1.2.0 → 1.2.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.
- checksums.yaml +4 -4
- data/CONTRIBUTING.markdown +11 -6
- data/History.markdown +31 -7
- data/Rakefile +25 -0
- data/bin/jekyll +2 -0
- data/jekyll.gemspec +9 -6
- data/lib/jekyll.rb +1 -1
- data/lib/jekyll/commands/serve.rb +34 -11
- data/lib/jekyll/tags/include.rb +4 -0
- data/site/_includes/docs_contents.html +6 -87
- data/site/_includes/docs_contents_mobile.html +6 -25
- data/site/_includes/docs_option.html +11 -0
- data/site/_includes/docs_ul.html +20 -0
- data/site/_includes/header.html +1 -1
- data/site/_includes/news_item.html +3 -3
- data/site/_posts/2013-09-06-jekyll-1-2-0-released.markdown +3 -3
- data/site/_posts/2013-09-14-jekyll-1-2-1-released.markdown +19 -0
- data/site/docs/contributing.md +15 -9
- data/site/docs/history.md +123 -2
- data/site/docs/migrations.md +1 -1
- data/site/news/{index.md → index.html} +0 -0
- data/site/news/releases/{index.md → index.html} +0 -0
- data/test/test_related_posts.rb +1 -0
- data/test/test_tags.rb +17 -0
- metadata +12 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9425f162d036e32db265bff5b75d414e5b92ecbd
|
4
|
+
data.tar.gz: e9c0f102492eb8ba0c159d5f1eb751742e1178c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bff93a60c7ee953911e6eb14c8ea3d1d4df5d2c25d602b902722d659b8081ef9258eed90d46e7678555302d36d3c31035772be8173885b255c579ef4cfb9433
|
7
|
+
data.tar.gz: d8b58b6f2e007d96708009378f7f13d024badb03356b5e28dd9406617bc139e0e8ea579e41ebdba0529da05985c829f41b12d65c0eaceb47054b06964dedf087
|
data/CONTRIBUTING.markdown
CHANGED
@@ -11,14 +11,20 @@ following in mind:
|
|
11
11
|
[RR](http://github.com/btakita/rr/tree/master).
|
12
12
|
* If it's a brand new feature, make sure to create a new
|
13
13
|
[Cucumber](https://github.com/cucumber/cucumber/) feature and reuse steps
|
14
|
-
where appropriate. Also, whipping up some documentation in your fork's
|
14
|
+
where appropriate. Also, whipping up some documentation in your fork's `site`
|
15
15
|
would be appreciated, and once merged it will be transferred over to the main
|
16
|
-
|
16
|
+
`site`, jekyllrb.com.
|
17
17
|
* If your contribution changes any Jekyll behavior, make sure to update the
|
18
18
|
documentation. It lives in `site/docs`. If the docs are missing information,
|
19
19
|
please feel free to add it in. Great docs make a great project!
|
20
20
|
* Please follow the [GitHub Ruby Styleguide](https://github.com/styleguide/ruby)
|
21
21
|
when modifying Ruby code.
|
22
|
+
* Please do your best to submit **small pull requests**. The easier the proposed
|
23
|
+
change is to review, the more likely it will be merged.
|
24
|
+
* When submitting a pull request, please make judicious use of the pull request
|
25
|
+
body. A description of what changes were made, the motivations behind the
|
26
|
+
changes and [any tasks completed or left to complete](http://git.io/gfm-tasks)
|
27
|
+
will also speed up review time.
|
22
28
|
|
23
29
|
Test Dependencies
|
24
30
|
-----------------
|
@@ -32,8 +38,8 @@ you're all set!
|
|
32
38
|
Before you start, run the tests and make sure that they pass (to confirm your
|
33
39
|
environment is configured properly):
|
34
40
|
|
35
|
-
$ rake test
|
36
|
-
$ rake features
|
41
|
+
$ bundle exec rake test
|
42
|
+
$ bundle exec rake features
|
37
43
|
|
38
44
|
Workflow
|
39
45
|
--------
|
@@ -65,8 +71,7 @@ All documentation pull requests should be directed at `master`. Pull
|
|
65
71
|
requests directed at another branch will not be accepted.
|
66
72
|
|
67
73
|
The [Jekyll wiki](https://github.com/mojombo/jekyll/wiki) on GitHub
|
68
|
-
can be freely updated without a pull request as all
|
69
|
-
GitHub users have access.
|
74
|
+
can be freely updated without a pull request as all GitHub users have access.
|
70
75
|
|
71
76
|
Gotchas
|
72
77
|
-------
|
data/History.markdown
CHANGED
@@ -10,7 +10,31 @@
|
|
10
10
|
|
11
11
|
### Site Enhancements
|
12
12
|
|
13
|
-
##
|
13
|
+
## 1.2.1 / 2013-09-14
|
14
|
+
|
15
|
+
### Minor Enhancements
|
16
|
+
* Print better messages for detached server. Mute output on detach. (#1518)
|
17
|
+
* Disable reverse lookup when running `jekyll serve` (#1363)
|
18
|
+
* Upgrade RedCarpet dependency to `~> 2.3.0` (#1515)
|
19
|
+
* Upgrade to Liquid `>= 2.5.2, < 2.6` (#1536)
|
20
|
+
|
21
|
+
### Bug Fixes
|
22
|
+
* Fix file discrepancy in gemspec (#1522)
|
23
|
+
* Force rendering of Include tag (#1525)
|
24
|
+
|
25
|
+
### Development Fixes
|
26
|
+
* Add a rake task to generate a new release post (#1404)
|
27
|
+
* Mute LSI output in tests (#1531)
|
28
|
+
* Update contributor documentation (#1537)
|
29
|
+
|
30
|
+
### Site Enhancements
|
31
|
+
* Fix a couple of validation errors on the site (#1511)
|
32
|
+
* Make navigation menus reusable (#1507)
|
33
|
+
* Fix link to History page from Release v1.2.0 notes post.
|
34
|
+
* Fix markup in History file for command line options (#1512)
|
35
|
+
* Expand 1.2 release post title to 1.2.0 (#1516)
|
36
|
+
|
37
|
+
## 1.2.0 / 2013-09-06
|
14
38
|
|
15
39
|
### Major Enhancements
|
16
40
|
* Disable automatically-generated excerpts when `excerpt_separator` is `""`. (#1386)
|
@@ -20,7 +44,7 @@
|
|
20
44
|
* Catch and fix invalid `paginate` values (#1390)
|
21
45
|
* Remove superfluous `div.container` from the default html template for
|
22
46
|
`jekyll new` (#1315)
|
23
|
-
* Add
|
47
|
+
* Add `-D` short-form switch for the drafts option (#1394)
|
24
48
|
* Update the links in the site template for Twitter and GitHub (#1400)
|
25
49
|
* Update dummy email address to example.com domain (#1408)
|
26
50
|
* Update normalize.css to v2.1.2 and minify; add rake task to update
|
@@ -70,7 +94,7 @@
|
|
70
94
|
* Fix markup for the Kramdown options (#1445)
|
71
95
|
* Fix typos in the History file (#1454)
|
72
96
|
* Add trailing slash to site's post URL (#1462)
|
73
|
-
* Clarify that
|
97
|
+
* Clarify that `--config` will take multiple files (#1474)
|
74
98
|
* Fix docs/templates.md private gist example (#1477)
|
75
99
|
* Use `site.repository` for Jekyll's GitHub URL (#1463)
|
76
100
|
* Add `jekyll-pageless-redirects` to list of third-party plugins (#1486)
|
@@ -79,12 +103,12 @@
|
|
79
103
|
* XML escape the blog post title in our feed (#1501)
|
80
104
|
* Add `jekyll-toc-generator` to list of third-party plugins (#1506)
|
81
105
|
|
82
|
-
##
|
106
|
+
## 1.1.2 / 2013-07-25
|
83
107
|
|
84
108
|
### Bug Fixes
|
85
109
|
* Require Liquid 2.5.1 (#1349)
|
86
110
|
|
87
|
-
##
|
111
|
+
## 1.1.1 / 2013-07-24
|
88
112
|
|
89
113
|
### Minor Enhancements
|
90
114
|
* Remove superfluous `table` selector from main.css in `jekyll new` template (#1328)
|
@@ -307,7 +331,7 @@
|
|
307
331
|
* Allow symlinked files in unsafe mode (#824)
|
308
332
|
* Add 'gist' Liquid tag to core (#822, #861)
|
309
333
|
* New format of Jekyll output (#795)
|
310
|
-
* Reinstate
|
334
|
+
* Reinstate `--limit_posts` and `--future` switches (#788)
|
311
335
|
* Remove ambiguity from command descriptions (#815)
|
312
336
|
* Fix SafeYAML Warnings (#807)
|
313
337
|
* Relaxed Kramdown version to 0.14 (#808)
|
@@ -330,7 +354,7 @@
|
|
330
354
|
* Catch all exceptions, not just StandardError descendents (#1007)
|
331
355
|
* Bullet-proof limit_posts option (#1004)
|
332
356
|
* Read in YAML as UTF-8 to accept non-ASCII chars (#836)
|
333
|
-
* Fix the CLI option
|
357
|
+
* Fix the CLI option `--plugins` to actually accept dirs and files (#993)
|
334
358
|
* Allow 'excerpt' in YAML Front-Matter to override the extracted excerpt (#946)
|
335
359
|
* Fix cascade problem with site.baseurl, site.port and site.host. (#935)
|
336
360
|
* Filter out directories with valid post names (#875)
|
data/Rakefile
CHANGED
@@ -211,6 +211,31 @@ namespace :site do
|
|
211
211
|
abort "You seem to have misplaced your History.markdown file. I can haz?"
|
212
212
|
end
|
213
213
|
end
|
214
|
+
|
215
|
+
namespace :releases do
|
216
|
+
desc "Create new release post"
|
217
|
+
task :new, :version do |t, args|
|
218
|
+
raise "Specify a version: rake site:releases:new['1.2.3']" unless args.version
|
219
|
+
today = Time.new.strftime('%Y-%m-%d')
|
220
|
+
release = args.version.to_s
|
221
|
+
filename = "site/_posts/#{today}-jekyll-#{release.split('.').join('-')}-released.markdown"
|
222
|
+
|
223
|
+
File.open(filename, "wb") do |post|
|
224
|
+
post.puts("---")
|
225
|
+
post.puts("layout: news_item")
|
226
|
+
post.puts("title: 'Jekyll #{release} Released'")
|
227
|
+
post.puts("date: #{Time.new.strftime('%Y-%m-%d %H:%M:%S %z')}")
|
228
|
+
post.puts("author: ")
|
229
|
+
post.puts("version: #{version}")
|
230
|
+
post.puts("categories: [release]")
|
231
|
+
post.puts("---")
|
232
|
+
post.puts
|
233
|
+
post.puts
|
234
|
+
end
|
235
|
+
|
236
|
+
puts "Created #{filename}"
|
237
|
+
end
|
238
|
+
end
|
214
239
|
end
|
215
240
|
|
216
241
|
#############################################################################
|
data/bin/jekyll
CHANGED
@@ -65,6 +65,7 @@ command :build do |c|
|
|
65
65
|
c.option '-w', '--watch', 'Watch for changes and rebuild'
|
66
66
|
c.option '--lsi', 'Use LSI for improved related posts'
|
67
67
|
c.option '-D', '--drafts', 'Render posts in the _drafts folder'
|
68
|
+
c.option '-v', '--verbose', 'Print verbose output.'
|
68
69
|
|
69
70
|
c.action do |args, options|
|
70
71
|
options = normalize_options(options.__hash__)
|
@@ -84,6 +85,7 @@ command :serve do |c|
|
|
84
85
|
c.option '--lsi', 'Use LSI for improved related posts'
|
85
86
|
c.option '-B', '--detach', 'Run the server in the background (detach)'
|
86
87
|
c.option '-D', '--drafts', 'Render posts in the _drafts folder'
|
88
|
+
c.option '-v', '--verbose', 'Print verbose output.'
|
87
89
|
|
88
90
|
c.option '-P', '--port [PORT]', 'Port to listen on'
|
89
91
|
c.option '-H', '--host [HOST]', 'Host to bind to'
|
data/jekyll.gemspec
CHANGED
@@ -4,9 +4,9 @@ Gem::Specification.new do |s|
|
|
4
4
|
s.rubygems_version = '1.3.5'
|
5
5
|
|
6
6
|
s.name = 'jekyll'
|
7
|
-
s.version = '1.2.
|
7
|
+
s.version = '1.2.1'
|
8
8
|
s.license = 'MIT'
|
9
|
-
s.date = '2013-09-
|
9
|
+
s.date = '2013-09-14'
|
10
10
|
s.rubyforge_project = 'jekyll'
|
11
11
|
|
12
12
|
s.summary = "A simple, blog aware, static site generator."
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.rdoc_options = ["--charset=UTF-8"]
|
24
24
|
s.extra_rdoc_files = %w[README.markdown LICENSE]
|
25
25
|
|
26
|
-
s.add_runtime_dependency('liquid', "~> 2.5.
|
26
|
+
s.add_runtime_dependency('liquid', "~> 2.5.2")
|
27
27
|
s.add_runtime_dependency('classifier', "~> 1.3")
|
28
28
|
s.add_runtime_dependency('directory_watcher', "~> 1.4.1")
|
29
29
|
s.add_runtime_dependency('maruku', "~> 0.5")
|
@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
|
|
31
31
|
s.add_runtime_dependency('commander', "~> 4.1.3")
|
32
32
|
s.add_runtime_dependency('safe_yaml', "~> 0.7.0")
|
33
33
|
s.add_runtime_dependency('colorator', "~> 0.1")
|
34
|
-
s.add_runtime_dependency('redcarpet', "~> 2.
|
34
|
+
s.add_runtime_dependency('redcarpet', "~> 2.3.0")
|
35
35
|
|
36
36
|
s.add_development_dependency('rake', "~> 10.0.3")
|
37
37
|
s.add_development_dependency('rdoc', "~> 3.11")
|
@@ -126,6 +126,8 @@ Gem::Specification.new do |s|
|
|
126
126
|
site/_includes/analytics.html
|
127
127
|
site/_includes/docs_contents.html
|
128
128
|
site/_includes/docs_contents_mobile.html
|
129
|
+
site/_includes/docs_option.html
|
130
|
+
site/_includes/docs_ul.html
|
129
131
|
site/_includes/footer.html
|
130
132
|
site/_includes/header.html
|
131
133
|
site/_includes/news_contents.html
|
@@ -147,6 +149,7 @@ Gem::Specification.new do |s|
|
|
147
149
|
site/_posts/2013-07-25-jekyll-1-0-4-released.markdown
|
148
150
|
site/_posts/2013-07-25-jekyll-1-1-2-released.markdown
|
149
151
|
site/_posts/2013-09-06-jekyll-1-2-0-released.markdown
|
152
|
+
site/_posts/2013-09-14-jekyll-1-2-1-released.markdown
|
150
153
|
site/css/gridism.css
|
151
154
|
site/css/normalize.css
|
152
155
|
site/css/pygments.css
|
@@ -189,8 +192,8 @@ Gem::Specification.new do |s|
|
|
189
192
|
site/img/tube1x.png
|
190
193
|
site/index.html
|
191
194
|
site/js/modernizr-2.5.3.min.js
|
192
|
-
site/news/index.
|
193
|
-
site/news/releases/index.
|
195
|
+
site/news/index.html
|
196
|
+
site/news/releases/index.html
|
194
197
|
test/fixtures/broken_front_matter1.erb
|
195
198
|
test/fixtures/broken_front_matter2.erb
|
196
199
|
test/fixtures/broken_front_matter3.erb
|
data/lib/jekyll.rb
CHANGED
@@ -60,7 +60,7 @@ require_all 'jekyll/tags'
|
|
60
60
|
SafeYAML::OPTIONS[:suppress_warnings] = true
|
61
61
|
|
62
62
|
module Jekyll
|
63
|
-
VERSION = '1.2.
|
63
|
+
VERSION = '1.2.1'
|
64
64
|
|
65
65
|
# Public: Generate a Jekyll configuration Hash by merging the default
|
66
66
|
# options with anything in _config.yml, and adding the given options on top.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# -*-
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
2
|
module Jekyll
|
3
3
|
module Commands
|
4
4
|
class Serve < Command
|
@@ -10,31 +10,54 @@ module Jekyll
|
|
10
10
|
|
11
11
|
FileUtils.mkdir_p(destination)
|
12
12
|
|
13
|
-
mime_types_file = File.expand_path('../mime.types', File.dirname(__FILE__))
|
14
|
-
mime_types = WEBrick::HTTPUtils::load_mime_types(mime_types_file)
|
15
|
-
|
16
13
|
# recreate NondisclosureName under utf-8 circumstance
|
17
14
|
fh_option = WEBrick::Config::FileHandler
|
18
15
|
fh_option[:NondisclosureName] = ['.ht*','~*']
|
19
16
|
|
20
|
-
s = HTTPServer.new(
|
21
|
-
:Port => options['port'],
|
22
|
-
:BindAddress => options['host'],
|
23
|
-
:MimeTypes => mime_types
|
24
|
-
)
|
17
|
+
s = HTTPServer.new(webrick_options(options))
|
25
18
|
|
26
19
|
s.mount(options['baseurl'], HTTPServlet::FileHandler, destination, fh_option)
|
27
20
|
|
28
21
|
if options['detach'] # detach the server
|
29
|
-
pid = Process.fork {s.start}
|
22
|
+
pid = Process.fork { s.start }
|
30
23
|
Process.detach(pid)
|
31
|
-
pid
|
24
|
+
Jekyll.logger.info "Server detatched with pid '#{pid}'.", "Run `kill -9 #{pid}' to stop the server."
|
32
25
|
else # create a new server thread, then join it with current terminal
|
33
26
|
t = Thread.new { s.start }
|
34
27
|
trap("INT") { s.shutdown }
|
35
28
|
t.join()
|
36
29
|
end
|
37
30
|
end
|
31
|
+
|
32
|
+
def self.webrick_options(config)
|
33
|
+
opts = {
|
34
|
+
:Port => config['port'],
|
35
|
+
:BindAddress => config['host'],
|
36
|
+
:MimeTypes => self.mime_types,
|
37
|
+
:DoNotReverseLookup => true,
|
38
|
+
:StartCallback => start_callback(config['detach'])
|
39
|
+
}
|
40
|
+
|
41
|
+
if !config['verbose']
|
42
|
+
opts.merge!({
|
43
|
+
:AccessLog => [],
|
44
|
+
:Logger => Log::new([], Log::WARN)
|
45
|
+
})
|
46
|
+
end
|
47
|
+
|
48
|
+
opts
|
49
|
+
end
|
50
|
+
|
51
|
+
def self.start_callback(detached)
|
52
|
+
unless detached
|
53
|
+
Proc.new { Jekyll.logger.info "Server running...", "press ctrl-c to stop." }
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def self.mime_types
|
58
|
+
mime_types_file = File.expand_path('../mime.types', File.dirname(__FILE__))
|
59
|
+
WEBrick::HTTPUtils::load_mime_types(mime_types_file)
|
60
|
+
end
|
38
61
|
end
|
39
62
|
end
|
40
63
|
end
|
data/lib/jekyll/tags/include.rb
CHANGED
@@ -1,97 +1,16 @@
|
|
1
1
|
<div class="unit one-fifth hide-on-mobiles">
|
2
2
|
<aside>
|
3
3
|
<h4>Getting Started</h4>
|
4
|
-
|
5
|
-
<li class="{% if page.title == 'Welcome' %}current{% endif %}">
|
6
|
-
<a href="{{ site.url }}/docs/home/">Welcome</a>
|
7
|
-
</li>
|
8
|
-
<li class="{% if page.title == 'Quick-start guide' %}current{% endif %}">
|
9
|
-
<a href="{{ site.url }}/docs/quickstart/">Quick-start guide</a>
|
10
|
-
</li>
|
11
|
-
<li class="{% if page.title == 'Installation' %}current{% endif %}">
|
12
|
-
<a href="{{ site.url }}/docs/installation/">Installation</a>
|
13
|
-
</li>
|
14
|
-
<li class="{% if page.title == 'Basic Usage' %}current{% endif %}">
|
15
|
-
<a href="{{ site.url }}/docs/usage/">Basic Usage</a>
|
16
|
-
</li>
|
17
|
-
<li class="{% if page.title == 'Directory structure' %}current{% endif %}">
|
18
|
-
<a href="{{ site.url }}/docs/structure/">Directory structure</a>
|
19
|
-
</li>
|
20
|
-
<li class="{% if page.title == 'Configuration' %}current{% endif %}">
|
21
|
-
<a href="{{ site.url }}/docs/configuration/">Configuration</a>
|
22
|
-
</li>
|
23
|
-
</ul>
|
4
|
+
{% include docs_ul.html items='home quickstart installation usage structure configuration' %}
|
24
5
|
<h4>Your Content</h4>
|
25
|
-
|
26
|
-
<li class="{% if page.title == 'Front-matter' %}current{% endif %}">
|
27
|
-
<a href="{{ site.url }}/docs/frontmatter/">Front-matter</a>
|
28
|
-
</li>
|
29
|
-
<li class="{% if page.title == 'Writing posts' %}current{% endif %}">
|
30
|
-
<a href="{{ site.url }}/docs/posts/">Writing posts</a>
|
31
|
-
</li>
|
32
|
-
<li class="{% if page.title == 'Working with drafts' %}current{% endif %}">
|
33
|
-
<a href="{{ site.url }}/docs/drafts/">Working with drafts</a>
|
34
|
-
</li>
|
35
|
-
<li class="{% if page.title == 'Creating pages' %}current{% endif %}">
|
36
|
-
<a href="{{ site.url }}/docs/pages/">Creating pages</a>
|
37
|
-
</li>
|
38
|
-
<li class="{% if page.title == 'Variables' %}current{% endif %}">
|
39
|
-
<a href="{{ site.url }}/docs/variables/">Variables</a>
|
40
|
-
</li>
|
41
|
-
<li class="{% if page.title == 'Blog migrations' %}current{% endif %}">
|
42
|
-
<a href="{{ site.url }}/docs/migrations/">Blog migrations</a>
|
43
|
-
</li>
|
44
|
-
</ul>
|
6
|
+
{% include docs_ul.html items='frontmatter posts drafts pages variables migrations' %}
|
45
7
|
<h4>Customization</h4>
|
46
|
-
|
47
|
-
<li class="{% if page.title == 'Templates' %}current{% endif %}">
|
48
|
-
<a href="{{ site.url }}/docs/templates/">Templates</a>
|
49
|
-
</li>
|
50
|
-
<li class="{% if page.title == 'Permalinks' %}current{% endif %}">
|
51
|
-
<a href="{{ site.url }}/docs/permalinks/">Permalinks</a>
|
52
|
-
</li>
|
53
|
-
<li class="{% if page.title == 'Pagination' %}current{% endif %}">
|
54
|
-
<a href="{{ site.url }}/docs/pagination/">Pagination</a>
|
55
|
-
</li>
|
56
|
-
<li class="{% if page.title == 'Plugins' %}current{% endif %}">
|
57
|
-
<a href="{{ site.url }}/docs/plugins/">Plugins</a>
|
58
|
-
</li>
|
59
|
-
<li class="{% if page.title == 'Extras' %}current{% endif %}">
|
60
|
-
<a href="{{ site.url }}/docs/extras/">Extras</a>
|
61
|
-
</li>
|
62
|
-
</ul>
|
8
|
+
{% include docs_ul.html items='templates permalinks pagination plugins extras' %}
|
63
9
|
<h4>Deployment</h4>
|
64
|
-
|
65
|
-
<li class="{% if page.title == 'GitHub Pages' %}current{% endif %}">
|
66
|
-
<a href="{{ site.url }}/docs/github-pages/">GitHub Pages</a>
|
67
|
-
</li>
|
68
|
-
<li class="{% if page.title == 'Deployment methods' %}current{% endif %}">
|
69
|
-
<a href="{{ site.url }}/docs/deployment-methods/">Other methods</a>
|
70
|
-
</li>
|
71
|
-
</ul>
|
10
|
+
{% include docs_ul.html items='github-pages deployment-methods' %}
|
72
11
|
<h4>Miscellaneous</h4>
|
73
|
-
|
74
|
-
<li class="{% if page.title == 'Troubleshooting' %}current{% endif %}">
|
75
|
-
<a href="{{ site.url }}/docs/troubleshooting/">Troubleshooting</a>
|
76
|
-
</li>
|
77
|
-
<li class="{% if page.title == 'Sites using Jekyll' %}current{% endif %}">
|
78
|
-
<a href="{{ site.url }}/docs/sites/">Sites using Jekyll</a>
|
79
|
-
</li>
|
80
|
-
<li class="{% if page.title == 'Resources' %}current{% endif %}">
|
81
|
-
<a href="{{ site.url }}/docs/resources/">Resources</a>
|
82
|
-
</li>
|
83
|
-
<li class="{% if page.title == 'Upgrading' %}current{% endif %}">
|
84
|
-
<a href="{{ site.url }}/docs/upgrading/">Upgrading</a>
|
85
|
-
</li>
|
86
|
-
</ul>
|
12
|
+
{% include docs_ul.html items='troubleshooting sites resources upgrading' %}
|
87
13
|
<h4>Meta</h4>
|
88
|
-
|
89
|
-
<li class="{% if page.title == 'Contributing' %}current{% endif %}">
|
90
|
-
<a href="{{ site.url }}/docs/contributing/">Contributing</a>
|
91
|
-
</li>
|
92
|
-
<li class="{% if page.title == 'History' %}current{% endif %}">
|
93
|
-
<a href="{{ site.url }}/docs/history/">History</a>
|
94
|
-
</li>
|
95
|
-
</ul>
|
14
|
+
{% include docs_ul.html items='contributing history' %}
|
96
15
|
</aside>
|
97
16
|
</div>
|
@@ -2,41 +2,22 @@
|
|
2
2
|
<select onchange="if (this.value) window.location.href=this.value">
|
3
3
|
<option value="">Navigate the docs…</option>
|
4
4
|
<optgroup label="Getting started">
|
5
|
-
|
6
|
-
<option value="{{ site.url }}/docs/quickstart/">Quick-start guide</option>
|
7
|
-
<option value="{{ site.url }}/docs/installation/">Installation</option>
|
8
|
-
<option value="{{ site.url }}/docs/usage/">Basic Usage</option>
|
9
|
-
<option value="{{ site.url }}/docs/structure/">Directory structure</option>
|
10
|
-
<option value="{{ site.url }}/docs/configuration/">Configuration</option>
|
5
|
+
{% include docs_option.html items='home quickstart installation usage structure configuration' %}
|
11
6
|
</optgroup>
|
12
7
|
<optgroup label="Your Content">
|
13
|
-
|
14
|
-
<option value="{{ site.url }}/docs/posts/">Writing posts</option>
|
15
|
-
<option value="{{ site.url }}/docs/drafts/">Working with drafts</option>
|
16
|
-
<option value="{{ site.url }}/docs/pages/">Creating pages</option>
|
17
|
-
<option value="{{ site.url }}/docs/variables/">Variables</option>
|
18
|
-
<option value="{{ site.url }}/docs/migrations/">Blog migrations</option>
|
8
|
+
{% include docs_option.html items='frontmatter posts drafts pages variables migrations' %}
|
19
9
|
</optgroup>
|
20
10
|
<optgroup label="Customization">
|
21
|
-
|
22
|
-
<option value="{{ site.url }}/docs/permalinks/">Permalinks</option>
|
23
|
-
<option value="{{ site.url }}/docs/pagination/">Pagination</option>
|
24
|
-
<option value="{{ site.url }}/docs/plugins/">Plugins</option>
|
25
|
-
<option value="{{ site.url }}/docs/extras/">Extras</option>
|
11
|
+
{% include docs_option.html items='templates permalinks pagination plugins extras' %}
|
26
12
|
</optgroup>
|
27
13
|
<optgroup label="Deployment">
|
28
|
-
|
29
|
-
<option value="{{ site.url }}/docs/deployment-methods/">Other methods</option>
|
14
|
+
{% include docs_option.html items='github-pages deployment-methods' %}
|
30
15
|
</optgroup>
|
31
16
|
<optgroup label="Miscellaneous">
|
32
|
-
|
33
|
-
<option value="{{ site.url }}/docs/sites/">Sites using Jekyll</option>
|
34
|
-
<option value="{{ site.url }}/docs/resources/">Resources</option>
|
35
|
-
<option value="{{ site.url }}/docs/upgrading/">Upgrading</option>
|
17
|
+
{% include docs_option.html items='troubleshooting sites resources upgrading' %}
|
36
18
|
</optgroup>
|
37
19
|
<optgroup label="Meta">
|
38
|
-
|
39
|
-
<option value="{{ site.url }}/docs/history/">History</option>
|
20
|
+
{% include docs_option.html items='contributing history' %}
|
40
21
|
</optgroup>
|
41
22
|
</select>
|
42
23
|
</div>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{% assign items = include.items | split: ' ' %}
|
2
|
+
|
3
|
+
{% for item in items %}
|
4
|
+
{% assign item_url = item | prepend:'/docs/' | append:'/' %}
|
5
|
+
|
6
|
+
{% for p in site.pages %}
|
7
|
+
{% if p.url == item_url %}
|
8
|
+
<option value="{{ site.url }}{{ p.url }}">{{ p.title }}</option>
|
9
|
+
{% endif %}
|
10
|
+
{% endfor %}
|
11
|
+
{% endfor %}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{% assign items = include.items | split: ' ' %}
|
2
|
+
|
3
|
+
<ul>
|
4
|
+
{% for item in items %}
|
5
|
+
{% assign item_url = item | prepend:'/docs/' | append:'/' %}
|
6
|
+
|
7
|
+
{% if item_url == page.url %}
|
8
|
+
{% assign c = 'current' %}
|
9
|
+
{% else %}
|
10
|
+
{% assign c = '' %}
|
11
|
+
{% endif %}
|
12
|
+
|
13
|
+
{% for p in site.pages %}
|
14
|
+
{% if p.url == item_url %}
|
15
|
+
<li class="{{ c }}"><a href="{{ site.url }}{{ p.url }}">{{ p.title }}</a></li>
|
16
|
+
{% endif %}
|
17
|
+
{% endfor %}
|
18
|
+
|
19
|
+
{% endfor %}
|
20
|
+
</ul>
|
data/site/_includes/header.html
CHANGED
@@ -14,11 +14,11 @@
|
|
14
14
|
{{ post.date | date_to_string }}
|
15
15
|
</span>
|
16
16
|
<a href="https://github.com/{{ post.author }}" class="post-author">
|
17
|
-
<img src="https://github.com/{{ post.author }}.png" class="avatar" />
|
17
|
+
<img src="https://github.com/{{ post.author }}.png" class="avatar" alt="{{ post.author }}"/>
|
18
18
|
{{ post.author }}
|
19
19
|
</a>
|
20
20
|
</div>
|
21
|
-
<
|
21
|
+
<div class="post-content">
|
22
22
|
{{ post.content }}
|
23
|
-
</
|
23
|
+
</div>
|
24
24
|
</article>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
---
|
2
2
|
layout: news_item
|
3
|
-
title: "Jekyll 1.2 Released"
|
3
|
+
title: "Jekyll 1.2.0 Released"
|
4
4
|
date: "2013-09-06 22:02:41 -0400"
|
5
5
|
author: parkr
|
6
6
|
version: 1.2.0
|
@@ -13,11 +13,11 @@ enhancements that we think you'll love.
|
|
13
13
|
|
14
14
|
Here are a few things we think you'll want to know about this release:
|
15
15
|
|
16
|
-
* Run `jekyll serve --
|
16
|
+
* Run `jekyll serve --detach` to boot up a WEBrick server in the background. **Note:** you'll need to run `kill [server_pid]` to shut the server down.
|
17
17
|
* You can now **disable automatically-generated excerpts** if you set `excerpt_separator` to `""`.
|
18
18
|
* If you're moving around pages and post, you can now check for **URL conflicts** by running `jekyll doctor`.
|
19
19
|
* If you're a fan of the drafts feature, you'll be happy to know we've added `-D`, a shortened version of `--drafts`.
|
20
20
|
* Permalinks with special characters should now generate without errors.
|
21
21
|
* Expose the current Jekyll version as the `jekyll.version` Liquid variable.
|
22
22
|
|
23
|
-
For a full run-down, visit our [change log](
|
23
|
+
For a full run-down, visit our [change log](/docs/history/)!
|
@@ -0,0 +1,19 @@
|
|
1
|
+
---
|
2
|
+
layout: news_item
|
3
|
+
title: 'Jekyll 1.2.1 Released'
|
4
|
+
date: 2013-09-14 20:46:50 -0400
|
5
|
+
author: parkr
|
6
|
+
version: 1.2.1
|
7
|
+
categories: [release]
|
8
|
+
---
|
9
|
+
|
10
|
+
Quick turnover, anyone? A [recent incompatibility with Liquid
|
11
|
+
v2.5.2](https://github.com/mojombo/jekyll/pull/1525) produced a nasty bug in
|
12
|
+
which `include` tags were not rendered properly within `if` blocks.
|
13
|
+
|
14
|
+
This release also includes a better handling of detached servers (prints pid and
|
15
|
+
the command for killing the process). **Note**: the `--detach` flag and
|
16
|
+
`--watch` flags are presently incompatible in 1.2.x. Fix for that coming soon!
|
17
|
+
|
18
|
+
For a full list of the fixes in this release, check out [the change
|
19
|
+
log](/docs/history/)!
|
data/site/docs/contributing.md
CHANGED
@@ -16,13 +16,19 @@ following in mind:
|
|
16
16
|
* If it's a brand new feature, make sure to create a new
|
17
17
|
[Cucumber](https://github.com/cucumber/cucumber/) feature and reuse steps
|
18
18
|
where appropriate. Also, whipping up some documentation in your fork's `site`
|
19
|
-
|
20
|
-
|
21
|
-
* If your contribution
|
22
|
-
|
23
|
-
|
19
|
+
would be appreciated, and once merged it will be transferred over to the main
|
20
|
+
`site`, jekyllrb.com.
|
21
|
+
* If your contribution changes any Jekyll behavior, make sure to update the
|
22
|
+
documentation. It lives in `site/docs`. If the docs are missing information,
|
23
|
+
please feel free to add it in. Great docs make a great project!
|
24
24
|
* Please follow the [GitHub Ruby Styleguide](https://github.com/styleguide/ruby)
|
25
25
|
when modifying Ruby code.
|
26
|
+
* Please do your best to submit **small pull requests**. The easier the proposed
|
27
|
+
change is to review, the more likely it will be merged.
|
28
|
+
* When submitting a pull request, please make judicious use of the pull request
|
29
|
+
body. A description of what changes were made, the motivations behind the
|
30
|
+
changes and [any tasks completed or left to complete](http://git.io/gfm-tasks)
|
31
|
+
will also speed up review time.
|
26
32
|
|
27
33
|
<div class="note warning">
|
28
34
|
<h5>Contributions will not be accepted without tests</h5>
|
@@ -47,8 +53,8 @@ Before you start, run the tests and make sure that they pass (to confirm your
|
|
47
53
|
environment is configured properly):
|
48
54
|
|
49
55
|
{% highlight bash %}
|
50
|
-
$ rake test
|
51
|
-
$ rake features
|
56
|
+
$ bundle exec rake test
|
57
|
+
$ bundle exec rake features
|
52
58
|
{% endhighlight %}
|
53
59
|
|
54
60
|
Workflow
|
@@ -79,8 +85,8 @@ git checkout -b my_awesome_feature
|
|
79
85
|
git push origin my_awesome_feature
|
80
86
|
{% endhighlight %}
|
81
87
|
|
82
|
-
* Create a pull request against mojombo/jekyll and describe what your
|
83
|
-
does and the why you think it should be merged.
|
88
|
+
* Create a pull request against mojombo/jekyll:master and describe what your
|
89
|
+
change does and the why you think it should be merged.
|
84
90
|
|
85
91
|
Updating Documentation
|
86
92
|
----------------------
|
data/site/docs/history.md
CHANGED
@@ -5,6 +5,127 @@ permalink: /docs/history/
|
|
5
5
|
prev_section: contributing
|
6
6
|
---
|
7
7
|
|
8
|
+
## 1.2.1 / 2013-09-14
|
9
|
+
|
10
|
+
### Minor Enhancements
|
11
|
+
- Print better messages for detached server. Mute output on detach. ([#1518]({{ site.repository }}/issues/1518))
|
12
|
+
- Disable reverse lookup when running `jekyll serve` ([#1363]({{ site.repository }}/issues/1363))
|
13
|
+
- Upgrade RedCarpet dependency to `~> 2.3.0` ([#1515]({{ site.repository }}/issues/1515))
|
14
|
+
- Upgrade to Liquid `>= 2.5.2, < 2.6` ([#1536]({{ site.repository }}/issues/1536))
|
15
|
+
|
16
|
+
### Bug Fixes
|
17
|
+
- Fix file discrepancy in gemspec ([#1522]({{ site.repository }}/issues/1522))
|
18
|
+
- Force rendering of Include tag ([#1525]({{ site.repository }}/issues/1525))
|
19
|
+
|
20
|
+
### Development Fixes
|
21
|
+
- Add a rake task to generate a new release post ([#1404]({{ site.repository }}/issues/1404))
|
22
|
+
- Mute LSI output in tests ([#1531]({{ site.repository }}/issues/1531))
|
23
|
+
- Update contributor documentation ([#1537]({{ site.repository }}/issues/1537))
|
24
|
+
|
25
|
+
### Site Enhancements
|
26
|
+
- Fix a couple of validation errors on the site ([#1511]({{ site.repository }}/issues/1511))
|
27
|
+
- Make navigation menus reusable ([#1507]({{ site.repository }}/issues/1507))
|
28
|
+
- Fix link to History page from Release v1.2.0 notes post.
|
29
|
+
- Fix markup in History file for command line options ([#1512]({{ site.repository }}/issues/1512))
|
30
|
+
- Expand 1.2 release post title to 1.2.0 ([#1516]({{ site.repository }}/issues/1516))
|
31
|
+
|
32
|
+
## 1.2.0 / 2013-09-06
|
33
|
+
|
34
|
+
### Major Enhancements
|
35
|
+
- Disable automatically-generated excerpts when `excerpt_separator` is `""`. ([#1386]({{ site.repository }}/issues/1386))
|
36
|
+
- Add checking for URL conflicts when running `jekyll doctor` ([#1389]({{ site.repository }}/issues/1389))
|
37
|
+
|
38
|
+
### Minor Enhancements
|
39
|
+
- Catch and fix invalid `paginate` values ([#1390]({{ site.repository }}/issues/1390))
|
40
|
+
- Remove superfluous `div.container` from the default html template for
|
41
|
+
`jekyll new` ([#1315]({{ site.repository }}/issues/1315))
|
42
|
+
- Add `-D` short-form switch for the drafts option ([#1394]({{ site.repository }}/issues/1394))
|
43
|
+
- Update the links in the site template for Twitter and GitHub ([#1400]({{ site.repository }}/issues/1400))
|
44
|
+
- Update dummy email address to example.com domain ([#1408]({{ site.repository }}/issues/1408))
|
45
|
+
- Update normalize.css to v2.1.2 and minify; add rake task to update
|
46
|
+
normalize.css with greater ease. ([#1430]({{ site.repository }}/issues/1430))
|
47
|
+
- Add the ability to detach the server ran by `jekyll serve` from it's
|
48
|
+
controlling terminal ([#1443]({{ site.repository }}/issues/1443))
|
49
|
+
- Improve permalink generation for URLs with special characters ([#944]({{ site.repository }}/issues/944))
|
50
|
+
- Expose the current Jekyll version to posts and pages via a new
|
51
|
+
`jekyll.version` variable ([#1481]({{ site.repository }}/issues/1481))
|
52
|
+
|
53
|
+
### Bug Fixes
|
54
|
+
- Markdown extension matching matches only exact matches ([#1382]({{ site.repository }}/issues/1382))
|
55
|
+
- Fixed NoMethodError when message passed to `Stevenson#message` is nil ([#1388]({{ site.repository }}/issues/1388))
|
56
|
+
- Use binary mode when writing file ([#1364]({{ site.repository }}/issues/1364))
|
57
|
+
- Fix 'undefined method `encoding` for "mailto"' errors w/ Ruby 1.8 and
|
58
|
+
Kramdown > 0.14.0 ([#1397]({{ site.repository }}/issues/1397))
|
59
|
+
- Do not force the permalink to be a dir if it ends on .html ([#963]({{ site.repository }}/issues/963))
|
60
|
+
- When a Liquid Exception is caught, show the full path rel. to site source ([#1415]({{ site.repository }}/issues/1415))
|
61
|
+
- Properly read in the config options when serving the docs locally
|
62
|
+
([#1444]({{ site.repository }}/issues/1444))
|
63
|
+
- Fixed `--layouts` option for `build` and `serve` commands ([#1458]({{ site.repository }}/issues/1458))
|
64
|
+
- Remove kramdown as a runtime dependency since it's optional ([#1498]({{ site.repository }}/issues/1498))
|
65
|
+
- Provide proper error handling for invalid file names in the include
|
66
|
+
tag ([#1494]({{ site.repository }}/issues/1494))
|
67
|
+
|
68
|
+
### Development Fixes
|
69
|
+
- Remove redundant argument to
|
70
|
+
Jekyll::Commands::New#scaffold_post_content ([#1356]({{ site.repository }}/issues/1356))
|
71
|
+
- Add new dependencies to the README ([#1360]({{ site.repository }}/issues/1360))
|
72
|
+
- Fix link to contributing page in README ([#1424]({{ site.repository }}/issues/1424))
|
73
|
+
- Update TomDoc in Pager#initialize to match params ([#1441]({{ site.repository }}/issues/1441))
|
74
|
+
- Refactor `Site#cleanup` into `Jekyll::Site::Cleaner` class ([#1429]({{ site.repository }}/issues/1429))
|
75
|
+
- Several other small minor refactorings ([#1341]({{ site.repository }}/issues/1341))
|
76
|
+
- Ignore `_site` in jekyllrb.com deploy ([#1480]({{ site.repository }}/issues/1480))
|
77
|
+
- Add Gem version and dependency badge to README ([#1497]({{ site.repository }}/issues/1497))
|
78
|
+
|
79
|
+
### Site Enhancements
|
80
|
+
- Add info about new releases ([#1353]({{ site.repository }}/issues/1353))
|
81
|
+
- Update plugin list with jekyll-rss plugin ([#1354]({{ site.repository }}/issues/1354))
|
82
|
+
- Update the site list page with Ruby's official site ([#1358]({{ site.repository }}/issues/1358))
|
83
|
+
- Add `jekyll-ditaa` to list of third-party plugins ([#1370]({{ site.repository }}/issues/1370))
|
84
|
+
- Add `postfiles` to list of third-party plugins ([#1373]({{ site.repository }}/issues/1373))
|
85
|
+
- For internal links, use full path including trailing `/` ([#1411]({{ site.repository }}/issues/1411))
|
86
|
+
- Use curly apostrophes in the docs ([#1419]({{ site.repository }}/issues/1419))
|
87
|
+
- Update the docs for Redcarpet in Jekyll ([#1418]({{ site.repository }}/issues/1418))
|
88
|
+
- Add `pluralize` and `reading_time` filters to docs ([#1439]({{ site.repository }}/issues/1439))
|
89
|
+
- Fix markup for the Kramdown options ([#1445]({{ site.repository }}/issues/1445))
|
90
|
+
- Fix typos in the History file ([#1454]({{ site.repository }}/issues/1454))
|
91
|
+
- Add trailing slash to site's post URL ([#1462]({{ site.repository }}/issues/1462))
|
92
|
+
- Clarify that `--config` will take multiple files ([#1474]({{ site.repository }}/issues/1474))
|
93
|
+
- Fix docs/templates.md private gist example ([#1477]({{ site.repository }}/issues/1477))
|
94
|
+
- Use `site.repository` for Jekyll's GitHub URL ([#1463]({{ site.repository }}/issues/1463))
|
95
|
+
- Add `jekyll-pageless-redirects` to list of third-party plugins ([#1486]({{ site.repository }}/issues/1486))
|
96
|
+
- Clarify that `date_to_xmlschema` returns an ISO 8601 string ([#1488]({{ site.repository }}/issues/1488))
|
97
|
+
- Add `jekyll-good-include` to list of third-party plugins ([#1491]({{ site.repository }}/issues/1491))
|
98
|
+
- XML escape the blog post title in our feed ([#1501]({{ site.repository }}/issues/1501))
|
99
|
+
- Add `jekyll-toc-generator` to list of third-party plugins ([#1506]({{ site.repository }}/issues/1506))
|
100
|
+
|
101
|
+
## 1.1.2 / 2013-07-25
|
102
|
+
|
103
|
+
### Bug Fixes
|
104
|
+
- Require Liquid 2.5.1 ([#1349]({{ site.repository }}/issues/1349))
|
105
|
+
|
106
|
+
## 1.1.1 / 2013-07-24
|
107
|
+
|
108
|
+
### Minor Enhancements
|
109
|
+
- Remove superfluous `table` selector from main.css in `jekyll new` template ([#1328]({{ site.repository }}/issues/1328))
|
110
|
+
- Abort with non-zero exit codes ([#1338]({{ site.repository }}/issues/1338))
|
111
|
+
|
112
|
+
### Bug Fixes
|
113
|
+
- Fix up the rendering of excerpts ([#1339]({{ site.repository }}/issues/1339))
|
114
|
+
|
115
|
+
### Site Enhancements
|
116
|
+
- Add Jekyll Image Tag to the plugins list ([#1306]({{ site.repository }}/issues/1306))
|
117
|
+
- Remove erroneous statement that `site.pages` are sorted alphabetically.
|
118
|
+
- Add info about the `_drafts` directory to the directory structure
|
119
|
+
docs ([#1320]({{ site.repository }}/issues/1320))
|
120
|
+
- Improve the layout of the plugin listing by organizing it into
|
121
|
+
categories ([#1310]({{ site.repository }}/issues/1310))
|
122
|
+
- Add generator-jekyllrb and grunt-jekyll to plugins page ([#1330]({{ site.repository }}/issues/1330))
|
123
|
+
- Mention Kramdown as option for markdown parser on Extras page ([#1318]({{ site.repository }}/issues/1318))
|
124
|
+
- Update Quick-Start page to include reminder that all requirements must be installed ([#1327]({{ site.repository }}/issues/1327))
|
125
|
+
- Change filename in `include` example to an HTML file so as not to indicate that Jekyll
|
126
|
+
will automatically convert them. ([#1303]({{ site.repository }}/issues/1303))
|
127
|
+
- Add an RSS feed for commits to Jekyll ([#1343]({{ site.repository }}/issues/1343))
|
128
|
+
|
8
129
|
## 1.1.0 / 2013-07-14
|
9
130
|
|
10
131
|
### Major Enhancements
|
@@ -205,7 +326,7 @@ prev_section: contributing
|
|
205
326
|
- Allow symlinked files in unsafe mode ([#824]({{ site.repository }}/issues/824))
|
206
327
|
- Add 'gist' Liquid tag to core ([#822]({{ site.repository }}/issues/822), [#861]({{ site.repository }}/issues/861))
|
207
328
|
- New format of Jekyll output ([#795]({{ site.repository }}/issues/795))
|
208
|
-
- Reinstate
|
329
|
+
- Reinstate `--limit_posts` and `--future` switches ([#788]({{ site.repository }}/issues/788))
|
209
330
|
- Remove ambiguity from command descriptions ([#815]({{ site.repository }}/issues/815))
|
210
331
|
- Fix SafeYAML Warnings ([#807]({{ site.repository }}/issues/807))
|
211
332
|
- Relaxed Kramdown version to 0.14 ([#808]({{ site.repository }}/issues/808))
|
@@ -228,7 +349,7 @@ prev_section: contributing
|
|
228
349
|
- Catch all exceptions, not just StandardError descendents ([#1007]({{ site.repository }}/issues/1007))
|
229
350
|
- Bullet-proof limit_posts option ([#1004]({{ site.repository }}/issues/1004))
|
230
351
|
- Read in YAML as UTF-8 to accept non-ASCII chars ([#836]({{ site.repository }}/issues/836))
|
231
|
-
- Fix the CLI option
|
352
|
+
- Fix the CLI option `--plugins` to actually accept dirs and files ([#993]({{ site.repository }}/issues/993))
|
232
353
|
- Allow 'excerpt' in YAML Front-Matter to override the extracted excerpt ([#946]({{ site.repository }}/issues/946))
|
233
354
|
- Fix cascade problem with site.baseurl, site.port and site.host. ([#935]({{ site.repository }}/issues/935))
|
234
355
|
- Filter out directories with valid post names ([#875]({{ site.repository }}/issues/875))
|
data/site/docs/migrations.md
CHANGED
@@ -74,7 +74,7 @@ here's how:
|
|
74
74
|
|
75
75
|
{% highlight bash %}
|
76
76
|
$ ruby -rubygems -e 'require "jekyll/jekyll-import/wordpress";
|
77
|
-
JekyllImport::WordPress.process("database", "user", "pass")'
|
77
|
+
JekyllImport::WordPress.process({:database => "database", :user => "user", :pass => "pass"})'
|
78
78
|
{% endhighlight %}
|
79
79
|
|
80
80
|
If you are using Webfaction and have to set up an [SSH
|
File without changes
|
File without changes
|
data/test/test_related_posts.rb
CHANGED
data/test/test_tags.rb
CHANGED
@@ -436,5 +436,22 @@ CONTENT
|
|
436
436
|
assert_match "<span id='include-param' />", @result
|
437
437
|
end
|
438
438
|
end
|
439
|
+
|
440
|
+
context "without parameters within if statement" do
|
441
|
+
setup do
|
442
|
+
content = <<CONTENT
|
443
|
+
---
|
444
|
+
title: without parameters within if statement
|
445
|
+
---
|
446
|
+
|
447
|
+
{% if true %}{% include params.html %}{% endif %}
|
448
|
+
CONTENT
|
449
|
+
create_post(content, {'permalink' => 'pretty', 'source' => source_dir, 'destination' => dest_dir, 'read_posts' => true})
|
450
|
+
end
|
451
|
+
|
452
|
+
should "include file with empty parameters within if statement" do
|
453
|
+
assert_match "<span id='include-param' />", @result
|
454
|
+
end
|
455
|
+
end
|
439
456
|
end
|
440
457
|
end
|
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: 1.2.
|
4
|
+
version: 1.2.1
|
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: 2013-09-
|
11
|
+
date: 2013-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: liquid
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.5.
|
19
|
+
version: 2.5.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.5.
|
26
|
+
version: 2.5.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: classifier
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - ~>
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 2.
|
131
|
+
version: 2.3.0
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - ~>
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 2.
|
138
|
+
version: 2.3.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rake
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -410,6 +410,8 @@ files:
|
|
410
410
|
- site/_includes/analytics.html
|
411
411
|
- site/_includes/docs_contents.html
|
412
412
|
- site/_includes/docs_contents_mobile.html
|
413
|
+
- site/_includes/docs_option.html
|
414
|
+
- site/_includes/docs_ul.html
|
413
415
|
- site/_includes/footer.html
|
414
416
|
- site/_includes/header.html
|
415
417
|
- site/_includes/news_contents.html
|
@@ -431,6 +433,7 @@ files:
|
|
431
433
|
- site/_posts/2013-07-25-jekyll-1-0-4-released.markdown
|
432
434
|
- site/_posts/2013-07-25-jekyll-1-1-2-released.markdown
|
433
435
|
- site/_posts/2013-09-06-jekyll-1-2-0-released.markdown
|
436
|
+
- site/_posts/2013-09-14-jekyll-1-2-1-released.markdown
|
434
437
|
- site/css/gridism.css
|
435
438
|
- site/css/normalize.css
|
436
439
|
- site/css/pygments.css
|
@@ -473,8 +476,8 @@ files:
|
|
473
476
|
- site/img/tube1x.png
|
474
477
|
- site/index.html
|
475
478
|
- site/js/modernizr-2.5.3.min.js
|
476
|
-
- site/news/index.
|
477
|
-
- site/news/releases/index.
|
479
|
+
- site/news/index.html
|
480
|
+
- site/news/releases/index.html
|
478
481
|
- test/fixtures/broken_front_matter1.erb
|
479
482
|
- test/fixtures/broken_front_matter2.erb
|
480
483
|
- test/fixtures/broken_front_matter3.erb
|
@@ -576,7 +579,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
576
579
|
version: '0'
|
577
580
|
requirements: []
|
578
581
|
rubyforge_project: jekyll
|
579
|
-
rubygems_version: 2.0.
|
582
|
+
rubygems_version: 2.0.3
|
580
583
|
signing_key:
|
581
584
|
specification_version: 2
|
582
585
|
summary: A simple, blog aware, static site generator.
|