jekyll-docs 3.5.2 → 3.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/site/404.html +3 -3
  3. data/site/community/index.html +5 -5
  4. data/site/docs/assets/index.html +14 -22
  5. data/site/docs/code_of_conduct/index.html +730 -0
  6. data/site/docs/collections/index.html +65 -80
  7. data/site/docs/conduct/index.html +4 -4
  8. data/site/docs/configuration/index.html +130 -156
  9. data/site/docs/continuous-integration/buddyworks/index.html +14 -16
  10. data/site/docs/continuous-integration/circleci/index.html +13 -21
  11. data/site/docs/continuous-integration/index.html +5 -5
  12. data/site/docs/continuous-integration/travis-ci/index.html +45 -73
  13. data/site/docs/contributing/index.html +10 -10
  14. data/site/docs/datafiles/index.html +37 -53
  15. data/site/docs/deployment-methods/index.html +54 -64
  16. data/site/docs/drafts/index.html +6 -8
  17. data/site/docs/extras/index.html +8 -12
  18. data/site/docs/frontmatter/index.html +10 -14
  19. data/site/docs/github-pages/index.html +10 -14
  20. data/site/docs/history/index.html +539 -440
  21. data/site/docs/home/index.html +4 -4
  22. data/site/docs/includes/index.html +42 -70
  23. data/site/docs/installation/index.html +23 -37
  24. data/site/docs/maintaining/affinity-team-captain/index.html +4 -4
  25. data/site/docs/maintaining/avoiding-burnout/index.html +4 -4
  26. data/site/docs/maintaining/becoming-a-maintainer/index.html +4 -4
  27. data/site/docs/maintaining/index.html +4 -4
  28. data/site/docs/maintaining/merging-a-pull-request/index.html +6 -8
  29. data/site/docs/maintaining/reviewing-a-pull-request/index.html +4 -4
  30. data/site/docs/maintaining/special-labels/index.html +4 -4
  31. data/site/docs/maintaining/triaging-an-issue/index.html +4 -4
  32. data/site/docs/migrations/index.html +4 -4
  33. data/site/docs/pages/index.html +8 -12
  34. data/site/docs/pagination/index.html +13 -21
  35. data/site/docs/permalinks/index.html +43 -34
  36. data/site/docs/plugins/index.html +51 -79
  37. data/site/docs/posts/index.html +26 -48
  38. data/site/docs/quickstart/index.html +6 -8
  39. data/site/docs/resources/index.html +45 -21
  40. data/site/docs/sites/index.html +4 -4
  41. data/site/docs/static-files/index.html +12 -16
  42. data/site/docs/structure/index.html +6 -8
  43. data/site/docs/templates/index.html +36 -68
  44. data/site/docs/themes/index.html +32 -49
  45. data/site/docs/troubleshooting/index.html +44 -82
  46. data/site/docs/upgrading/0-to-2/index.html +7 -9
  47. data/site/docs/upgrading/2-to-3/index.html +19 -31
  48. data/site/docs/upgrading/index.html +4 -4
  49. data/site/docs/usage/index.html +20 -30
  50. data/site/docs/variables/index.html +26 -10
  51. data/site/docs/windows/index.html +36 -58
  52. data/site/feed.xml +47 -53
  53. data/site/help/index.html +3 -3
  54. data/site/index.html +3 -3
  55. data/site/latest_version.txt +1 -1
  56. data/site/news/2013/05/05/jekyll-1-0-0-released/index.html +16 -8
  57. data/site/news/2013/05/08/jekyll-1-0-1-released/index.html +16 -8
  58. data/site/news/2013/05/12/jekyll-1-0-2-released/index.html +16 -8
  59. data/site/news/2013/06/07/jekyll-1-0-3-released/index.html +16 -8
  60. data/site/news/2013/07/14/jekyll-1-1-0-released/index.html +16 -8
  61. data/site/news/2013/07/24/jekyll-1-1-1-released/index.html +16 -8
  62. data/site/news/2013/07/25/jekyll-1-0-4-released/index.html +16 -8
  63. data/site/news/2013/07/25/jekyll-1-1-2-released/index.html +16 -8
  64. data/site/news/2013/09/06/jekyll-1-2-0-released/index.html +16 -8
  65. data/site/news/2013/09/14/jekyll-1-2-1-released/index.html +16 -8
  66. data/site/news/2013/10/28/jekyll-1-3-0-rc1-released/index.html +16 -8
  67. data/site/news/2013/11/04/jekyll-1-3-0-released/index.html +16 -8
  68. data/site/news/2013/11/26/jekyll-1-3-1-released/index.html +16 -8
  69. data/site/news/2013/12/07/jekyll-1-4-0-released/index.html +16 -8
  70. data/site/news/2013/12/09/jekyll-1-4-1-released/index.html +16 -8
  71. data/site/news/2013/12/16/jekyll-1-4-2-released/index.html +16 -8
  72. data/site/news/2014/01/13/jekyll-1-4-3-released/index.html +16 -8
  73. data/site/news/2014/03/24/jekyll-1-5-0-released/index.html +16 -8
  74. data/site/news/2014/03/27/jekyll-1-5-1-released/index.html +16 -8
  75. data/site/news/2014/05/06/jekyll-turns-2-0-0/index.html +16 -8
  76. data/site/news/2014/05/08/jekyll-2-0-3-released/index.html +16 -8
  77. data/site/news/2014/06/04/jekyll-stickers-1-dollar-stickermule/index.html +16 -8
  78. data/site/news/2014/06/28/jekyll-turns-21-i-mean-2-1-0/index.html +16 -8
  79. data/site/news/2014/07/01/jekyll-2-1-1-released/index.html +16 -8
  80. data/site/news/2014/07/29/jekyll-2-2-0-released/index.html +16 -8
  81. data/site/news/2014/08/10/jekyll-2-3-0-released/index.html +16 -8
  82. data/site/news/2014/09/09/jekyll-2-4-0-released/index.html +16 -8
  83. data/site/news/2014/11/05/jekylls-midlife-crisis-jekyll-turns-2-5-0/index.html +16 -8
  84. data/site/news/2014/11/09/jekyll-2-5-1-released/index.html +16 -8
  85. data/site/news/2014/11/12/jekyll-2-5-2-released/index.html +16 -8
  86. data/site/news/2014/12/17/alfredxing-welcome-to-jekyll-core/index.html +16 -8
  87. data/site/news/2014/12/22/jekyll-2-5-3-released/index.html +16 -8
  88. data/site/news/2015/01/20/jekyll-meet-and-greet/index.html +16 -8
  89. data/site/news/2015/01/24/jekyll-3-0-0-beta1-released/index.html +17 -9
  90. data/site/news/2015/02/26/introducing-jekyll-talk/index.html +16 -8
  91. data/site/news/2015/10/26/jekyll-3-0-released/index.html +16 -8
  92. data/site/news/2015/11/17/jekyll-3-0-1-released/index.html +16 -8
  93. data/site/news/2016/01/20/jekyll-3-0-2-released/index.html +16 -8
  94. data/site/news/2016/01/24/jekyll-3-1-0-released/index.html +16 -8
  95. data/site/news/2016/01/28/jekyll-3-1-1-released/index.html +16 -8
  96. data/site/news/2016/02/08/jekyll-3-0-3-released/index.html +16 -8
  97. data/site/news/2016/02/19/jekyll-3-1-2-released/index.html +16 -8
  98. data/site/news/2016/03/10/making-it-easier-to-contribute-to-jekyll/index.html +16 -8
  99. data/site/news/2016/04/19/jekyll-3-0-4-released/index.html +20 -12
  100. data/site/news/2016/04/19/jekyll-3-1-3-released/index.html +16 -8
  101. data/site/news/2016/04/26/jekyll-3-0-5-released/index.html +16 -8
  102. data/site/news/2016/05/18/jekyll-3-1-4-released/index.html +16 -8
  103. data/site/news/2016/05/18/jekyll-3-1-5-released/index.html +16 -8
  104. data/site/news/2016/05/19/jekyll-3-1-6-released/index.html +16 -8
  105. data/site/news/2016/06/03/update-on-jekyll-s-google-summer-of-code-projects/index.html +16 -8
  106. data/site/news/2016/07/26/jekyll-3-2-0-released/index.html +16 -8
  107. data/site/news/2016/08/02/jekyll-3-2-1-released/index.html +16 -8
  108. data/site/news/2016/08/24/jekyll-admin-initial-release/index.html +16 -8
  109. data/site/news/2016/10/06/jekyll-3-3-is-here/index.html +16 -8
  110. data/site/news/2016/11/14/jekyll-3-3-1-released/index.html +16 -8
  111. data/site/news/2017/01/18/jekyll-3-4-0-released/index.html +16 -8
  112. data/site/news/2017/03/02/jekyll-3-4-1-released/index.html +27 -29
  113. data/site/news/2017/03/09/jekyll-3-4-2-released/index.html +23 -17
  114. data/site/news/2017/03/21/jekyll-3-4-3-released/index.html +20 -14
  115. data/site/news/2017/06/15/jekyll-3-5-0-released/index.html +21 -13
  116. data/site/news/2017/07/17/jekyll-3-5-1-released/index.html +18 -10
  117. data/site/news/2017/08/12/jekyll-3-5-2-released/index.html +573 -0
  118. data/site/news/2017/09/21/jekyll-3-6-0-released/index.html +565 -0
  119. data/site/news/index.html +122 -48
  120. data/site/news/releases/index.html +122 -48
  121. data/site/sitemap.xml +64 -52
  122. data/site/tutorials/convert-site-to-jekyll/index.html +80 -138
  123. data/site/tutorials/custom-404-page/index.html +13 -21
  124. data/site/tutorials/home/index.html +4 -4
  125. data/site/tutorials/navigation/index.html +144 -180
  126. data/site/tutorials/orderofinterpretation/index.html +27 -45
  127. metadata +8 -5
