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
@@ -0,0 +1,21 @@
1
+ ---
2
+ layout: none
3
+ ---
4
+ <?xml version="1.0" encoding="UTF-8"?>
5
+ <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
6
+ <channel>
7
+ <title>{{ site.name | xml_escape }}</title>
8
+ <description>{{ site.description | xml_escape }}</description>
9
+ <link>{{ site.url }}</link>
10
+ <atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
11
+ {% for post in site.posts limit:10 %}
12
+ <item>
13
+ <title>{{ post.title | xml_escape }}</title>
14
+ <description>{{ post.content | xml_escape }}</description>
15
+ <pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
16
+ <link>{{ site.url }}/{{ post.url }}</link>
17
+ <guid isPermaLink="true">{{ site.url }}/{{ post.url }}</guid>
18
+ </item>
19
+ {% endfor %}
20
+ </channel>
21
+ </rss>
@@ -1,13 +1,17 @@
1
1
  ---
2
2
  layout: default
3
- title: Your New Jekyll Site
4
3
  ---
5
4
 
6
- <div id="home">
7
- <h1>Blog Posts</h1>
5
+ <div class="home">
6
+
7
+ <h1>Posts</h1>
8
+
8
9
  <ul class="posts">
9
10
  {% for post in site.posts %}
10
- <li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
11
+ <li><span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span> <a class="post-link" href="{{ post.url }}">{{ post.title }}</a></li>
11
12
  {% endfor %}
12
13
  </ul>
14
+
15
+ <p class="rss-subscribe">subscribe <a href="/feed.xml">via RSS</a></p>
16
+
13
17
  </div>
