jekyll 2.0.0.alpha.1 → 2.0.0.alpha.2

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.

Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +15 -0
  3. data/.travis.yml +27 -0
  4. data/History.markdown +66 -1
  5. data/LICENSE +2 -2
  6. data/README.markdown +2 -2
  7. data/Rakefile +4 -44
  8. data/bin/jekyll +10 -113
  9. data/docs/jp/CONTRIBUTING.jp.markdown +93 -0
  10. data/docs/jp/README.jp.markdown +69 -0
  11. data/features/create_sites.feature +12 -12
  12. data/features/drafts.feature +23 -2
  13. data/features/embed_filters.feature +7 -5
  14. data/features/include_tag.feature +7 -7
  15. data/features/markdown.feature +4 -4
  16. data/features/pagination.feature +2 -2
  17. data/features/permalinks.feature +7 -7
  18. data/features/post_data.feature +21 -21
  19. data/features/post_excerpts.feature +6 -6
  20. data/features/site_configuration.feature +17 -17
  21. data/features/site_data.feature +15 -15
  22. data/features/step_definitions/jekyll_steps.rb +4 -4
  23. data/features/support/env.rb +2 -2
  24. data/jekyll.gemspec +17 -284
  25. data/lib/jekyll.rb +21 -5
  26. data/lib/jekyll/command.rb +72 -20
  27. data/lib/jekyll/commands/build.rb +82 -58
  28. data/lib/jekyll/commands/docs.rb +30 -0
  29. data/lib/jekyll/commands/doctor.rb +18 -1
  30. data/lib/jekyll/commands/new.rb +19 -6
  31. data/lib/jekyll/commands/serve.rb +80 -49
  32. data/lib/jekyll/configuration.rb +3 -3
  33. data/lib/jekyll/converters/markdown/kramdown_parser.rb +1 -1
  34. data/lib/jekyll/converters/markdown/redcarpet_parser.rb +1 -0
  35. data/lib/jekyll/convertible.rb +19 -21
  36. data/lib/jekyll/draft.rb +5 -0
  37. data/lib/jekyll/excerpt.rb +5 -5
  38. data/lib/jekyll/layout.rb +2 -2
  39. data/lib/jekyll/layout_reader.rb +15 -2
  40. data/lib/jekyll/page.rb +17 -17
  41. data/lib/jekyll/post.rb +33 -33
  42. data/lib/jekyll/related_posts.rb +5 -5
  43. data/lib/jekyll/site.rb +84 -85
  44. data/lib/jekyll/static_file.rb +13 -0
  45. data/lib/jekyll/stevenson.rb +1 -1
  46. data/lib/jekyll/tags/highlight.rb +16 -6
  47. data/lib/jekyll/tags/include.rb +17 -17
  48. data/lib/jekyll/url.rb +2 -0
  49. data/lib/jekyll/utils.rb +79 -0
  50. data/lib/jekyll/version.rb +3 -0
  51. data/lib/site_template/_config.yml +3 -1
  52. data/lib/site_template/_includes/footer.html +61 -0
  53. data/lib/site_template/_includes/head.html +12 -0
  54. data/lib/site_template/_includes/header.html +27 -0
  55. data/lib/site_template/_layouts/default.html +9 -34
  56. data/lib/site_template/_layouts/page.html +14 -0
  57. data/lib/site_template/_layouts/post.html +11 -5
  58. data/lib/site_template/_posts/0000-00-00-this-post-demonstrates-post-content-styles.md +88 -0
  59. data/lib/site_template/about/index.md +10 -0
  60. data/lib/site_template/css/main.css +333 -100
  61. data/lib/site_template/feed.xml +21 -0
  62. data/lib/site_template/index.html +8 -4
  63. data/lib/site_template/projects/index.md +14 -0
  64. data/script/cibuild +0 -1
  65. data/script/rebund +1 -1
  66. data/site/_includes/analytics.html +2 -2
  67. data/site/_includes/css/normalize.css +1 -1
  68. data/site/_includes/css/style.css +28 -4
  69. data/site/_includes/docs_option.html +1 -1
  70. data/site/_includes/docs_ul.html +3 -3
  71. data/site/_includes/footer.html +1 -1
  72. data/site/_includes/header.html +2 -2
  73. data/site/_includes/news_item.html +1 -1
  74. data/site/_includes/primary-nav-items.html +4 -4
  75. data/site/_includes/section_nav.html +2 -2
  76. data/site/_includes/top.html +6 -7
  77. data/site/_layouts/news_item.html +1 -1
  78. data/site/_posts/2013-07-25-jekyll-1-0-4-released.markdown +1 -1
  79. data/site/_posts/2013-07-25-jekyll-1-1-2-released.markdown +1 -1
  80. data/site/_posts/2013-09-14-jekyll-1-2-1-released.markdown +1 -1
  81. data/site/_posts/2014-03-24-jekyll-1-5-0-released.markdown +19 -0
  82. data/site/docs/assets.md +14 -0
  83. data/site/docs/configuration.md +65 -56
  84. data/site/docs/contributing.md +7 -2
  85. data/site/docs/deployment-methods.md +1 -1
  86. data/site/docs/github-pages.md +1 -1
  87. data/site/docs/history.md +21 -0
  88. data/site/docs/index.md +7 -1
  89. data/site/docs/installation.md +28 -0
  90. data/site/docs/migrations.md +1 -1
  91. data/site/docs/plugins.md +6 -0
  92. data/site/docs/structure.md +3 -3
  93. data/site/docs/templates.md +44 -44
  94. data/site/docs/usage.md +1 -1
  95. data/site/docs/variables.md +15 -2
  96. data/site/favicon.png +0 -0
  97. data/site/feed.xml +0 -1
  98. data/site/img/article-footer.png +0 -0
  99. data/site/img/footer-arrow.png +0 -0
  100. data/site/img/footer-logo.png +0 -0
  101. data/site/img/logo-2x.png +0 -0
  102. data/site/img/octojekyll.png +0 -0
  103. data/site/img/tube.png +0 -0
  104. data/site/img/tube1x.png +0 -0
  105. data/site/index.html +5 -5
  106. data/site/js/modernizr-2.7.1.min.js +4 -0
  107. data/test/helper.rb +11 -0
  108. data/test/source/_drafts/draft-properties.text +11 -0
  109. data/test/source/_posts/2011-04-12-md-extension.md +1 -1
  110. data/test/source/_posts/2014-01-06-permalink-traversal.md +5 -0
  111. data/test/source/exploit.md +5 -0
  112. data/test/source/static_files.html +4 -0
  113. data/test/test_configuration.rb +2 -2
  114. data/test/test_draft.rb +56 -0
  115. data/test/test_excerpt.rb +2 -2
  116. data/test/test_filters.rb +1 -1
  117. data/test/test_generated_site.rb +10 -1
  118. data/test/test_kramdown.rb +1 -1
  119. data/test/test_layout_reader.rb +17 -0
  120. data/test/test_page.rb +10 -0
  121. data/test/test_pager.rb +4 -2
  122. data/test/test_path_sanitization.rb +14 -0
  123. data/test/test_post.rb +12 -1
  124. data/test/test_sass.rb +1 -64
  125. data/test/test_site.rb +26 -1
  126. data/test/test_tags.rb +39 -2
  127. data/test/{test_core_ext.rb → test_utils.rb} +12 -12
  128. metadata +200 -86
  129. data/lib/jekyll/converters/sass.rb +0 -58
  130. data/lib/jekyll/core_ext.rb +0 -55
  131. data/lib/site_template/css/syntax.css +0 -60
  132. data/site/js/modernizr-2.5.3.min.js +0 -4