data/site/news/index.html CHANGED
@@ -4,13 +4,13 @@
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
  <meta charset="UTF-8">
6
6
  <meta name="viewport" content="width=device-width,initial-scale=1">
7
- <meta name="generator" content="Jekyll v3.5.2">
7
+ <meta name="generator" content="Jekyll v3.6.0">
8
8
  <link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites">
9
9
  <link rel="alternate" type="application/atom+xml" title="Recent commits to Jekyll’s master branch" href="https://github.com/jekyll/jekyll/commits/master.atom">
10
10
  <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
11
11
  <link rel="stylesheet" href="/css/screen.css">
12
12
  <link rel="icon" type="image/x-icon" href="/favicon.ico">
13
- <!-- Begin Jekyll SEO tag v2.2.3 -->
13
+ <!-- Begin Jekyll SEO tag v2.3.0 -->
14
14
  <title>News | Jekyll • Simple, blog-aware, static sites</title>
15
15
  <meta property="og:title" content="News">
16
16
  <meta name="author" content="all">
@@ -25,7 +25,7 @@
25
25
  <meta name="twitter:creator" content="@all">
26
26
  <meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
27
27
  <script type="application/ld+json">
28
- {"@context":"http://schema.org","@type":"WebPage","headline":"News","author":{"@type":"Person","name":"all"},"description":"Transform your plain text into static websites and blogs","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"},"name":"all"},"url":"https://jekyllrb.com/news/"}</script>
28
+ {"name":null,"description":"Transform your plain text into static websites and blogs","url":"https://jekyllrb.com/news/","headline":"News","dateModified":null,"datePublished":null,"sameAs":null,"@type":"WebPage","author":{"@type":"Person","name":"all"},"image":null,"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"},"name":"all"},"mainEntityOfPage":null,"@context":"http://schema.org"}</script>
29
29
  <!-- End Jekyll SEO tag -->
30
30
 
31
31
  <!--[if lt IE 9]>
@@ -105,6 +105,10 @@
105
105
  <option value="/news/">Home</option>
106
106
  <optgroup label="v1.x">
107
107
 
108
+ <option value="/news/2017/09/21/jekyll-3-6-0-released/">Jekyll turns 3.6!</option>
109
+
110
+ <option value="/news/2017/08/12/jekyll-3-5-2-released/">Jekyll 3.5.2 Released</option>
111
+
108
112
  <option value="/news/2017/07/17/jekyll-3-5-1-released/">Jekyll 3.5.1 Released</option>
109
113
 
110
114
  <option value="/news/2017/06/15/jekyll-3-5-0-released/">Jekyll turns 3.5, oh my!</option>
@@ -234,6 +238,86 @@
234
238
 
235
239
  <div class="unit four-fifths">
236
240
 