@@ -0,0 +1,14 @@
1
+ ---
2
+ layout: page
3
+ title: Projects
4
+ ---
5
+
6
+ Just a sample of another page that you could include for some purpose in the primary navigation.
7
+
8
+ This could be a great place to list your own projects. But to get you started, here's some handy links:
9
+
10
+ - [List of Jekyll-powered websites](https://github.com/jekyll/jekyll/wiki/Sites)
11
+ - [Octopress, a Jekyll based blog framework](https://github.com/octopress/)
12
+ - [Jekyll documentation](http://jekyllrb.com/)
13
+ - [Jekyll source on GitHub](https://github.com/jekyll/jekyll)
14
+ - [Available plugins](http://jekyllrb.com/docs/plugins/#available_plugins)
@@ -1,5 +1,4 @@
1
1
  #! /bin/bash
2
2
 
3
3
  script/branding
4
- script/bootstrap > /dev/null 2>&1
5
4
  bundle exec rake
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash
2
2
  #
3
3
  # rebund(1)
4
- #
4
+ #
5
5
  # Author: Julien Letessier
6
6
  # Homepage: https://github.com/mezis/rebund
7
7
  # License:
@@ -1,6 +1,6 @@
1
1
  {% if site.gauges_id %}
2
2
  <!-- Gauges (http://gaug.es/) -->
3
- <script type="text/javascript">
3
+ <script>
4
4
  var _gauges = _gauges || [];
5
5
  (function() {
6
6
  var t = document.createElement('script');
@@ -17,7 +17,7 @@
17
17
 
18
18
  {% if site.google_analytics_id %}
19
19
  <!-- Google Analytics (http://google.com/analytics) -->
20
- <script type="text/javascript">
20
+ <script>
21
21
  var _gaq = _gaq || [];
22
22
  _gaq.push(['_setAccount', '{{ site.google_analytics_id }}']);
23
23
  _gaq.push(['_setDomainName', '{{ site.url }}']); // Multiple sub-domains
@@ -1 +1 @@
1
- /*! normalize.css v2.1.3 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a{background:transparent}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:0.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace, serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}
1
+ /*! normalize.css v3.0.0 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
@@ -157,8 +157,6 @@ body > footer img {
157
157
  position: relative;
158
158
  top: 8px;
159
159
  margin-left: 5px;
160
- width: 100px;
161
- height: 30px;
162
160
  opacity: .8;
163
161
  padding: 1px;
164
162
  -webkit-transition: opacity .2s;
@@ -591,8 +589,6 @@ article h2:first-child {
591
589
  }
592
590
 
593
591
  .avatar {
594
- width: 24px;
595
- height: 24px;
596
592
  border-radius: 3px;
597
593
  display: inline-block;
598
594
  vertical-align: middle;
@@ -904,6 +900,19 @@ code.option, code.flag, code.filter, code.output {
904
900
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9e2812', endColorstr='#6f0d0d',GradientType=0 );
905
901
  }
906
902
 
903
+ .unreleased {
904
+ background: rgb(205,146,57); /* Old browsers */
905
+ /* IE9 SVG, needs conditional override of 'filter' to 'none' */
906
+ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2NkOTIzOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhMjc1MjgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
907
+ background: -moz-linear-gradient(top, rgba(205,146,57,1) 0%, rgba(162,117,40,1) 100%); /* FF3.6+ */
908
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(205,146,57,1)), color-stop(100%,rgba(162,117,40,1))); /* Chrome,Safari4+ */
909
+ background: -webkit-linear-gradient(top, rgba(205,146,57,1) 0%,rgba(162,117,40,1) 100%); /* Chrome10+,Safari5.1+ */
910
+ background: -o-linear-gradient(top, rgba(205,146,57,1) 0%,rgba(162,117,40,1) 100%); /* Opera 11.10+ */
911
+ background: -ms-linear-gradient(top, rgba(205,146,57,1) 0%,rgba(162,117,40,1) 100%); /* IE10+ */
912
+ background: linear-gradient(to bottom, rgba(205,146,57,1) 0%,rgba(162,117,40,1) 100%); /* W3C */
913
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cd9239', endColorstr='#a27528',GradientType=0 ); /* IE6-8 */
914
+ }
915
+
907
916
  .info:before {
908
917
  border-color: transparent #00617f #00617f transparent;
909
918
  }
@@ -912,6 +921,10 @@ code.option, code.flag, code.filter, code.output {
912
921
  border-color: transparent #6f0d0d #6f0d0d transparent;
913
922
  }
914
923
 
924
+ .unreleased:before {
925
+ border-color: transparent #664719 #664719 transparent;
926
+ }
927
+
915
928
  .note:after {
916
929
  content: "★";
917
930
  color: #fc0;
@@ -945,6 +958,17 @@ code.option, code.flag, code.filter, code.output {
945
958
  text-shadow: 0 -1px 0 rgba(0,0,0,.5);
946
959
  }
947
960
 
961
+ .unreleased:after {
962
+ content: "⚒";
963
+ color: #2b2a12;
964
+ position: absolute;
965
+ top: 8px;
966
+ left: 15px;
967
+ font-size: 38px;
968
+ font-weight: bold;
969
+ text-shadow: 0 1px 0 rgba(255,255,255,.25);
970
+ }
971
+
948
972
  /* Responsive tables */
949
973
 
950
974
  @media (max-width: 768px){
@@ -1,7 +1,7 @@
1
1
  {% assign items = include.items %}
2
2
 
3
3
  {% for item in items %}
4
- {% assign item_url = item | prepend:'/docs/' | append:'/' %}
4
+ {% assign item_url = item | prepend:"/docs/" | append:"/" %}
5
5
 
6
6
  {% for p in site.pages %}
7
7
  {% if p.url == item_url %}
@@ -2,12 +2,12 @@
2
2
 
3
3
  <ul>
4
4
  {% for item in items %}
5
- {% assign item_url = item | prepend:'/docs/' | append:'/' %}
5
+ {% assign item_url = item | prepend:"/docs/" | append:"/" %}
6
6
 
7
7
  {% if item_url == page.url %}
8
- {% assign c = 'current' %}
8
+ {% assign c = "current" %}
9
9
  {% else %}
10
- {% assign c = '' %}
10
+ {% assign c = "" %}
11
11
  {% endif %}
12
12
 
13
13
  {% for p in site.pages %}
@@ -7,7 +7,7 @@
7
7
  <p>
8
8
  Proudly hosted by
9
9
  <a href="https://github.com">
10
- <img src="{{ site.url }}/img/footer-logo.png" alt="GitHub • Social coding">
10
+ <img src="/img/footer-logo.png" width="100" height="30" alt="GitHub • Social coding">
11
11
  </a>
12
12
  </p>
13
13
  </div>
@@ -5,9 +5,9 @@
5
5
  <div class="grid">
6
6
  <div class="unit one-third center-on-mobiles">
7
7
  <h1>
8
- <a href="{{ site.url }}/">
8
+ <a href="/">
9
9
  <span>Jekyll</span>
10
- <img src="{{ site.url }}/img/logo-2x.png" width="249" height="115" alt="">
10
+ <img src="/img/logo-2x.png" width="249" height="115" alt="Logo">
11
11
  </a>
12
12
  </h1>
13
13
  </div>
@@ -14,7 +14,7 @@
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" alt="{{ post.author }}"/>
17
+ <img src="https://github.com/{{ post.author }}.png" class="avatar" alt="{{ post.author }}" width="24" height="24">
18
18
  {{ post.author }}
19
19
  </a>
20
20
  </div>
@@ -1,14 +1,14 @@
1
1
  <ul>
2
2
  <li class="{% if page.overview %}current{% endif %}">
3
- <a href="{{ site.url }}/">Overview</a>
3
+ <a href="/">Overview</a>
4
4
  </li>
5
5
  <li class="{% if page.url contains '/docs/' %}current{% endif %}">
6
- <a href="{{ site.url }}/docs/home/">Doc<span class="show-on-mobiles">s</span><span class="hide-on-mobiles">umentation</span></a>
6
+ <a href="/docs/home/">Doc<span class="show-on-mobiles">s</span><span class="hide-on-mobiles">umentation</span></a>
7
7
  </li>
8
8
  <li class="{% if page.author %}current{% endif %}">
9
- <a href="{{ site.url }}/news/">News</a>
9
+ <a href="/news/">News</a>
10
10
  </li>
11
- <li class="">
11
+ <li>
12
12
  <a href="{{ site.repository }}"><span class="hide-on-mobiles">View on </span>GitHub</a>
13
13
  </li>
14
14
  </ul>
@@ -1,7 +1,7 @@
1
1
  <div class="section-nav">
2
2
  <div class="left align-right">
3
3
  {% if page.prev_section != null %}
4
- <a href="{{ site.url }}/docs/{{ page.prev_section }}/" class="prev">
4
+ <a href="/docs/{{ page.prev_section }}/" class="prev">
5
5
  Back
6
6
  </a>
7
7
  {% else %}
@@ -10,7 +10,7 @@
10
10
  </div>
11
11
  <div class="right align-left">
12
12
  {% if page.next_section != null %}
13
- <a href="{{ site.url }}/docs/{{ page.next_section }}/" class="next">
13
+ <a href="/docs/{{ page.next_section }}/" class="next">
14
14
  Next
15
15
  </a>
16
16
  {% else %}
@@ -4,11 +4,10 @@
4
4
  <meta charset="UTF-8">
5
5
  <title>{{ page.title }}</title>
6
6
  <meta name="viewport" content="width=device-width,initial-scale=1">
7
- <link rel="alternate" type="application/rss+xml" title="Jekyll • Simple, blog-aware, static sites - Feed" href="/feed.xml" />
8
- <link rel="alternate" type="application/atom+xml" title="Recent commits to Jekyll’s master branch" href="{{ site.repository }}/commits/master.atom" />
9
- <link href='http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' rel='stylesheet' type='text/css'>
10
- <link href='http://fonts.googleapis.com/css?family=Arizonia' rel='stylesheet' type='text/css'>
11
- <link rel="stylesheet" href="{{ site.url }}/css/screen.css" />
12
- <link rel="icon" type="image/png" href="{{ site.url }}/favicon.png" />
13
- <script src="{{ site.url }}/js/modernizr-2.5.3.min.js"></script>
7
+ <link rel="alternate" type="application/rss+xml" title="Jekyll • Simple, blog-aware, static sites - Feed" href="/feed.xml">
8
+ <link rel="alternate" type="application/atom+xml" title="Recent commits to Jekyll’s master branch" href="{{ site.repository }}/commits/master.atom">
9
+ <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic">
10
+ <link rel="stylesheet" href="/css/screen.css">
11
+ <link rel="icon" type="image/png" href="/favicon.png">
12
+ <script src="/js/modernizr-2.7.1.min.js"></script>
14
13
  </head>
@@ -17,7 +17,7 @@ layout: news
17
17
  {{ page.date | date_to_string }}
18
18
  </span>
19
19
  <a href="https://github.com/{{ page.author }}" class="post-author">
20
- <img src="https://github.com/{{ page.author }}.png" class="avatar" />
20
+ <img src="https://github.com/{{ page.author }}.png" class="avatar" alt="{{ page.author }}" width="24" height="24">
21
21
  {{ page.author }}
22
22
  </a>
23
23
  </div>
@@ -9,7 +9,7 @@ categories: [release]
9
9
 
10
10
  Version 1.0.4 fixes a minor, but nonetheless important security vulnerability affecting several third-party Jekyll plugins. If your Jekyll site does not use plugins, you may, but are not required to upgrade at this time.
11
11
 
12
- Community and custom plugins extending the `Liquid::Drop` class may inadvertently disclose some system information such as directory structure or software configuration to users with access to the Liquid templating system.
12
+ Community and custom plugins extending the `Liquid::Drop` class may inadvertently disclose some system information such as directory structure or software configuration to users with access to the Liquid templating system.
13
13
 
14
14
  We recommend you upgrade to Jekyll v1.0.4 immediately if you use `Liquid::Drop` plugins on your Jekyll site.
15
15
 
@@ -9,7 +9,7 @@ categories: [release]
9
9
 
10
10
  Version 1.1.2 fixes a minor, but nonetheless important security vulnerability affecting several third-party Jekyll plugins. If your Jekyll site does not use plugins, you may, but are not required to upgrade at this time.
11
11
 
12
- Community and custom plugins extending the `Liquid::Drop` class may inadvertently disclose some system information such as directory structure or software configuration to users with access to the Liquid templating system.
12
+ Community and custom plugins extending the `Liquid::Drop` class may inadvertently disclose some system information such as directory structure or software configuration to users with access to the Liquid templating system.
13
13
 
14
14
  We recommend you upgrade to Jekyll v1.1.2 immediately if you use `Liquid::Drop` plugins on your Jekyll site.
15
15
 
@@ -9,7 +9,7 @@ categories: [release]
9
9
 
10
10
  Quick turnover, anyone? A [recent incompatibility with Liquid
11
11
  v2.5.2](https://github.com/jekyll/jekyll/pull/1525) produced a nasty bug in
12
- which `include` tags were not rendered properly within `if` blocks.
12
+ which `include` tags were not rendered properly within `if` blocks.
13
13
 
14
14
  This release also includes a better handling of detached servers (prints pid and
15
15
  the command for killing the process). **Note**: the `--detach` flag and
@@ -0,0 +1,19 @@
1
+ ---
2
+ layout: news_item
3
+ title: 'Jekyll 1.5.0 Released'
4
+ date: 2014-03-24 20:37:59 -0400
5
+ author: parkr
6
+ version: 1.5.0
7
+ categories: [release]
8
+ ---
9
+
10
+ As work continues on Jekyll 2.0.0, we felt it was important to address two key
11
+ issues of Jekyll 1.4.3, namely the `safe_yaml` dependency below 1.0 and the
12
+ inability to use Jekyll 1.4.3 on Windows due to a [fun issue with path sanitizing][].
13
+
14
+ For a full changelog, check out our [history][] page.
15
+
16
+ Now, back to work on 2.0.0!
17
+
18
+ [fun issue with path sanitizing]: https://github.com/jekyll/jekyll/issues/1948
19
+ [history]: /docs/history/#150__20140324
@@ -6,6 +6,14 @@ next_section: migrations
6
6
  permalink: /docs/assets/
7
7
  ---
8
8
 
9
+ <div class="note unreleased">
10
+ <h5>Sass and CoffeeScript support is currently unreleased.</h5>
11
+ <p>
12
+ In order to use this feature, <a href="/docs/installation/#pre-releases">
13
+ install the latest development version of Jekyll</a>.
14
+ </p>
15
+ </div>
16
+
9
17
  Jekyll provides built-in support for Sass and CoffeeScript. In order to use
10
18
  them, create a file with the proper extension name (one of `.sass`, `.scss`,
11
19
  or `.coffee`) and start the file with two lines of triple dashes, like this:
@@ -19,6 +27,12 @@ or `.coffee`) and start the file with two lines of triple dashes, like this:
19
27
  font-size: 1.2em
20
28
  {% endhighlight %}
21
29
 
30
+ Jekyll treats these files the same a regular page, in that the output file
31
+ will be placed in the same directory that it came from. For instance, if you
32
+ have a file named `/css/styles.scss` in your site's source folder, Jekyll
33
+ will process it and put it in your site's destination folder under
34
+ `/css/styles.css`.
35
+
22
36
  ## Sass/SCSS
23
37
 
24
38
  Jekyll allows you to customize your Sass conversion in certain ways.
@@ -31,65 +31,65 @@ class="flag">flags</code> (specified on the command-line) that control them.
31
31
  </tr>
32
32
  </thead>
33
33
  <tbody>
34
- <tr class='setting'>
34
+ <tr class="setting">
35
35
  <td>
36
- <p class='name'><strong>Site Source</strong></p>
37
- <p class='description'>Change the directory where Jekyll will read files</p>
36
+ <p class="name"><strong>Site Source</strong></p>
37
+ <p class="description">Change the directory where Jekyll will read files</p>
38
38
  </td>
39
39
  <td class="align-center">
40
40
  <p><code class="option">source: DIR</code></p>
41
41
  <p><code class="flag">-s, --source DIR</code></p>
42
42
  </td>
43
43
  </tr>
44
- <tr class='setting'>
44
+ <tr class="setting">
45
45
  <td>
46
- <p class='name'><strong>Site Destination</strong></p>
47
- <p class='description'>Change the directory where Jekyll will write files</p>
46
+ <p class="name"><strong>Site Destination</strong></p>
47
+ <p class="description">Change the directory where Jekyll will write files</p>
48
48
  </td>
49
49
  <td class="align-center">
50
50
  <p><code class="option">destination: DIR</code></p>
51
51
  <p><code class="flag">-d, --destination DIR</code></p>
52
52
  </td>
53
53
  </tr>
54
- <tr class='setting'>
54
+ <tr class="setting">
55
55
  <td>
56
- <p class='name'><strong>Safe</strong></p>
57
- <p class='description'>Disable <a href="../plugins/">custom plugins</a>.</p>
56
+ <p class="name"><strong>Safe</strong></p>
57
+ <p class="description">Disable <a href="../plugins/">custom plugins, and ignore symbolic links</a>.</p>
58
58
  </td>
59
59
  <td class="align-center">
60
60
  <p><code class="option">safe: BOOL</code></p>
61
61
  <p><code class="flag">--safe</code></p>
62
62
  </td>
63
63
  </tr>
64
- <tr class='setting'>
64
+ <tr class="setting">
65
65
  <td>
66
- <p class='name'><strong>Exclude</strong></p>
66
+ <p class="name"><strong>Exclude</strong></p>
67
67
  <p class="description">
68
68
  Exclude directories and/or files from the
69
69
  conversion. These exclusions are relative to the site's
70
70
  source directory and cannot be outside the source directory.
71
71
  </p>
72
72
  </td>
73
- <td class='align-center'>
73
+ <td class="align-center">
74
74
  <p><code class="option">exclude: [DIR, FILE, ...]</code></p>
75
75
  </td>
76
76
  </tr>
77
- <tr class='setting'>
77
+ <tr class="setting">
78
78
  <td>
79
- <p class='name'><strong>Include</strong></p>
79
+ <p class="name"><strong>Include</strong></p>
80
80
  <p class="description">
81
81
  Force inclusion of directories and/or files in the conversion.
82
82
  <code>.htaccess</code> is a good example since dotfiles are excluded
83
83
  by default.
84
84
  </p>
85
85
  </td>
86
- <td class='align-center'>
86
+ <td class="align-center">
87
87
  <p><code class="option">include: [DIR, FILE, ...]</code></p>
88
88
  </td>
89
89
  </tr>
90
- <tr class='setting'>
90
+ <tr class="setting">
91
91
  <td>
92
- <p class='name'><strong>Time Zone</strong></p>
92
+ <p class="name"><strong>Time Zone</strong></p>
93
93
  <p class="description">
94
94
  Set the time zone for site generation. This sets the <code>TZ</code>
95
95
  environment variable, which Ruby uses to handle time and date
@@ -99,23 +99,24 @@ class="flag">flags</code> (specified on the command-line) that control them.
99
99
  is the local time zone, as set by your operating system.
100
100
  </p>
101
101
  </td>
102
- <td class='align-center'>
102
+ <td class="align-center">
103
103
  <p><code class="option">timezone: TIMEZONE</code></p>
104
104
  </td>
105
105
  </tr>
106
- <tr class='setting'>
106
+ <tr class="setting">
107
107
  <td>
108
- <p class='name'><strong>Encoding</strong></p>
108
+ <p class="name"><strong>Encoding</strong></p>
109
109
  <p class="description">
110
110
  Set the encoding of files by name. Only available for Ruby
111
111
  1.9 or later).
112
- The default value is nil, which use Ruby default,
113
- <code>ASCII-8BIT</code>.
114
- Available encoding for the ruby in use, can be shown by
115
- command <code>ruby -e 'puts Encoding::list.join("\n")'</code>
112
+ The default value is <code>utf-8</code> starting in 2.0.0,
113
+ and <code>nil</code> before 2.0.0, which will yield the Ruby
114
+ default of <code>ASCII-8BIT</code>.
115
+ Available encodings can be shown by the
116
+ command <code>ruby -e 'puts Encoding::list.join("\n")'</code>.
116
117
  </p>
117
118
  </td>
118
- <td class='align-center'>
119
+ <td class="align-center">
119
120
  <p><code class="option">encoding: ENCODING</code></p>
120
121
  </td>
121
122
  </tr>
@@ -134,59 +135,59 @@ class="flag">flags</code> (specified on the command-line) that control them.
134
135
  </tr>
135
136
  </thead>
136
137
  <tbody>
137
- <tr class='setting'>
138
+ <tr class="setting">
138
139
  <td>
139
- <p class='name'><strong>Regeneration</strong></p>
140
- <p class='description'>Enable auto-regeneration of the site when files are modified.</p>
140
+ <p class="name"><strong>Regeneration</strong></p>
141
+ <p class="description">Enable auto-regeneration of the site when files are modified.</p>
141
142
  </td>
142
143
  <td class="align-center">
143
144
  <p><code class="flag">-w, --watch</code></p>
144
145
  </td>
145
146
  </tr>
146
- <tr class='setting'>
147
+ <tr class="setting">
147
148
  <td>
148
- <p class='name'><strong>Configuration</strong></p>
149
+ <p class="name"><strong>Configuration</strong></p>
149
150
  <p class="description">Specify config files instead of using <code>_config.yml</code> automatically. Settings in later files override settings in earlier files.</p>
150
151
  </td>
151
- <td class='align-center'>
152
+ <td class="align-center">
152
153
  <p><code class="flag">--config FILE1[,FILE2,...]</code></p>
153
154
  </td>
154
155
  </tr>
155
- <tr class='setting'>
156
+ <tr class="setting">
156
157
  <td>
157
- <p class='name'><strong>Drafts</strong></p>
158
+ <p class="name"><strong>Drafts</strong></p>
158
159
  <p class="description">Process and render draft posts.</p>
159
160
  </td>
160
- <td class='align-center'>
161
+ <td class="align-center">
161
162
  <p><code class="flag">--drafts</code></p>
162
163
  </td>
163
164
  </tr>
164
- <tr class='setting'>
165
+ <tr class="setting">
165
166
  <td>
166
- <p class='name'><strong>Future</strong></p>
167
+ <p class="name"><strong>Future</strong></p>
167
168
  <p class="description">Publish posts with a future date.</p>
168
169
  </td>
169
- <td class='align-center'>
170
+ <td class="align-center">
170
171
  <p><code class="option">future: BOOL</code></p>
171
172
  <p><code class="flag">--future</code></p>
172
173
  </td>
173
174
  </tr>
174
- <tr class='setting'>
175
+ <tr class="setting">
175
176
  <td>
176
- <p class='name'><strong>LSI</strong></p>
177
+ <p class="name"><strong>LSI</strong></p>
177
178
  <p class="description">Produce an index for related posts.</p>
178
179
  </td>
179
- <td class='align-center'>
180
+ <td class="align-center">
180
181
  <p><code class="option">lsi: BOOL</code></p>
181
182
  <p><code class="flag">--lsi</code></p>
182
183
  </td>
183
184
  </tr>
184
- <tr class='setting'>
185
+ <tr class="setting">
185
186
  <td>
186
- <p class='name'><strong>Limit Posts</strong></p>
187
+ <p class="name"><strong>Limit Posts</strong></p>
187
188
  <p class="description">Limit the number of posts to parse and publish.</p>
188
189
  </td>
189
- <td class='align-center'>
190
+ <td class="align-center">
190
191
  <p><code class="option">limit_posts: NUM</code></p>
191
192
  <p><code class="flag">--limit_posts NUM</code></p>
192
193
  </td>
@@ -210,40 +211,40 @@ before your site is served.
210
211
  </tr>
211
212
  </thead>
212
213
  <tbody>
213
- <tr class='setting'>
214
+ <tr class="setting">
214
215
  <td>
215
- <p class='name'><strong>Local Server Port</strong></p>
216
- <p class='description'>Listen on the given port.</p>
216
+ <p class="name"><strong>Local Server Port</strong></p>
217
+ <p class="description">Listen on the given port.</p>
217
218
  </td>
218
219
  <td class="align-center">
219
220
  <p><code class="option">port: PORT</code></p>
220
221
  <p><code class="flag">--port PORT</code></p>
221
222
  </td>
222
223
  </tr>
223
- <tr class='setting'>
224
+ <tr class="setting">
224
225
  <td>
225
- <p class='name'><strong>Local Server Hostname</strong></p>
226
- <p class='description'>Listen at the given hostname.</p>
226
+ <p class="name"><strong>Local Server Hostname</strong></p>
227
+ <p class="description">Listen at the given hostname.</p>
227
228
  </td>
228
229
  <td class="align-center">
229
230
  <p><code class="option">host: HOSTNAME</code></p>
230
231
  <p><code class="flag">--host HOSTNAME</code></p>
231
232
  </td>
232
233
  </tr>
233
- <tr class='setting'>
234
+ <tr class="setting">
234
235
  <td>
235
- <p class='name'><strong>Base URL</strong></p>
236
- <p class='description'>Serve the website from the given base URL</p>
236
+ <p class="name"><strong>Base URL</strong></p>
237
+ <p class="description">Serve the website from the given base URL</p>
237
238
  </td>
238
239
  <td class="align-center">
239
240
  <p><code class="option">baseurl: URL</code></p>
240
241
  <p><code class="flag">--baseurl URL</code></p>
241
242
  </td>
242
243
  </tr>
243
- <tr class='setting'>
244
+ <tr class="setting">
244
245
  <td>
245
- <p class='name'><strong>Detach</strong></p>
246
- <p class='description'>Detach the server from the terminal</p>
246
+ <p class="name"><strong>Detach</strong></p>
247
+ <p class="description">Detach the server from the terminal</p>
247
248
  </td>
248
249
  <td class="align-center">
249
250
  <p><code class="option">detach: BOOL</code></p>
@@ -301,7 +302,7 @@ paginate_path: 'page:num'
301
302
  paginate: nil
302
303
 
303
304
  markdown: kramdown
304
- markdown_ext: markdown,mkd,mkdn,md
305
+ markdown_ext: markdown,mkdown,mkdn,mkd,md
305
306
  textile_ext: textile
306
307
 
307
308
  excerpt_separator: "\n\n"
@@ -349,6 +350,14 @@ redcloth:
349
350
  hard_breaks: true
350
351
  {% endhighlight %}
351
352
 
353
+ <div class="note unreleased">
354
+ <h5>Kramdown as the default is currently unreleased.</h5>
355
+ <p>
356
+ In the latest development releases, we've deprecated Maruku and will default to
357
+ Kramdown instead of Maruku. All versions below this will use Maruku as the
358
+ default.
359
+ </p>
360
+ </div>
352
361
 
353
362
  ## Markdown Options
354
363