@@ -102,10 +102,15 @@ Jekyll's repo on GitHub.com.
102
102
  All documentation pull requests should be directed at `master`. Pull
103
103
  requests directed at another branch will not be accepted.
104
104
 
105
- The [Jekyll wiki]({{ site.repository }}/wiki) on GitHub
106
- can be freely updated without a pull request as all
105
+ The [Jekyll wiki]({{ site.repository }}/wiki) on GitHub
106
+ can be freely updated without a pull request as all
107
107
  GitHub users have access.
108
108
 
109
+ If you want to add your plugin to the [list of plugins](/docs/plugins/#available_plugins),
110
+ please submit a pull request modifying the [plugins page source
111
+ file]({{ site.repository }}/blob/master/site/docs/plugins.md) by adding a
112
+ link to your plugin under the proper subheading depending upon its type.
113
+
109
114
  Gotchas
110
115
  -------
111
116
 
@@ -86,7 +86,7 @@ this script from within Textmate.
86
86
 
87
87
  ## Rack-Jekyll
88
88
 
89
- [Rack-Jekyll](http://github.com/bry4n/rack-jekyll/) is an easy way to deploy your site on any Rack server such as Amazon EC2, Slicehost, Heroku, and so forth. It also can run with [shotgun](http://github.com/rtomakyo/shotgun/), [rackup](http://github.com/rack/rack), [mongrel](http://github.com/mongrel/mongrel), [unicorn](http://github.com/defunkt/unicorn/), and [others](https://github.com/adaoraul/rack-jekyll#readme).
89
+ [Rack-Jekyll](http://github.com/adaoraul/rack-jekyll/) is an easy way to deploy your site on any Rack server such as Amazon EC2, Slicehost, Heroku, and so forth. It also can run with [shotgun](http://github.com/rtomakyo/shotgun/), [rackup](http://github.com/rack/rack), [mongrel](http://github.com/mongrel/mongrel), [unicorn](http://github.com/defunkt/unicorn/), and [others](https://github.com/adaoraul/rack-jekyll#readme).
90
90
 
91
91
  Read [this post](http://blog.crowdint.com/2010/08/02/instant-blog-using-jekyll-and-heroku.html) on how to deploy to Heroku using Rack-Jekyll.
92
92
 
@@ -65,7 +65,7 @@ whilst maintaining the ability to preview your Jekyll site locally.
65
65
  1. In `_config.yml`, set the `baseurl` option to `/project-name` -- note the
66
66
  leading slash and the **absence** of a trailing slash.
67
67
  2. When referencing JS or CSS files, do it like this:
68
- `{% raw %}{{ site.baseurl}}/path/to/css.css{% endraw %}` -- note the slash
68
+ `{% raw %}{{ site.baseurl }}/path/to/css.css{% endraw %}` -- note the slash
69
69
  immediately following the variable (just before "path").
70
70
  3. When doing permalinks or internal links, do it like this:
71
71
  `{% raw %}{{ site.baseurl }}{{ post.url }}{% endraw %}` -- note that there
@@ -5,6 +5,27 @@ permalink: "/docs/history/"
5
5
  prev_section: contributing
6
6
  ---
7
7
 
8
+ ## 1.5.0 / 2014-03-24
9
+
10
+ ### Minor Enhancements
11
+
12
+ - Loosen `safe_yaml` dependency to `~> 1.0` ([#2167]({{ site.repository }}/issues/2167))
13
+ - Bump `safe_yaml` dependency to `~> 1.0.0` ([#1942]({{ site.repository }}/issues/1942))
14
+
15
+ ### Bug Fixes
16
+
17
+ - Fix issue where filesystem traversal restriction broke Windows ([#2167]({{ site.repository }}/issues/2167))
18
+ - Lock `maruku` at `0.7.0` ([#2167]({{ site.repository }}/issues/2167))
19
+
20
+ ### Development Fixes
21
+
22
+ - Lock `cucumber` at `1.3.11` ([#2167]({{ site.repository }}/issues/2167))
23
+
24
+ ## 1.4.3 / 2014-01-13
25
+
26
+ ### Bug Fixes
27
+ - Patch show-stopping security vulnerabilities ([#1944]({{ site.repository }}/issues/1944))
28
+
8
29
  ## 1.4.2 / 2013-12-16
9
30
 
10
31
  ### Bug Fixes
@@ -24,7 +24,7 @@ behind [GitHub Pages](http://pages.github.com), which means you can use Jekyll
24
24
  to host your project’s page, blog, or website from GitHub’s servers **for
25
25
  free**.
26
26
 
27
- ## ProTips™, Notes, and Warnings
27
+ ## Helpful Hints
28
28
 
29
29
  Throughout this guide there are a number of small-but-handy pieces of
30
30
  information that can make using Jekyll easier, more interesting, and less
@@ -46,6 +46,12 @@ hazardous. Here’s what to look out for.
46
46
  <p>Be aware of these messages if you wish to avoid certain death.</p>
47
47
  </div>
48
48
 
49
+ <div class="note unreleased">
50
+ <h5>You'll see this by a feature that hasn't been released</h5>
51
+ <p>Some pieces of this website are for future versions of Jekyll that
52
+ are not yet released.</p>
53
+ </div>
54
+
49
55
  If you come across anything along the way that we haven’t covered, or if you
50
56
  know of a tip you think others would find handy, please [file an
51
57
  issue]({{ site.repository }}/issues/new) and we’ll see about
@@ -55,6 +55,34 @@ community can improve the experience for everyone.
55
55
  </p>
56
56
  </div>
57
57
 
58
+ ## Pre-releases
59
+
60
+ In order to install a pre-release, make sure you have all the requirements
61
+ installed properly and run:
62
+
63
+ {% highlight bash %}
64
+ gem install jekyll --pre
65
+ {% endhighlight %}
66
+
67
+ This will install the latest pre-release. If you want a particular pre-release,
68
+ use the `-v` switch to indicate the version you'd like to install:
69
+
70
+ {% highlight bash %}
71
+ gem install jekyll -v '2.0.0.alpha.1'
72
+ {% endhighlight %}
73
+
74
+ If you'd like to install a development version of Jekyll, the process is a bit
75
+ more involved. This gives you the advantage of having the latest and greatest,
76
+ but may be unstable.
77
+
78
+ {% highlight bash %}
79
+ $ git clone git://github.com/jekyll/jekyll.git
80
+ $ cd jekyll
81
+ $ script/bootstrap
82
+ $ bundle exec rake build
83
+ $ ls pkg/*.gem | head -n 1 | xargs gem install -l
84
+ {% endhighlight %}
85
+
58
86
  ## Optional Extras
59
87
 
60
88
  There are a number of (optional) extra features that Jekyll supports that you
@@ -8,4 +8,4 @@ permalink: /docs/migrations/
8
8
 
9
9
  If you’re switching to Jekyll from another blogging system, Jekyll’s importers
10
10
  can help you with the move. To learn more about importing your site to Jekyll,
11
- visit our [`jekyll-import` docs site](http://import.jekyllrb.com).
11
+ visit our [`jekyll-import` docs site](http://import.jekyllrb.com/docs/home/).
@@ -73,6 +73,7 @@ instances of
73
73
  and are available via `site.pages`. Static files become instances of
74
74
  [`Jekyll::StaticFile`]({{ site.repository }}/blob/master/lib/jekyll/static_file.rb)
75
75
  and are available via `site.static_files`. See
76
+ [the Variables documentation page](../installation/) and
76
77
  [`Jekyll::Site`]({{ site.repository }}/blob/master/lib/jekyll/site.rb)
77
78
  for more details.
78
79
 
@@ -423,6 +424,7 @@ You can find a few useful plugins at the following locations:
423
424
  - [Category archive generator by Shigeya Suzuki](https://github.com/shigeya/jekyll-category-archive-plugin): Generator and template which renders category archive like MovableType style, based on Monthly archive generator.
424
425
  - [Emoji for Jekyll](https://github.com/yihangho/emoji-for-jekyll): Seamlessly enable emoji for all posts and pages.
425
426
  - [Compass integration for Jekyll](https://github.com/mscharley/jekyll-compass): Easily integrate Compass and Sass with your Jekyll website.
427
+ - [Pages Directory by Ben Baker-Smith](https://github.com/bbakersmith/jekyll-pages-directory): Defines a `_pages` directory for page files which routes its output relative to the project root.
426
428
 
427
429
  #### Converters
428
430
 
@@ -458,6 +460,7 @@ You can find a few useful plugins at the following locations:
458
460
  - [reading_time](https://github.com/bdesham/reading_time): Count words and estimate reading time for a piece of text, ignoring HTML elements that are unlikely to contain running text.
459
461
  - [Table of Content Generator](https://github.com/dafi/jekyll-toc-generator): Generate the HTML code containing a table of content (TOC), the TOC can be customized in many way, for example you can decide which pages can be without TOC.
460
462
  - [jekyll-humanize](https://github.com/23maverick23/jekyll-humanize): This is a port of the Django app humanize which adds a "human touch" to data. Each method represents a Fluid type filter that can be used in your Jekyll site templates. Given that Jekyll produces static sites, some of the original methods do not make logical sense to port (e.g. naturaltime).
463
+ - [Jekyll-Ordinal](https://github.com/PatrickC8t/Jekyll-Ordinal): Jekyll liquid filter to output a date ordinal such as "st", "nd", "rd", or "th".
461
464
 
462
465
  #### Tags
463
466
 
@@ -498,6 +501,9 @@ You can find a few useful plugins at the following locations:
498
501
  - [Jekyll Image Encode](https://github.com/GSI/jekyll_image_encode) by [GSI](https://github.com/GSI): Tag that renders base64 codes of images fetched from the web.
499
502
  - [Jekyll Quick Man](https://github.com/GSI/jekyll_quick_man) by [GSI](https://github.com/GSI): Tag that renders pretty links to man page sources on the internet.
500
503
  - [jekyll-font-awesome](https://gist.github.com/23maverick23/8532525): Quickly and easily add Font Awesome icons to your posts.
504
+ - [Lychee Gallery Tag](https://gist.github.com/tobru/9171700) by [tobru](https://github.com/tobru): Include [Lychee](http://lychee.electerious.com/) albums into a post. For an introduction, see [Jekyll meets Lychee - A Liquid Tag plugin](https://tobrunet.ch/articles/jekyll-meets-lychee-a-liquid-tag-plugin/)
505
+ - [Image Set/Gallery Tag](https://github.com/callmeed/jekyll-image-set) by [callmeed](https://github.com/callmeed): Renders HTML for an image gallery from a folder in your Jekyll site. Just pass it a folder name and class/tag options.
506
+ - [jekyll_figure](https://github.com/lmullen/jekyll_figure): Generate figures and captions with links to the figure in a variety of formats
501
507
 
502
508
  #### Collections
503
509
 
@@ -130,9 +130,9 @@ An overview of what each of these does:
130
130
  <td>
131
131
  <p>
132
132
 
133
- Well-formatted site data should be placed here. The jekyll engine will
134
- autoload all yaml files (ends with <code>.yml</code> or <code>.yaml</code>)
135
- in this directory. If there's a file <code>members.yml</code> under the directory,
133
+ Well-formatted site data should be placed here. The jekyll engine will
134
+ autoload all yaml files (ends with <code>.yml</code> or <code>.yaml</code>)
135
+ in this directory. If there's a file <code>members.yml</code> under the directory,
136
136
  then you can access contents of the file through <code>site.data.members</code>.
137
137
 
138
138
  </p>
@@ -25,162 +25,162 @@ common tasks easier.
25
25
  <tbody>
26
26
  <tr>
27
27
  <td>
28
- <p class='name'><strong>Date to XML Schema</strong></p>
28
+ <p class="name"><strong>Date to XML Schema</strong></p>
29
29
  <p>Convert a Date into XML Schema (ISO 8601) format.</p>
30
30
  </td>
31
- <td class='align-center'>
31
+ <td class="align-center">
32
32
  <p>
33
- <code class='filter'>{% raw %}{{ site.time | date_to_xmlschema }}{% endraw %}</code>
33
+ <code class="filter">{% raw %}{{ site.time | date_to_xmlschema }}{% endraw %}</code>
34
34
  </p>
35
35
  <p>
36
- <code class='output'>2008-11-07T13:07:54-08:00</code>
36
+ <code class="output">2008-11-07T13:07:54-08:00</code>
37
37
  </p>
38
38
  </td>
39
39
  </tr>
40
40
  <tr>
41
41
  <td>
42
- <p class='name'><strong>Date to RFC-822 Format</strong></p>
42
+ <p class="name"><strong>Date to RFC-822 Format</strong></p>
43
43
  <p>Convert a Date into the RFC-822 format used for RSS feeds.</p>
44
44
  </td>
45
- <td class='align-center'>
45
+ <td class="align-center">
46
46
  <p>
47
- <code class='filter'>{% raw %}{{ site.time | date_to_rfc822 }}{% endraw %}</code>
47
+ <code class="filter">{% raw %}{{ site.time | date_to_rfc822 }}{% endraw %}</code>
48
48
  </p>
49
49
  <p>
50
- <code class='output'>Mon, 07 Nov 2008 13:07:54 -0800</code>
50
+ <code class="output">Mon, 07 Nov 2008 13:07:54 -0800</code>
51
51
  </p>
52
52
  </td>
53
53
  </tr>
54
54
  <tr>
55
55
  <td>
56
- <p class='name'><strong>Date to String</strong></p>
56
+ <p class="name"><strong>Date to String</strong></p>
57
57
  <p>Convert a date to short format.</p>
58
58
  </td>
59
- <td class='align-center'>
59
+ <td class="align-center">
60
60
  <p>
61
- <code class='filter'>{% raw %}{{ site.time | date_to_string }}{% endraw %}</code>
61
+ <code class="filter">{% raw %}{{ site.time | date_to_string }}{% endraw %}</code>
62
62
  </p>
63
63
  <p>
64
- <code class='output'>07 Nov 2008</code>
64
+ <code class="output">07 Nov 2008</code>
65
65
  </p>
66
66
  </td>
67
67
  </tr>
68
68
  <tr>
69
69
  <td>
70
- <p class='name'><strong>Date to Long String</strong></p>
70
+ <p class="name"><strong>Date to Long String</strong></p>
71
71
  <p>Format a date to long format.</p>
72
72
  </td>
73
- <td class='align-center'>
73
+ <td class="align-center">
74
74
  <p>
75
- <code class='filter'>{% raw %}{{ site.time | date_to_long_string }}{% endraw %}</code>
75
+ <code class="filter">{% raw %}{{ site.time | date_to_long_string }}{% endraw %}</code>
76
76
  </p>
77
77
  <p>
78
- <code class='output'>07 November 2008</code>
78
+ <code class="output">07 November 2008</code>
79
79
  </p>
80
80
  </td>
81
81
  </tr>
82
82
  <tr>
83
83
  <td>
84
- <p class='name'><strong>XML Escape</strong></p>
84
+ <p class="name"><strong>XML Escape</strong></p>
85
85
  <p>Escape some text for use in XML.</p>
86
86
  </td>
87
- <td class='align-center'>
87
+ <td class="align-center">
88
88
  <p>
89
- <code class='filter'>{% raw %}{{ page.content | xml_escape }}{% endraw %}</code>
89
+ <code class="filter">{% raw %}{{ page.content | xml_escape }}{% endraw %}</code>
90
90
  </p>
91
91
  </td>
92
92
  </tr>
93
93
  <tr>
94
94
  <td>
95
- <p class='name'><strong>CGI Escape</strong></p>
95
+ <p class="name"><strong>CGI Escape</strong></p>
96
96
  <p>
97
97
  CGI escape a string for use in a URL. Replaces any special characters
98
98
  with appropriate %XX replacements.
99
99
  </p>
100
100
  </td>
101
- <td class='align-center'>
101
+ <td class="align-center">
102
102
  <p>
103
- <code class='filter'>{% raw %}{{ “foo,bar;baz?” | cgi_escape }}{% endraw %}</code>
103
+ <code class="filter">{% raw %}{{ “foo,bar;baz?” | cgi_escape }}{% endraw %}</code>
104
104
  </p>
105
105
  <p>
106
- <code class='output'>foo%2Cbar%3Bbaz%3F</code>
106
+ <code class="output">foo%2Cbar%3Bbaz%3F</code>
107
107
  </p>
108
108
  </td>
109
109
  </tr>
110
110
  <tr>
111
111
  <td>
112
- <p class='name'><strong>URI Escape</strong></p>
112
+ <p class="name"><strong>URI Escape</strong></p>
113
113
  <p>
114
114
  URI escape a string.
115
115
  </p>
116
116
  </td>
117
- <td class='align-center'>
117
+ <td class="align-center">
118
118
  <p>
119
- <code class='filter'>{% raw %}{{ “'foo, bar \\baz?'” | uri_escape }}{% endraw %}</code>
119
+ <code class="filter">{% raw %}{{ “'foo, bar \\baz?'” | uri_escape }}{% endraw %}</code>
120
120
  </p>
121
121
  <p>
122
- <code class='output'>foo,%20bar%20%5Cbaz?</code>
122
+ <code class="output">foo,%20bar%20%5Cbaz?</code>
123
123
  </p>
124
124
  </td>
125
125
  </tr>
126
126
  <tr>
127
127
  <td>
128
- <p class='name'><strong>Number of Words</strong></p>
128
+ <p class="name"><strong>Number of Words</strong></p>
129
129
  <p>Count the number of words in some text.</p>
130
130
  </td>
131
- <td class='align-center'>
131
+ <td class="align-center">
132
132
  <p>
133
- <code class='filter'>{% raw %}{{ page.content | number_of_words }}{% endraw %}</code>
133
+ <code class="filter">{% raw %}{{ page.content | number_of_words }}{% endraw %}</code>
134
134
  </p>
135
135
  <p>
136
- <code class='output'>1337</code>
136
+ <code class="output">1337</code>
137
137
  </p>
138
138
  </td>
139
139
  </tr>
140
140
  <tr>
141
141
  <td>
142
- <p class='name'><strong>Array to Sentence</strong></p>
142
+ <p class="name"><strong>Array to Sentence</strong></p>
143
143
  <p>Convert an array into a sentence. Useful for listing tags.</p>
144
144
  </td>
145
- <td class='align-center'>
145
+ <td class="align-center">
146
146
  <p>
147
- <code class='filter'>{% raw %}{{ page.tags | array_to_sentence_string }}{% endraw %}</code>
147
+ <code class="filter">{% raw %}{{ page.tags | array_to_sentence_string }}{% endraw %}</code>
148
148
  </p>
149
149
  <p>
150
- <code class='output'>foo, bar, and baz</code>
150
+ <code class="output">foo, bar, and baz</code>
151
151
  </p>
152
152
  </td>
153
153
  </tr>
154
154
  <tr>
155
155
  <td>
156
- <p class='name'><strong>Textilize</strong></p>
156
+ <p class="name"><strong>Textilize</strong></p>
157
157
  <p>Convert a Textile-formatted string into HTML, formatted via RedCloth</p>
158
158
  </td>
159
- <td class='align-center'>
159
+ <td class="align-center">
160
160
  <p>
161
- <code class='filter'>{% raw %}{{ page.excerpt | textilize }}{% endraw %}</code>
161
+ <code class="filter">{% raw %}{{ page.excerpt | textilize }}{% endraw %}</code>
162
162
  </p>
163
163
  </td>
164
164
  </tr>
165
165
  <tr>
166
166
  <td>
167
- <p class='name'><strong>Markdownify</strong></p>
167
+ <p class="name"><strong>Markdownify</strong></p>
168
168
  <p>Convert a Markdown-formatted string into HTML.</p>
169
169
  </td>
170
- <td class='align-center'>
170
+ <td class="align-center">
171
171
  <p>
172
- <code class='filter'>{% raw %}{{ page.excerpt | markdownify }}{% endraw %}</code>
172
+ <code class="filter">{% raw %}{{ page.excerpt | markdownify }}{% endraw %}</code>
173
173
  </p>
174
174
  </td>
175
175
  </tr>
176
176
  <tr>
177
177
  <td>
178
- <p class='name'><strong>Data To JSON</strong></p>
178
+ <p class="name"><strong>Data To JSON</strong></p>
179
179
  <p>Convert Hash or Array to JSON.</p>
180
180
  </td>
181
- <td class='align-center'>
181
+ <td class="align-center">
182
182
  <p>
183
- <code class='filter'>{% raw %}{{ site.data.projects | jsonify }}{% endraw %}</code>
183
+ <code class="filter">{% raw %}{{ site.data.projects | jsonify }}{% endraw %}</code>
184
184
  </p>
185
185
  </td>
186
186
  </tr>
@@ -31,7 +31,7 @@ $ jekyll build --watch
31
31
  cleaned when the site is built. Files or folders that are not
32
32
  created by your site will be removed. Do not use an important
33
33
  location for <code>&lt;destination&gt;</code>; instead, use it as
34
- a staging area and copy files from there to your web server.
34
+ a staging area and copy files from there to your web server.
35
35
  </p>
36
36
  </div>
37
37
 
@@ -112,6 +112,19 @@ following is a reference of the available data.
112
112
 
113
113
  </p></td>
114
114
  </tr>
115
+ <tr>
116
+ <td><p><code>site.static_files</code></p></td>
117
+ <td><p>
118
+
119
+ A list of all static files (i.e. files not processed by Jekyll's
120
+ converters or the Liquid renderer). Each file has three properties:
121
+ <code>path</code>, <code>modified_time</code> and <code>extname</code>.
122
+ <strong>Note: this is only available in <a
123
+ href="../installation/">the latest development
124
+ version.</a></strong>
125
+
126
+ </p></td>
127
+ </tr>
115
128
  <tr>
116
129
  <td><p><code>site.categories.CATEGORY</code></p></td>
117
130
  <td><p>
@@ -248,7 +261,7 @@ following is a reference of the available data.
248
261
  <td><p><code>page.next</code></p></td>
249
262
  <td><p>
250
263
 
251
- The next post relative to the position of the current post in
264
+ The next post relative to the position of the current post in
252
265
  <code>site.posts</code>. Returns <code>nil</code> for the last entry.
253
266
 
254
267
  </p></td>
@@ -257,7 +270,7 @@ following is a reference of the available data.
257
270
  <td><p><code>page.previous</code></p></td>
258
271
  <td><p>
259
272
 
260
- The previous post relative to the position of the current post in
273
+ The previous post relative to the position of the current post in
261
274
  <code>site.posts</code>. Returns <code>nil</code> for the first entry.
262
275
 
263
276
  </p></td>
Binary file
@@ -1,5 +1,4 @@
1
1
  ---
2
- layout: none
3
2
  permalink: /feed.xml
4
3
  ---
5
4
 
Binary file
Binary file
Binary file
Binary file