241
+ <article>
242
+ <h2>
243
+ <a href="/news/2017/09/21/jekyll-3-6-0-released/">
244
+ Jekyll turns 3.6!
245
+ </a>
246
+ </h2>
247
+ <span class="post-category">
248
+ <span class="label">
249
+ release
250
+ </span>
251
+ </span>
252
+ <div class="post-meta">
253
+ <span class="post-date">
254
+ 21 Sep 2017
255
+ </span>
256
+ <a href="https://github.com/parkr" class="post-author">
257
+
258
+ <img class="avatar avatar-small" src="https://avatars3.githubusercontent.com/parkr?v=3&amp;s=24" alt="parkr" srcset="https://avatars3.githubusercontent.com/parkr?v=3&amp;s=24 1x, https://avatars3.githubusercontent.com/parkr?v=3&amp;s=48 2x, https://avatars3.githubusercontent.com/parkr?v=3&amp;s=72 3x, https://avatars3.githubusercontent.com/parkr?v=3&amp;s=96 4x" width="24" height="24" data-proofer-ignore="true">
259
+ parkr
260
+ </a>
261
+ </div>
262
+ <div class="post-content">
263
+ <p>Another much-anticipated release of Jekyll. This release comes with it Rouge 2 support, but note you can continue to use Rouge 1 if you’d prefer. We also now require Ruby 2.1.0 as 2.0.x is no longer supported by the Ruby team.</p>
264
+
265
+ <p>Otherwise, it’s a massive bug-fix release! A few bugs were found and squashed with our <code class="highlighter-rouge">Drop</code> implementation. We’re using the Schwartzian transform to speed up our custom sorting (thanks, Perl community!). We now protect against images that are named like posts and we generally worked on guarding our code to enforce requirements, instead of assuming the input was as expected.</p>
266
+
267
+ <p>Please let us know if you find any bugs! You can see <a href="/docs/history/#v3-6-0">the full history here</a>.</p>
268
+
269
+ <p>Many thanks to our contributors who helped make this release possible: Aleksander Kuś, André Jaenisch, Antonio Argote, ashmaroli, Ben Balter, Bogdan, Bradley Meck, David Zhang, Florian Thomas, Frank Taillandier, Jordon Bedwell, Joshua Byrd, Kyle Zhao, lymaconsulting, Maciej Bembenista, Matt Sturgeon, Natanael Arndt, Ohad Schneider, Pat Hawks, Pedro Lamas, and Sid Verma.</p>
270
+
271
+ <p>As always, Happy Jekylling!</p>
272
+
273
+ </div>
274
+ </article>
275
+
276
+
277
+ <article>
278
+ <h2>
279
+ <a href="/news/2017/08/12/jekyll-3-5-2-released/">
280
+ Jekyll 3.5.2 Released
281
+ </a>
282
+ </h2>
283
+ <span class="post-category">
284
+ <span class="label">
285
+ release
286
+ </span>
287
+ </span>
288
+ <div class="post-meta">
289
+ <span class="post-date">
290
+ 12 Aug 2017
291
+ </span>
292
+ <a href="https://github.com/parkr" class="post-author">
293
+
294
+ <img class="avatar avatar-small" src="https://avatars3.githubusercontent.com/parkr?v=3&amp;s=24" alt="parkr" srcset="https://avatars3.githubusercontent.com/parkr?v=3&amp;s=24 1x, https://avatars3.githubusercontent.com/parkr?v=3&amp;s=48 2x, https://avatars3.githubusercontent.com/parkr?v=3&amp;s=72 3x, https://avatars3.githubusercontent.com/parkr?v=3&amp;s=96 4x" width="24" height="24" data-proofer-ignore="true">
295
+ parkr
296
+ </a>
297
+ </div>
298
+ <div class="post-content">
299
+ <p>3.5.2 is out with 6 great bug fixes, most notably one which should dramatically speed up generation of your site! In testing #6266, jekyllrb.com generation when from 18 seconds down to 8! Here is the full line-up of fixes:</p>
300
+
301
+ <ul>
302
+ <li>Backport #6266 for v3.5.x: Memoize the return value of <code class="highlighter-rouge">Document#url</code> (#6301)</li>
303
+ <li>Backport #6247 for v3.5.x: kramdown: symbolize keys in-place (#6303)</li>
304
+ <li>Backport #6281 for v3.5.x: Fix <code class="highlighter-rouge">Drop#key?</code> so it can handle a nil argument (#6288)</li>
305
+ <li>Backport #6280 for v3.5.x: Guard against type error in <code class="highlighter-rouge">absolute_url</code> (#6287)</li>
306
+ <li>Backport #6273 for v3.5.x: delegate <code class="highlighter-rouge">StaticFile#to_json</code> to <code class="highlighter-rouge">StaticFile#to_liquid</code> (#6302)</li>
307
+ <li>Backport #6226 for v3.5.x: <code class="highlighter-rouge">Reader#read_directories</code>: guard against an entry not being a directory (#6304</li>
308
+ </ul>
309
+
310
+ <p>A <a href="/docs/history/#v3-5-2">full history</a> is available for your perusal. As always, please file bugs if you encounter them! Opening a pull request with a failing test for your expected behaviour is the easiest way for us to address the issue since we have a reproducible example to test again. Short of that, please fill out our issue template to the best of your ability and we’ll try to get to it quickly!</p>
311
+
312
+ <p>Many thanks to our contributors without whom this release could not be
313
+ possible: Ben Balter &amp; Kyle Zhao.</p>
314
+
315
+ <p>Happy Jekylling!</p>
316
+
317
+ </div>
318
+ </article>
319
+
320
+
237
321
  <article>
238
322
  <h2>
239
323
  <a href="/news/2017/07/17/jekyll-3-5-1-released/">
@@ -300,13 +384,13 @@
300
384
  the wild. Some new shiny things you might want to test out:</p>
301
385
 
302
386
  <ul>
303
- <li>Jekyll now uses Liquid 4, the latest! It comes with whitespace control, new filters <code class="highlighter-rouge">concat</code> annd <code class="highlighter-rouge">compact</code>, loop performance improvements and <a href="https://github.com/Shopify/liquid/blob/master/History.md#400--2016-12-14--branch-4-0-stable">many fixes</a>
387
+ <li>Jekyll now uses Liquid 4, the latest! It comes with whitespace control, new filters <code class="highlighter-rouge">concat</code> and <code class="highlighter-rouge">compact</code>, loop performance improvements and <a href="https://github.com/Shopify/liquid/blob/master/History.md#400--2016-12-14--branch-4-0-stable">many fixes</a>
304
388
  </li>
305
389
  <li>Themes can specify runtime dependencies (in their gemspecs) and we’ll require those. This makes it easier for theme writers to use plugins.</li>
306
390
  <li>Speaking of themes, we’ll properly handle the discrepancy between a convertible file in the local site and a static file in the theme. Overriding a file locally now doesn’t matter if it’s convertible or static.</li>
307
- <li>Pages, posts, and other documents can now access layout variables via <code class="highlighter-rouge"><span class="p">{</span><span class="err">{</span><span class="w"> </span><span class="err">layout</span><span class="w"> </span><span class="p">}</span><span class="err">}</span></code>.</li>
391
+ <li>Pages, posts, and other documents can now access layout variables via <code class="highlighter-rouge">{{ layout }}</code>.</li>
308
392
  <li>The <code class="highlighter-rouge">gems</code> key in the <code class="highlighter-rouge">_config.yml</code> is now <code class="highlighter-rouge">plugins</code>. This is backwards-compatible, as Jekyll will gracefully upgrade <code class="highlighter-rouge">gems</code> to <code class="highlighter-rouge">plugins</code> if you use the former.</li>
309
- <li>Filters like <code class="highlighter-rouge">sort</code> now allow you to sort based on a subvalue, e.g. <code class="highlighter-rouge"><span class="p">{</span><span class="err">%</span><span class="w"> </span><span class="err">assign</span><span class="w"> </span><span class="err">sorted</span><span class="w"> </span><span class="err">=</span><span class="w"> </span><span class="err">site.posts</span><span class="w"> </span><span class="err">|</span><span class="w"> </span><span class="err">sort:</span><span class="w"> </span><span class="nt">"image.alt_text"</span><span class="w"> </span><span class="err">%}</span></code>.</li>
393
+ <li>Filters like <code class="highlighter-rouge">sort</code> now allow you to sort based on a subvalue, e.g. <code class="highlighter-rouge">{% assign sorted = site.posts | sort: "image.alt_text" %}</code>.</li>
310
394
  <li>You can now create tab-separated data files.</li>
311
395
  <li>Using <code class="highlighter-rouge">layout: none</code> will now produce a file with no layout. Equivalent to <code class="highlighter-rouge">layout: null</code>, with the exception that <code class="highlighter-rouge">none</code> is a truthy value and won’t be overwritten by front matter defaults.</li>
312
396
  <li>No more pesky errors if your URL contains a colon (sorry about those!)</li>
@@ -381,10 +465,8 @@ relative URI, without the slash it cannot figure out how to turn
381
465
  objection. This lead to the following Liquid code working fine in Jekyll 3.3.x
382
466
  but breaking in 3.4.0:</p>
383
467
 
384
- <div class="language-liquid highlighter-rouge">
385
- <pre class="highlight"><code><span class="p">{{</span><span class="w"> </span><span class="s2">"example :page"</span><span class="w"> </span><span class="p">|</span><span class="w"> </span><span class="nf">uri_escape</span><span class="w"> </span><span class="p">}}</span>
386
- </code></pre>
387
- </div>
468
+ <div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{{</span><span class="w"> </span><span class="s2">"example :page"</span><span class="w"> </span><span class="p">|</span><span class="w"> </span><span class="nf">uri_escape</span><span class="w"> </span><span class="p">}}</span>
469
+ </code></pre></div></div>
388
470
 
389
471
  <p>This was not an intended consequence of switching to <strong>Addressable</strong>.</p>
390
472
 
@@ -447,15 +529,13 @@ So if you had a PDF you didn’t want to be in your sitemap, you couldn’t use
447
529
  <p>With this release, you can now set <a href="/docs/configuration/#front-matter-defaults">front matter
448
530
  defaults</a> for static files:</p>
449
531
 
450
- <div class="language-yaml highlighter-rouge">
451
- <pre class="highlight"><code><span class="s">defaults</span><span class="pi">:</span>
532
+ <div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">defaults</span><span class="pi">:</span>
452
533
  <span class="pi">-</span>
453
- <span class="s">scope</span><span class="pi">:</span>
454
- <span class="s">path</span><span class="pi">:</span> <span class="s2">"</span><span class="s">pdfs/"</span>
455
- <span class="s">values</span><span class="pi">:</span>
456
- <span class="s">sitemap</span><span class="pi">:</span> <span class="s">false</span>
457
- </code></pre>
458
- </div>
534
+ <span class="na">scope</span><span class="pi">:</span>
535
+ <span class="na">path</span><span class="pi">:</span> <span class="s2">"</span><span class="s">pdfs/"</span>
536
+ <span class="na">values</span><span class="pi">:</span>
537
+ <span class="na">sitemap</span><span class="pi">:</span> <span class="no">false</span>
538
+ </code></pre></div></div>
459
539
 
460
540
  <p>Now, for every file in the Liquid <code class="highlighter-rouge">site.static_files</code> loop which is in the
461
541
  folder <code class="highlighter-rouge">pdfs/</code>, you’ll see <code class="highlighter-rouge">sitemap</code> equal to <code class="highlighter-rouge">false</code>.</p>
@@ -509,19 +589,15 @@ functionality, which naturally goes untested.</p>
509
589
  <p>In our documentation, we tell users to name their posts with the following
510
590
  format:</p>
511
591
 
512
- <div class="language-text highlighter-rouge">
513
- <pre class="highlight"><code>YYYY-MM-DD-title.extension
514
- </code></pre>
515
- </div>
592
+ <div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>YYYY-MM-DD-title.extension
593
+ </code></pre></div></div>
516
594
 
517
595
  <p>That format specifies exactly four numbers for the year, e.g. 2017, two
518
596
  letters for the month, e.g. 03, and two letters for the day, e.g. 02. To
519
597
  match this, we had the following regular expression:</p>
520
598
 
521
- <div class="language-ruby highlighter-rouge">
522
- <pre class="highlight"><code><span class="sr">%r!^(?:.+/)*(</span><span class="se">\d</span><span class="sr">+-</span><span class="se">\d</span><span class="sr">+-</span><span class="se">\d</span><span class="sr">+)-(.*)(</span><span class="se">\.</span><span class="sr">[^.]+)$!</span>
523
- </code></pre>
524
- </div>
599
+ <div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="sr">%r!^(?:.+/)*(</span><span class="se">\d</span><span class="sr">+-</span><span class="se">\d</span><span class="sr">+-</span><span class="se">\d</span><span class="sr">+)-(.*)(</span><span class="se">\.</span><span class="sr">[^.]+)$!</span>
600
+ </code></pre></div></div>
525
601
 
526
602
  <p>You might already see the punchline. While our documentation specifies the
527
603
  exact number of numbers that is required for each section of the date, our
@@ -531,10 +607,8 @@ doesn’t conform to our documentation?</p>
531
607
  <p>We recently <a href="https://github.com/jekyll/jekyll/issues/5603">received a bug report</a>
532
608
  that detailed how the following file was considered a post:</p>
533
609
 
534
- <div class="language-text highlighter-rouge">
535
- <pre class="highlight"><code>84093135-42842323-42000001-b890-136270f7e5f1.md
536
- </code></pre>
537
- </div>
610
+ <div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>84093135-42842323-42000001-b890-136270f7e5f1.md
611
+ </code></pre></div></div>
538
612
 
539
613
  <p>Of course! It matches the above regular expression, but doesn’t satisfy
540
614
  other requirements about those numbers being a valid date (unless you’re
@@ -542,10 +616,8 @@ living in a world that has 43 million months, and 42 million (and one)
542
616
  days). So, we <a href="https://github.com/jekyll/jekyll/pull/5609">modified the regular expression to match our
543
617
  documentation</a>:</p>
544
618
 
545
- <div class="language-ruby highlighter-rouge">
546
- <pre class="highlight"><code><span class="sr">%r!^(?:.+/)*(</span><span class="se">\d</span><span class="sr">{4}-</span><span class="se">\d</span><span class="sr">{2}-</span><span class="se">\d</span><span class="sr">{2})-(.*)(</span><span class="se">\.</span><span class="sr">[^.]+)$!</span>
547
- </code></pre>
548
- </div>
619
+ <div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="sr">%r!^(?:.+/)*(</span><span class="se">\d</span><span class="sr">{4}-</span><span class="se">\d</span><span class="sr">{2}-</span><span class="se">\d</span><span class="sr">{2})-(.*)(</span><span class="se">\.</span><span class="sr">[^.]+)$!</span>
620
+ </code></pre></div></div>
549
621
 
550
622
  <p>Our tests all passed and we were properly excluding this crazy date with 43
551
623
  million months and days. This change shipped in Jekyll v3.4.0 and all was
@@ -570,10 +642,8 @@ in-hand from <a href="https://github.com/andrewbanchich" class="user-mention">@a
570
642
  and <a href="https://github.com/jekyll/jekyll/pull/5920">reintroduced</a> a proper
571
643
  minimum number of digits for each segment:</p>
572
644
 
573
- <div class="language-ruby highlighter-rouge">
574
- <pre class="highlight"><code><span class="sr">%r!^(?:.+/)*(</span><span class="se">\d</span><span class="sr">{2,4}-</span><span class="se">\d</span><span class="sr">{1,2}-</span><span class="se">\d</span><span class="sr">{1,2})-(.*)(</span><span class="se">\.</span><span class="sr">[^.]+)$!</span>
575
- </code></pre>
576
- </div>
645
+ <div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="sr">%r!^(?:.+/)*(</span><span class="se">\d</span><span class="sr">{2,4}-</span><span class="se">\d</span><span class="sr">{1,2}-</span><span class="se">\d</span><span class="sr">{1,2})-(.*)(</span><span class="se">\.</span><span class="sr">[^.]+)$!</span>
646
+ </code></pre></div></div>
577
647
 
578
648
  <p>And, I wrote a test.</p>
579
649
 
@@ -1313,10 +1383,10 @@ we think you’ll love.</p>
1313
1383
  <li>Configuration for the posts permalink might be borked when a user specified a value for <code class="highlighter-rouge">collections.posts.permalink</code> directly. This forced the use of <code class="highlighter-rouge">permalink</code> at the top level, which also affected pages. To configure a permalink <em>just for posts</em>, you can do so with:</li>
1314
1384
  </ul>
1315
1385
 
1316
- <figure class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="s">collections</span><span class="pi">:</span>
1317
- <span class="s">posts</span><span class="pi">:</span>
1318
- <span class="s">output</span><span class="pi">:</span> <span class="s">true</span>
1319
- <span class="s">permalink</span><span class="pi">:</span> <span class="s">/blog/:year/:title/</span></code></pre></figure>
1386
+ <figure class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="na">collections</span><span class="pi">:</span>
1387
+ <span class="na">posts</span><span class="pi">:</span>
1388
+ <span class="na">output</span><span class="pi">:</span> <span class="no">true</span>
1389
+ <span class="na">permalink</span><span class="pi">:</span> <span class="s">/blog/:year/:title/</span></code></pre></figure>
1320
1390
 
1321
1391
  <p>Both of these issues have been resolved. For more information, check out <a href="/docs/history/#v3-0-4">the full history</a>.</p>
1322
1392
 
@@ -1794,7 +1864,7 @@ improved problematic code that caused slow-downs.</li>
1794
1864
 
1795
1865
  <p>To install just run:</p>
1796
1866
 
1797
- <figure class="highlight"><pre><code class="language-shell" data-lang="shell"><span class="gp">$ </span>gem install jekyll --pre</code></pre></figure>
1867
+ <figure class="highlight"><pre><code class="language-shell" data-lang="shell"><span class="nv">$ </span>gem install jekyll <span class="nt">--pre</span></code></pre></figure>
1798
1868
 
1799
1869
  <p>Future versions will include <a href="https://github.com/jekyll/jekyll/issues/3324">some awesome new
1800
1870
  features</a> that we haven’t
@@ -3262,23 +3332,23 @@ examples and for compiling this list):</p>
3262
3332
  <ul>
3263
3333
 
3264
3334
  <li class="">
3265
- <a href="/news/2017/07/17/jekyll-3-5-1-released/">Version 3.5.1</a>
3335
+ <a href="/news/2017/09/21/jekyll-3-6-0-released/">Version 3.6.0</a>
3266
3336
  </li>
3267
3337
 
3268
3338
  <li class="">
3269
- <a href="/news/2017/06/15/jekyll-3-5-0-released/">Version 3.5.0</a>
3339
+ <a href="/news/2017/08/12/jekyll-3-5-2-released/">Version 3.5.2</a>
3270
3340
  </li>
3271
3341
 
3272
3342
  <li class="">
3273
- <a href="/news/2017/03/21/jekyll-3-4-3-released/">Version 3.4.3</a>
3343
+ <a href="/news/2017/07/17/jekyll-3-5-1-released/">Version 3.5.1</a>
3274
3344
  </li>
3275
3345
 
3276
3346
  <li class="">
3277
- <a href="/news/2017/03/09/jekyll-3-4-2-released/">Version 3.4.2</a>
3347
+ <a href="/news/2017/06/15/jekyll-3-5-0-released/">Version 3.5.0</a>
3278
3348
  </li>
3279
3349
 
3280
3350
  <li class="">
3281
- <a href="/news/2017/03/02/jekyll-3-4-1-released/">Version 3.4.1</a>
3351
+ <a href="/news/2017/03/21/jekyll-3-4-3-released/">Version 3.4.3</a>
3282
3352
  </li>
3283
3353
 
3284
3354
  <li>
@@ -3303,6 +3373,10 @@ examples and for compiling this list):</p>
3303
3373
 
3304
3374
 
3305
3375
 
3376
+
3377
+
3378
+
3379
+
3306
3380
 
3307
3381
 
3308
3382
  <li class="">
@@ -4,13 +4,13 @@
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
  <meta charset="UTF-8">
6
6
  <meta name="viewport" content="width=device-width,initial-scale=1">
7
- <meta name="generator" content="Jekyll v3.5.2">
7
+ <meta name="generator" content="Jekyll v3.6.0">
8
8
  <link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites">
9
9
  <link rel="alternate" type="application/atom+xml" title="Recent commits to Jekyll’s master branch" href="https://github.com/jekyll/jekyll/commits/master.atom">
10
10
  <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
11
11
  <link rel="stylesheet" href="/css/screen.css">
12
12
  <link rel="icon" type="image/x-icon" href="/favicon.ico">
13
- <!-- Begin Jekyll SEO tag v2.2.3 -->
13
+ <!-- Begin Jekyll SEO tag v2.3.0 -->
14
14
  <title>Releases | Jekyll • Simple, blog-aware, static sites</title>
15
15
  <meta property="og:title" content="Releases">
16
16
  <meta name="author" content="all">
@@ -25,7 +25,7 @@
25
25
  <meta name="twitter:creator" content="@all">
26
26
  <meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
27
27
  <script type="application/ld+json">
28
- {"@context":"http://schema.org","@type":"WebPage","headline":"Releases","author":{"@type":"Person","name":"all"},"description":"Transform your plain text into static websites and blogs","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"},"name":"all"},"url":"https://jekyllrb.com/news/releases/"}</script>
28
+ {"name":null,"description":"Transform your plain text into static websites and blogs","url":"https://jekyllrb.com/news/releases/","headline":"Releases","dateModified":null,"datePublished":null,"sameAs":null,"@type":"WebPage","author":{"@type":"Person","name":"all"},"image":null,"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"},"name":"all"},"mainEntityOfPage":null,"@context":"http://schema.org"}</script>
29
29
  <!-- End Jekyll SEO tag -->
30
30
 
31
31
  <!--[if lt IE 9]>
@@ -105,6 +105,10 @@
105
105
  <option value="/news/">Home</option>
106
106
  <optgroup label="v1.x">
107
107
 
108
+ <option value="/news/2017/09/21/jekyll-3-6-0-released/">Jekyll turns 3.6!</option>
109
+
110
+ <option value="/news/2017/08/12/jekyll-3-5-2-released/">Jekyll 3.5.2 Released</option>
111
+
108
112
  <option value="/news/2017/07/17/jekyll-3-5-1-released/">Jekyll 3.5.1 Released</option>
109
113
 
110
114
  <option value="/news/2017/06/15/jekyll-3-5-0-released/">Jekyll turns 3.5, oh my!</option>
@@ -234,6 +238,86 @@
234
238
 
235
239
  <div class="unit four-fifths">
236
240
 
241
+ <article>
242
+ <h2>
243
+ <a href="/news/2017/09/21/jekyll-3-6-0-released/">
244
+ Jekyll turns 3.6!
245
+ </a>
246
+ </h2>
247
+ <span class="post-category">
248
+ <span class="label">
249
+ release
250
+ </span>
251
+ </span>
252
+ <div class="post-meta">
253
+ <span class="post-date">
254
+ 21 Sep 2017
255
+ </span>
256
+ <a href="https://github.com/parkr" class="post-author">
257
+
258
+ <img class="avatar avatar-small" src="https://avatars3.githubusercontent.com/parkr?v=3&amp;s=24" alt="parkr" srcset="https://avatars3.githubusercontent.com/parkr?v=3&amp;s=24 1x, https://avatars3.githubusercontent.com/parkr?v=3&amp;s=48 2x, https://avatars3.githubusercontent.com/parkr?v=3&amp;s=72 3x, https://avatars3.githubusercontent.com/parkr?v=3&amp;s=96 4x" width="24" height="24" data-proofer-ignore="true">
259
+ parkr
260
+ </a>
261
+ </div>
262
+ <div class="post-content">
263
+ <p>Another much-anticipated release of Jekyll. This release comes with it Rouge 2 support, but note you can continue to use Rouge 1 if you’d prefer. We also now require Ruby 2.1.0 as 2.0.x is no longer supported by the Ruby team.</p>
264
+
265
+ <p>Otherwise, it’s a massive bug-fix release! A few bugs were found and squashed with our <code class="highlighter-rouge">Drop</code> implementation. We’re using the Schwartzian transform to speed up our custom sorting (thanks, Perl community!). We now protect against images that are named like posts and we generally worked on guarding our code to enforce requirements, instead of assuming the input was as expected.</p>
266
+
267
+ <p>Please let us know if you find any bugs! You can see <a href="/docs/history/#v3-6-0">the full history here</a>.</p>
268
+
269
+ <p>Many thanks to our contributors who helped make this release possible: Aleksander Kuś, André Jaenisch, Antonio Argote, ashmaroli, Ben Balter, Bogdan, Bradley Meck, David Zhang, Florian Thomas, Frank Taillandier, Jordon Bedwell, Joshua Byrd, Kyle Zhao, lymaconsulting, Maciej Bembenista, Matt Sturgeon, Natanael Arndt, Ohad Schneider, Pat Hawks, Pedro Lamas, and Sid Verma.</p>
270
+
271
+ <p>As always, Happy Jekylling!</p>
272
+
273
+ </div>
274
+ </article>
275
+
276
+
277
+ <article>
278
+ <h2>
279
+ <a href="/news/2017/08/12/jekyll-3-5-2-released/">
280
+ Jekyll 3.5.2 Released
281
+ </a>
282
+ </h2>
283
+ <span class="post-category">
284
+ <span class="label">
285
+ release
286
+ </span>
287
+ </span>
288
+ <div class="post-meta">
289
+ <span class="post-date">
290
+ 12 Aug 2017
291
+ </span>
292
+ <a href="https://github.com/parkr" class="post-author">
293
+
294
+ <img class="avatar avatar-small" src="https://avatars3.githubusercontent.com/parkr?v=3&amp;s=24" alt="parkr" srcset="https://avatars3.githubusercontent.com/parkr?v=3&amp;s=24 1x, https://avatars3.githubusercontent.com/parkr?v=3&amp;s=48 2x, https://avatars3.githubusercontent.com/parkr?v=3&amp;s=72 3x, https://avatars3.githubusercontent.com/parkr?v=3&amp;s=96 4x" width="24" height="24" data-proofer-ignore="true">
295
+ parkr
296
+ </a>
297
+ </div>
298
+ <div class="post-content">
299
+ <p>3.5.2 is out with 6 great bug fixes, most notably one which should dramatically speed up generation of your site! In testing #6266, jekyllrb.com generation when from 18 seconds down to 8! Here is the full line-up of fixes:</p>
300
+
301
+ <ul>
302
+ <li>Backport #6266 for v3.5.x: Memoize the return value of <code class="highlighter-rouge">Document#url</code> (#6301)</li>
303
+ <li>Backport #6247 for v3.5.x: kramdown: symbolize keys in-place (#6303)</li>
304
+ <li>Backport #6281 for v3.5.x: Fix <code class="highlighter-rouge">Drop#key?</code> so it can handle a nil argument (#6288)</li>
305
+ <li>Backport #6280 for v3.5.x: Guard against type error in <code class="highlighter-rouge">absolute_url</code> (#6287)</li>
306
+ <li>Backport #6273 for v3.5.x: delegate <code class="highlighter-rouge">StaticFile#to_json</code> to <code class="highlighter-rouge">StaticFile#to_liquid</code> (#6302)</li>
307
+ <li>Backport #6226 for v3.5.x: <code class="highlighter-rouge">Reader#read_directories</code>: guard against an entry not being a directory (#6304</li>
308
+ </ul>
309
+
310
+ <p>A <a href="/docs/history/#v3-5-2">full history</a> is available for your perusal. As always, please file bugs if you encounter them! Opening a pull request with a failing test for your expected behaviour is the easiest way for us to address the issue since we have a reproducible example to test again. Short of that, please fill out our issue template to the best of your ability and we’ll try to get to it quickly!</p>
311
+
312
+ <p>Many thanks to our contributors without whom this release could not be
313
+ possible: Ben Balter &amp; Kyle Zhao.</p>
314
+
315
+ <p>Happy Jekylling!</p>
316
+
317
+ </div>
318
+ </article>
319
+
320
+
237
321
  <article>
238
322
  <h2>
239
323
  <a href="/news/2017/07/17/jekyll-3-5-1-released/">
@@ -300,13 +384,13 @@
300
384
  the wild. Some new shiny things you might want to test out:</p>
301
385
 
302
386
  <ul>
303
- <li>Jekyll now uses Liquid 4, the latest! It comes with whitespace control, new filters <code class="highlighter-rouge">concat</code> annd <code class="highlighter-rouge">compact</code>, loop performance improvements and <a href="https://github.com/Shopify/liquid/blob/master/History.md#400--2016-12-14--branch-4-0-stable">many fixes</a>
387
+ <li>Jekyll now uses Liquid 4, the latest! It comes with whitespace control, new filters <code class="highlighter-rouge">concat</code> and <code class="highlighter-rouge">compact</code>, loop performance improvements and <a href="https://github.com/Shopify/liquid/blob/master/History.md#400--2016-12-14--branch-4-0-stable">many fixes</a>
304
388
  </li>
305
389
  <li>Themes can specify runtime dependencies (in their gemspecs) and we’ll require those. This makes it easier for theme writers to use plugins.</li>
306
390
  <li>Speaking of themes, we’ll properly handle the discrepancy between a convertible file in the local site and a static file in the theme. Overriding a file locally now doesn’t matter if it’s convertible or static.</li>
307
- <li>Pages, posts, and other documents can now access layout variables via <code class="highlighter-rouge"><span class="p">{</span><span class="err">{</span><span class="w"> </span><span class="err">layout</span><span class="w"> </span><span class="p">}</span><span class="err">}</span></code>.</li>
391
+ <li>Pages, posts, and other documents can now access layout variables via <code class="highlighter-rouge">{{ layout }}</code>.</li>
308
392
  <li>The <code class="highlighter-rouge">gems</code> key in the <code class="highlighter-rouge">_config.yml</code> is now <code class="highlighter-rouge">plugins</code>. This is backwards-compatible, as Jekyll will gracefully upgrade <code class="highlighter-rouge">gems</code> to <code class="highlighter-rouge">plugins</code> if you use the former.</li>
309
- <li>Filters like <code class="highlighter-rouge">sort</code> now allow you to sort based on a subvalue, e.g. <code class="highlighter-rouge"><span class="p">{</span><span class="err">%</span><span class="w"> </span><span class="err">assign</span><span class="w"> </span><span class="err">sorted</span><span class="w"> </span><span class="err">=</span><span class="w"> </span><span class="err">site.posts</span><span class="w"> </span><span class="err">|</span><span class="w"> </span><span class="err">sort:</span><span class="w"> </span><span class="nt">"image.alt_text"</span><span class="w"> </span><span class="err">%}</span></code>.</li>
393
+ <li>Filters like <code class="highlighter-rouge">sort</code> now allow you to sort based on a subvalue, e.g. <code class="highlighter-rouge">{% assign sorted = site.posts | sort: "image.alt_text" %}</code>.</li>
310
394
  <li>You can now create tab-separated data files.</li>
311
395
  <li>Using <code class="highlighter-rouge">layout: none</code> will now produce a file with no layout. Equivalent to <code class="highlighter-rouge">layout: null</code>, with the exception that <code class="highlighter-rouge">none</code> is a truthy value and won’t be overwritten by front matter defaults.</li>
312
396
  <li>No more pesky errors if your URL contains a colon (sorry about those!)</li>
@@ -381,10 +465,8 @@ relative URI, without the slash it cannot figure out how to turn
381
465
  objection. This lead to the following Liquid code working fine in Jekyll 3.3.x
382
466
  but breaking in 3.4.0:</p>
383
467
 
384
- <div class="language-liquid highlighter-rouge">
385
- <pre class="highlight"><code><span class="p">{{</span><span class="w"> </span><span class="s2">"example :page"</span><span class="w"> </span><span class="p">|</span><span class="w"> </span><span class="nf">uri_escape</span><span class="w"> </span><span class="p">}}</span>
386
- </code></pre>
387
- </div>
468
+ <div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{{</span><span class="w"> </span><span class="s2">"example :page"</span><span class="w"> </span><span class="p">|</span><span class="w"> </span><span class="nf">uri_escape</span><span class="w"> </span><span class="p">}}</span>
469
+ </code></pre></div></div>
388
470
 
389
471
  <p>This was not an intended consequence of switching to <strong>Addressable</strong>.</p>
390
472
 
@@ -447,15 +529,13 @@ So if you had a PDF you didn’t want to be in your sitemap, you couldn’t use
447
529
  <p>With this release, you can now set <a href="/docs/configuration/#front-matter-defaults">front matter
448
530
  defaults</a> for static files:</p>
449
531
 
450
- <div class="language-yaml highlighter-rouge">
451
- <pre class="highlight"><code><span class="s">defaults</span><span class="pi">:</span>
532
+ <div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">defaults</span><span class="pi">:</span>
452
533
  <span class="pi">-</span>
453
- <span class="s">scope</span><span class="pi">:</span>
454
- <span class="s">path</span><span class="pi">:</span> <span class="s2">"</span><span class="s">pdfs/"</span>
455
- <span class="s">values</span><span class="pi">:</span>
456
- <span class="s">sitemap</span><span class="pi">:</span> <span class="s">false</span>
457
- </code></pre>
458
- </div>
534
+ <span class="na">scope</span><span class="pi">:</span>
535
+ <span class="na">path</span><span class="pi">:</span> <span class="s2">"</span><span class="s">pdfs/"</span>
536
+ <span class="na">values</span><span class="pi">:</span>
537
+ <span class="na">sitemap</span><span class="pi">:</span> <span class="no">false</span>
538
+ </code></pre></div></div>
459
539
 
460
540
  <p>Now, for every file in the Liquid <code class="highlighter-rouge">site.static_files</code> loop which is in the
461
541
  folder <code class="highlighter-rouge">pdfs/</code>, you’ll see <code class="highlighter-rouge">sitemap</code> equal to <code class="highlighter-rouge">false</code>.</p>
@@ -509,19 +589,15 @@ functionality, which naturally goes untested.</p>
509
589
  <p>In our documentation, we tell users to name their posts with the following
510
590
  format:</p>
511
591
 
512
- <div class="language-text highlighter-rouge">
513
- <pre class="highlight"><code>YYYY-MM-DD-title.extension
514
- </code></pre>
515
- </div>
592
+ <div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>YYYY-MM-DD-title.extension
593
+ </code></pre></div></div>
516
594
 
517
595
  <p>That format specifies exactly four numbers for the year, e.g. 2017, two
518
596
  letters for the month, e.g. 03, and two letters for the day, e.g. 02. To
519
597
  match this, we had the following regular expression:</p>
520
598
 
521
- <div class="language-ruby highlighter-rouge">
522
- <pre class="highlight"><code><span class="sr">%r!^(?:.+/)*(</span><span class="se">\d</span><span class="sr">+-</span><span class="se">\d</span><span class="sr">+-</span><span class="se">\d</span><span class="sr">+)-(.*)(</span><span class="se">\.</span><span class="sr">[^.]+)$!</span>
523
- </code></pre>
524
- </div>
599
+ <div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="sr">%r!^(?:.+/)*(</span><span class="se">\d</span><span class="sr">+-</span><span class="se">\d</span><span class="sr">+-</span><span class="se">\d</span><span class="sr">+)-(.*)(</span><span class="se">\.</span><span class="sr">[^.]+)$!</span>
600
+ </code></pre></div></div>
525
601
 
526
602
  <p>You might already see the punchline. While our documentation specifies the
527
603
  exact number of numbers that is required for each section of the date, our
@@ -531,10 +607,8 @@ doesn’t conform to our documentation?</p>
531
607
  <p>We recently <a href="https://github.com/jekyll/jekyll/issues/5603">received a bug report</a>
532
608
  that detailed how the following file was considered a post:</p>
533
609
 
534
- <div class="language-text highlighter-rouge">
535
- <pre class="highlight"><code>84093135-42842323-42000001-b890-136270f7e5f1.md
536
- </code></pre>
537
- </div>
610
+ <div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>84093135-42842323-42000001-b890-136270f7e5f1.md
611
+ </code></pre></div></div>
538
612
 
539
613
  <p>Of course! It matches the above regular expression, but doesn’t satisfy
540
614
  other requirements about those numbers being a valid date (unless you’re
@@ -542,10 +616,8 @@ living in a world that has 43 million months, and 42 million (and one)
542
616
  days). So, we <a href="https://github.com/jekyll/jekyll/pull/5609">modified the regular expression to match our
543
617
  documentation</a>:</p>
544
618
 
545
- <div class="language-ruby highlighter-rouge">
546
- <pre class="highlight"><code><span class="sr">%r!^(?:.+/)*(</span><span class="se">\d</span><span class="sr">{4}-</span><span class="se">\d</span><span class="sr">{2}-</span><span class="se">\d</span><span class="sr">{2})-(.*)(</span><span class="se">\.</span><span class="sr">[^.]+)$!</span>
547
- </code></pre>
548
- </div>
619
+ <div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="sr">%r!^(?:.+/)*(</span><span class="se">\d</span><span class="sr">{4}-</span><span class="se">\d</span><span class="sr">{2}-</span><span class="se">\d</span><span class="sr">{2})-(.*)(</span><span class="se">\.</span><span class="sr">[^.]+)$!</span>
620
+ </code></pre></div></div>
549
621
 
550
622
  <p>Our tests all passed and we were properly excluding this crazy date with 43
551
623
  million months and days. This change shipped in Jekyll v3.4.0 and all was
@@ -570,10 +642,8 @@ in-hand from <a href="https://github.com/andrewbanchich" class="user-mention">@a
570
642
  and <a href="https://github.com/jekyll/jekyll/pull/5920">reintroduced</a> a proper
571
643
  minimum number of digits for each segment:</p>
572
644
 
573
- <div class="language-ruby highlighter-rouge">
574
- <pre class="highlight"><code><span class="sr">%r!^(?:.+/)*(</span><span class="se">\d</span><span class="sr">{2,4}-</span><span class="se">\d</span><span class="sr">{1,2}-</span><span class="se">\d</span><span class="sr">{1,2})-(.*)(</span><span class="se">\.</span><span class="sr">[^.]+)$!</span>
575
- </code></pre>
576
- </div>
645
+ <div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="sr">%r!^(?:.+/)*(</span><span class="se">\d</span><span class="sr">{2,4}-</span><span class="se">\d</span><span class="sr">{1,2}-</span><span class="se">\d</span><span class="sr">{1,2})-(.*)(</span><span class="se">\.</span><span class="sr">[^.]+)$!</span>
646
+ </code></pre></div></div>
577
647
 
578
648
  <p>And, I wrote a test.</p>
579
649
 
@@ -1238,10 +1308,10 @@ we think you’ll love.</p>
1238
1308
  <li>Configuration for the posts permalink might be borked when a user specified a value for <code class="highlighter-rouge">collections.posts.permalink</code> directly. This forced the use of <code class="highlighter-rouge">permalink</code> at the top level, which also affected pages. To configure a permalink <em>just for posts</em>, you can do so with:</li>
1239
1309
  </ul>
1240
1310
 
1241
- <figure class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="s">collections</span><span class="pi">:</span>
1242
- <span class="s">posts</span><span class="pi">:</span>
1243
- <span class="s">output</span><span class="pi">:</span> <span class="s">true</span>
1244
- <span class="s">permalink</span><span class="pi">:</span> <span class="s">/blog/:year/:title/</span></code></pre></figure>
1311
+ <figure class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="na">collections</span><span class="pi">:</span>
1312
+ <span class="na">posts</span><span class="pi">:</span>
1313
+ <span class="na">output</span><span class="pi">:</span> <span class="no">true</span>
1314
+ <span class="na">permalink</span><span class="pi">:</span> <span class="s">/blog/:year/:title/</span></code></pre></figure>
1245
1315
 
1246
1316
  <p>Both of these issues have been resolved. For more information, check out <a href="/docs/history/#v3-0-4">the full history</a>.</p>
1247
1317
 
@@ -1649,7 +1719,7 @@ improved problematic code that caused slow-downs.</li>
1649
1719
 
1650
1720
  <p>To install just run:</p>
1651
1721
 
1652
- <figure class="highlight"><pre><code class="language-shell" data-lang="shell"><span class="gp">$ </span>gem install jekyll --pre</code></pre></figure>
1722
+ <figure class="highlight"><pre><code class="language-shell" data-lang="shell"><span class="nv">$ </span>gem install jekyll <span class="nt">--pre</span></code></pre></figure>
1653
1723
 
1654
1724
  <p>Future versions will include <a href="https://github.com/jekyll/jekyll/issues/3324">some awesome new
1655
1725
  features</a> that we haven’t
@@ -2997,23 +3067,23 @@ examples and for compiling this list):</p>
2997
3067
  <ul>
2998
3068
 
2999
3069
  <li class="">
3000
- <a href="/news/2017/07/17/jekyll-3-5-1-released/">Version 3.5.1</a>
3070
+ <a href="/news/2017/09/21/jekyll-3-6-0-released/">Version 3.6.0</a>
3001
3071
  </li>
3002
3072
 
3003
3073
  <li class="">
3004
- <a href="/news/2017/06/15/jekyll-3-5-0-released/">Version 3.5.0</a>
3074
+ <a href="/news/2017/08/12/jekyll-3-5-2-released/">Version 3.5.2</a>
3005
3075
  </li>
3006
3076
 
3007
3077
  <li class="">
3008
- <a href="/news/2017/03/21/jekyll-3-4-3-released/">Version 3.4.3</a>
3078
+ <a href="/news/2017/07/17/jekyll-3-5-1-released/">Version 3.5.1</a>
3009
3079
  </li>
3010
3080
 
3011
3081
  <li class="">
3012
- <a href="/news/2017/03/09/jekyll-3-4-2-released/">Version 3.4.2</a>
3082
+ <a href="/news/2017/06/15/jekyll-3-5-0-released/">Version 3.5.0</a>
3013
3083
  </li>
3014
3084
 
3015
3085
  <li class="">
3016
- <a href="/news/2017/03/02/jekyll-3-4-1-released/">Version 3.4.1</a>
3086
+ <a href="/news/2017/03/21/jekyll-3-4-3-released/">Version 3.4.3</a>
3017
3087
  </li>
3018
3088
 
3019
3089
  <li>
@@ -3038,6 +3108,10 @@ examples and for compiling this list):</p>
3038
3108
 
3039
3109
 
3040
3110
 
3111
+
3112
+
3113
+
3114
+
3041
3115
 
3042
3116
 
3043
3117
  <li class="">