jekyll-docs 3.6.0 → 3.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (253) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jekyll.rb +195 -0
  3. data/lib/jekyll/cleaner.rb +110 -0
  4. data/lib/jekyll/collection.rb +230 -0
  5. data/lib/jekyll/command.rb +78 -0
  6. data/lib/jekyll/commands/build.rb +102 -0
  7. data/lib/jekyll/commands/clean.rb +43 -0
  8. data/lib/jekyll/commands/doctor.rb +153 -0
  9. data/lib/jekyll/commands/help.rb +34 -0
  10. data/lib/jekyll/commands/new.rb +156 -0
  11. data/lib/jekyll/commands/new_theme.rb +40 -0
  12. data/lib/jekyll/commands/serve.rb +245 -0
  13. data/lib/jekyll/commands/serve/servlet.rb +62 -0
  14. data/lib/jekyll/configuration.rb +410 -0
  15. data/lib/jekyll/converter.rb +54 -0
  16. data/lib/jekyll/converters/identity.rb +23 -0
  17. data/lib/jekyll/converters/markdown.rb +104 -0
  18. data/lib/jekyll/converters/markdown/kramdown_parser.rb +123 -0
  19. data/lib/jekyll/converters/markdown/rdiscount_parser.rb +35 -0
  20. data/lib/jekyll/converters/markdown/redcarpet_parser.rb +108 -0
  21. data/lib/jekyll/converters/smartypants.rb +36 -0
  22. data/lib/jekyll/convertible.rb +251 -0
  23. data/lib/jekyll/deprecator.rb +52 -0
  24. data/lib/jekyll/document.rb +507 -0
  25. data/lib/jekyll/drops/collection_drop.rb +22 -0
  26. data/lib/jekyll/drops/document_drop.rb +69 -0
  27. data/lib/jekyll/drops/drop.rb +214 -0
  28. data/lib/jekyll/drops/excerpt_drop.rb +15 -0
  29. data/lib/jekyll/drops/jekyll_drop.rb +33 -0
  30. data/lib/jekyll/drops/site_drop.rb +47 -0
  31. data/lib/jekyll/drops/static_file_drop.rb +13 -0
  32. data/lib/jekyll/drops/unified_payload_drop.rb +25 -0
  33. data/lib/jekyll/drops/url_drop.rb +88 -0
  34. data/lib/jekyll/entry_filter.rb +123 -0
  35. data/lib/jekyll/errors.rb +20 -0
  36. data/lib/jekyll/excerpt.rb +126 -0
  37. data/lib/jekyll/external.rb +74 -0
  38. data/lib/jekyll/filters.rb +430 -0
  39. data/lib/jekyll/filters/grouping_filters.rb +65 -0
  40. data/lib/jekyll/filters/url_filters.rb +60 -0
  41. data/lib/jekyll/frontmatter_defaults.rb +197 -0
  42. data/lib/jekyll/generator.rb +5 -0
  43. data/lib/jekyll/hooks.rb +104 -0
  44. data/lib/jekyll/layout.rb +62 -0
  45. data/lib/jekyll/liquid_extensions.rb +24 -0
  46. data/lib/jekyll/liquid_renderer.rb +49 -0
  47. data/lib/jekyll/liquid_renderer/file.rb +56 -0
  48. data/lib/jekyll/liquid_renderer/table.rb +96 -0
  49. data/lib/jekyll/log_adapter.rb +147 -0
  50. data/lib/jekyll/mime.types +825 -0
  51. data/lib/jekyll/page.rb +187 -0
  52. data/lib/jekyll/plugin.rb +98 -0
  53. data/lib/jekyll/plugin_manager.rb +113 -0
  54. data/lib/jekyll/publisher.rb +23 -0
  55. data/lib/jekyll/reader.rb +134 -0
  56. data/lib/jekyll/readers/collection_reader.rb +22 -0
  57. data/lib/jekyll/readers/data_reader.rb +77 -0
  58. data/lib/jekyll/readers/layout_reader.rb +71 -0
  59. data/lib/jekyll/readers/page_reader.rb +25 -0
  60. data/lib/jekyll/readers/post_reader.rb +72 -0
  61. data/lib/jekyll/readers/static_file_reader.rb +25 -0
  62. data/lib/jekyll/readers/theme_assets_reader.rb +49 -0
  63. data/lib/jekyll/regenerator.rb +201 -0
  64. data/lib/jekyll/related_posts.rb +52 -0
  65. data/lib/jekyll/renderer.rb +269 -0
  66. data/lib/jekyll/site.rb +471 -0
  67. data/lib/jekyll/static_file.rb +162 -0
  68. data/lib/jekyll/stevenson.rb +61 -0
  69. data/lib/jekyll/tags/highlight.rb +141 -0
  70. data/lib/jekyll/tags/include.rb +215 -0
  71. data/lib/jekyll/tags/link.rb +37 -0
  72. data/lib/jekyll/tags/post_url.rb +103 -0
  73. data/lib/jekyll/theme.rb +68 -0
  74. data/lib/jekyll/theme_builder.rb +119 -0
  75. data/lib/jekyll/url.rb +161 -0
  76. data/lib/jekyll/utils.rb +337 -0
  77. data/lib/jekyll/utils/ansi.rb +59 -0
  78. data/lib/jekyll/utils/exec.rb +27 -0
  79. data/lib/jekyll/utils/platforms.rb +82 -0
  80. data/lib/jekyll/utils/rouge.rb +21 -0
  81. data/lib/jekyll/utils/win_tz.rb +75 -0
  82. data/lib/jekyll/version.rb +5 -0
  83. data/lib/site_template/404.html +24 -0
  84. data/lib/site_template/_config.yml +43 -0
  85. data/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb +25 -0
  86. data/lib/site_template/about.md +18 -0
  87. data/lib/site_template/index.md +6 -0
  88. data/lib/theme_template/CODE_OF_CONDUCT.md.erb +74 -0
  89. data/lib/theme_template/Gemfile +4 -0
  90. data/lib/theme_template/LICENSE.txt.erb +21 -0
  91. data/lib/theme_template/README.md.erb +52 -0
  92. data/lib/theme_template/_layouts/default.html +1 -0
  93. data/lib/theme_template/_layouts/page.html +5 -0
  94. data/lib/theme_template/_layouts/post.html +5 -0
  95. data/lib/theme_template/example/_config.yml.erb +1 -0
  96. data/lib/theme_template/example/_post.md +12 -0
  97. data/lib/theme_template/example/index.html +14 -0
  98. data/lib/theme_template/example/style.scss +7 -0
  99. data/lib/theme_template/gitignore.erb +5 -0
  100. data/lib/theme_template/theme.gemspec.erb +19 -0
  101. metadata +103 -156
  102. data/lib/jekyll-docs.rb +0 -31
  103. data/site/404.html +0 -153
  104. data/site/CNAME +0 -1
  105. data/site/community/index.html +0 -299
  106. data/site/conduct/index.html +0 -10
  107. data/site/css/screen.css +0 -1
  108. data/site/docs/assets/index.html +0 -724
  109. data/site/docs/code_of_conduct/index.html +0 -730
  110. data/site/docs/collections/index.html +0 -1097
  111. data/site/docs/conduct/index.html +0 -744
  112. data/site/docs/configuration/index.html +0 -1403
  113. data/site/docs/continuous-integration/buddyworks/index.html +0 -726
  114. data/site/docs/continuous-integration/circleci/index.html +0 -757
  115. data/site/docs/continuous-integration/index.html +0 -681
  116. data/site/docs/continuous-integration/travis-ci/index.html +0 -891
  117. data/site/docs/contributing/index.html +0 -863
  118. data/site/docs/datafiles/index.html +0 -780
  119. data/site/docs/deployment-methods/index.html +0 -875
  120. data/site/docs/drafts/index.html +0 -636
  121. data/site/docs/extras/index.html +0 -689
  122. data/site/docs/frontmatter/index.html +0 -807
  123. data/site/docs/github-pages/index.html +0 -819
  124. data/site/docs/history/index.html +0 -3955
  125. data/site/docs/home/index.html +0 -644
  126. data/site/docs/includes/index.html +0 -800
  127. data/site/docs/index.html +0 -10
  128. data/site/docs/installation/index.html +0 -732
  129. data/site/docs/maintaining/affinity-team-captain/index.html +0 -706
  130. data/site/docs/maintaining/avoiding-burnout/index.html +0 -709
  131. data/site/docs/maintaining/becoming-a-maintainer/index.html +0 -717
  132. data/site/docs/maintaining/index.html +0 -713
  133. data/site/docs/maintaining/merging-a-pull-request/index.html +0 -747
  134. data/site/docs/maintaining/reviewing-a-pull-request/index.html +0 -725
  135. data/site/docs/maintaining/special-labels/index.html +0 -705
  136. data/site/docs/maintaining/triaging-an-issue/index.html +0 -735
  137. data/site/docs/migrations/index.html +0 -647
  138. data/site/docs/pages/index.html +0 -695
  139. data/site/docs/pagination/index.html +0 -870
  140. data/site/docs/permalinks/index.html +0 -1027
  141. data/site/docs/plugins/index.html +0 -1800
  142. data/site/docs/posts/index.html +0 -858
  143. data/site/docs/quickstart/index.html +0 -650
  144. data/site/docs/resources/index.html +0 -769
  145. data/site/docs/sites/index.html +0 -702
  146. data/site/docs/static-files/index.html +0 -720
  147. data/site/docs/structure/index.html +0 -822
  148. data/site/docs/templates/index.html +0 -1208
  149. data/site/docs/themes/index.html +0 -935
  150. data/site/docs/troubleshooting/index.html +0 -893
  151. data/site/docs/upgrading/0-to-2/index.html +0 -826
  152. data/site/docs/upgrading/2-to-3/index.html +0 -824
  153. data/site/docs/upgrading/index.html +0 -693
  154. data/site/docs/usage/index.html +0 -705
  155. data/site/docs/variables/index.html +0 -1048
  156. data/site/docs/windows/index.html +0 -799
  157. data/site/favicon.ico +0 -0
  158. data/site/feed.xml +0 -372
  159. data/site/fonts/FontAwesome.eot +0 -0
  160. data/site/fonts/FontAwesome.svg +0 -12
  161. data/site/fonts/FontAwesome.ttf +0 -0
  162. data/site/fonts/FontAwesome.woff +0 -0
  163. data/site/github.html +0 -10
  164. data/site/help/index.html +0 -244
  165. data/site/icomoon-selection.json +0 -96
  166. data/site/img/article-footer.png +0 -0
  167. data/site/img/footer-arrow.png +0 -0
  168. data/site/img/footer-logo.png +0 -0
  169. data/site/img/jekyll-sticker.jpg +0 -0
  170. data/site/img/jekylllayoutconcept.png +0 -0
  171. data/site/img/logo-2x.png +0 -0
  172. data/site/img/logo-rss.png +0 -0
  173. data/site/img/octojekyll.png +0 -0
  174. data/site/index.html +0 -267
  175. data/site/issues.html +0 -10
  176. data/site/js/html5shiv.min.js +0 -4
  177. data/site/js/respond.min.js +0 -5
  178. data/site/latest_version.txt +0 -1
  179. data/site/news/2013/05/05/jekyll-1-0-0-released/index.html +0 -570
  180. data/site/news/2013/05/08/jekyll-1-0-1-released/index.html +0 -570
  181. data/site/news/2013/05/12/jekyll-1-0-2-released/index.html +0 -571
  182. data/site/news/2013/06/07/jekyll-1-0-3-released/index.html +0 -568
  183. data/site/news/2013/07/14/jekyll-1-1-0-released/index.html +0 -570
  184. data/site/news/2013/07/24/jekyll-1-1-1-released/index.html +0 -569
  185. data/site/news/2013/07/25/jekyll-1-0-4-released/index.html +0 -565
  186. data/site/news/2013/07/25/jekyll-1-1-2-released/index.html +0 -565
  187. data/site/news/2013/09/06/jekyll-1-2-0-released/index.html +0 -572
  188. data/site/news/2013/09/14/jekyll-1-2-1-released/index.html +0 -566
  189. data/site/news/2013/10/28/jekyll-1-3-0-rc1-released/index.html +0 -564
  190. data/site/news/2013/11/04/jekyll-1-3-0-released/index.html +0 -599
  191. data/site/news/2013/11/26/jekyll-1-3-1-released/index.html +0 -568
  192. data/site/news/2013/12/07/jekyll-1-4-0-released/index.html +0 -583
  193. data/site/news/2013/12/09/jekyll-1-4-1-released/index.html +0 -565
  194. data/site/news/2013/12/16/jekyll-1-4-2-released/index.html +0 -564
  195. data/site/news/2014/01/13/jekyll-1-4-3-released/index.html +0 -573
  196. data/site/news/2014/03/24/jekyll-1-5-0-released/index.html +0 -564
  197. data/site/news/2014/03/27/jekyll-1-5-1-released/index.html +0 -569
  198. data/site/news/2014/05/06/jekyll-turns-2-0-0/index.html +0 -585
  199. data/site/news/2014/05/08/jekyll-2-0-3-released/index.html +0 -565
  200. data/site/news/2014/06/04/jekyll-stickers-1-dollar-stickermule/index.html +0 -567
  201. data/site/news/2014/06/28/jekyll-turns-21-i-mean-2-1-0/index.html +0 -582
  202. data/site/news/2014/07/01/jekyll-2-1-1-released/index.html +0 -579
  203. data/site/news/2014/07/29/jekyll-2-2-0-released/index.html +0 -568
  204. data/site/news/2014/08/10/jekyll-2-3-0-released/index.html +0 -588
  205. data/site/news/2014/09/09/jekyll-2-4-0-released/index.html +0 -574
  206. data/site/news/2014/11/05/jekylls-midlife-crisis-jekyll-turns-2-5-0/index.html +0 -597
  207. data/site/news/2014/11/09/jekyll-2-5-1-released/index.html +0 -575
  208. data/site/news/2014/11/12/jekyll-2-5-2-released/index.html +0 -565
  209. data/site/news/2014/12/17/alfredxing-welcome-to-jekyll-core/index.html +0 -572
  210. data/site/news/2014/12/22/jekyll-2-5-3-released/index.html +0 -567
  211. data/site/news/2015/01/20/jekyll-meet-and-greet/index.html +0 -568
  212. data/site/news/2015/01/24/jekyll-3-0-0-beta1-released/index.html +0 -588
  213. data/site/news/2015/02/26/introducing-jekyll-talk/index.html +0 -563
  214. data/site/news/2015/10/26/jekyll-3-0-released/index.html +0 -592
  215. data/site/news/2015/11/17/jekyll-3-0-1-released/index.html +0 -576
  216. data/site/news/2016/01/20/jekyll-3-0-2-released/index.html +0 -566
  217. data/site/news/2016/01/24/jekyll-3-1-0-released/index.html +0 -599
  218. data/site/news/2016/01/28/jekyll-3-1-1-released/index.html +0 -583
  219. data/site/news/2016/02/08/jekyll-3-0-3-released/index.html +0 -578
  220. data/site/news/2016/02/19/jekyll-3-1-2-released/index.html +0 -569
  221. data/site/news/2016/03/10/making-it-easier-to-contribute-to-jekyll/index.html +0 -565
  222. data/site/news/2016/04/19/jekyll-3-0-4-released/index.html +0 -571
  223. data/site/news/2016/04/19/jekyll-3-1-3-released/index.html +0 -566
  224. data/site/news/2016/04/26/jekyll-3-0-5-released/index.html +0 -572
  225. data/site/news/2016/05/18/jekyll-3-1-4-released/index.html +0 -576
  226. data/site/news/2016/05/18/jekyll-3-1-5-released/index.html +0 -564
  227. data/site/news/2016/05/19/jekyll-3-1-6-released/index.html +0 -566
  228. data/site/news/2016/06/03/update-on-jekyll-s-google-summer-of-code-projects/index.html +0 -567
  229. data/site/news/2016/07/26/jekyll-3-2-0-released/index.html +0 -676
  230. data/site/news/2016/08/02/jekyll-3-2-1-released/index.html +0 -571
  231. data/site/news/2016/08/24/jekyll-admin-initial-release/index.html +0 -566
  232. data/site/news/2016/10/06/jekyll-3-3-is-here/index.html +0 -645
  233. data/site/news/2016/11/14/jekyll-3-3-1-released/index.html +0 -569
  234. data/site/news/2017/01/18/jekyll-3-4-0-released/index.html +0 -592
  235. data/site/news/2017/03/02/jekyll-3-4-1-released/index.html +0 -649
  236. data/site/news/2017/03/09/jekyll-3-4-2-released/index.html +0 -598
  237. data/site/news/2017/03/21/jekyll-3-4-3-released/index.html +0 -594
  238. data/site/news/2017/06/15/jekyll-3-5-0-released/index.html +0 -589
  239. data/site/news/2017/07/17/jekyll-3-5-1-released/index.html +0 -569
  240. data/site/news/2017/08/12/jekyll-3-5-2-released/index.html +0 -573
  241. data/site/news/2017/09/21/jekyll-3-6-0-released/index.html +0 -565
  242. data/site/news/index.html +0 -3609
  243. data/site/news/releases/index.html +0 -3344
  244. data/site/philosophy.html +0 -46
  245. data/site/readme.md +0 -23
  246. data/site/robots.txt +0 -1
  247. data/site/sitemap.xml +0 -485
  248. data/site/tutorials/convert-site-to-jekyll/index.html +0 -793
  249. data/site/tutorials/custom-404-page/index.html +0 -358
  250. data/site/tutorials/home/index.html +0 -323
  251. data/site/tutorials/index.html +0 -10
  252. data/site/tutorials/navigation/index.html +0 -872
  253. data/site/tutorials/orderofinterpretation/index.html +0 -441
@@ -1,1027 +0,0 @@
1
- <!DOCTYPE HTML>
2
- <html lang="en-US">
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <meta charset="UTF-8">
6
- <meta name="viewport" content="width=device-width,initial-scale=1">
7
- <meta name="generator" content="Jekyll v3.6.0">
8
- <link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites">
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
- <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
11
- <link rel="stylesheet" href="/css/screen.css">
12
- <link rel="icon" type="image/x-icon" href="/favicon.ico">
13
- <!-- Begin Jekyll SEO tag v2.3.0 -->
14
- <title>Permalinks | Jekyll • Simple, blog-aware, static sites</title>
15
- <meta property="og:title" content="Permalinks">
16
- <meta property="og:locale" content="en_US">
17
- <meta name="description" content="Permalinks refer to the URLs (excluding the domain name or directory folder) for your pages, posts, or collections. Jekyll supports a flexible way to build permalinks, allowing you to leverage various template variables or choose built-in permalink styles (such as date) that automatically use a template-variable pattern.">
18
- <meta property="og:description" content="Permalinks refer to the URLs (excluding the domain name or directory folder) for your pages, posts, or collections. Jekyll supports a flexible way to build permalinks, allowing you to leverage various template variables or choose built-in permalink styles (such as date) that automatically use a template-variable pattern.">
19
- <link rel="canonical" href="https://jekyllrb.com/docs/permalinks/">
20
- <meta property="og:url" content="https://jekyllrb.com/docs/permalinks/">
21
- <meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites">
22
- <meta property="og:type" content="article">
23
- <meta property="article:published_time" content="2017-10-24T08:07:43-07:00">
24
- <meta name="twitter:card" content="summary">
25
- <meta name="twitter:site" content="@jekyllrb">
26
- <meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
27
- <script type="application/ld+json">
28
- {"name":null,"description":"Permalinks refer to the URLs (excluding the domain name or directory folder) for your pages, posts, or collections. Jekyll supports a flexible way to build permalinks, allowing you to leverage various template variables or choose built-in permalink styles (such as date) that automatically use a template-variable pattern.","url":"https://jekyllrb.com/docs/permalinks/","headline":"Permalinks","dateModified":"2017-10-24T08:07:43-07:00","datePublished":"2017-10-24T08:07:43-07:00","sameAs":null,"@type":"BlogPosting","author":null,"image":null,"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/permalinks/"},"@context":"http://schema.org"}</script>
29
- <!-- End Jekyll SEO tag -->
30
-
31
- <!--[if lt IE 9]>
32
- <script src="/js/html5shiv.min.js"></script>
33
- <script src="/js/respond.min.js"></script>
34
- <![endif]-->
35
- </head>
36
-
37
-
38
- <body class="wrap">
39
- <header>
40
- <nav class="mobile-nav show-on-mobiles">
41
- <ul>
42
- <li class="">
43
- <a href="/">Home</a>
44
- </li>
45
- <li class="current">
46
- <a href="/docs/home/">Docs</a>
47
- </li>
48
- <li class="">
49
- <a href="/news/">News</a>
50
- </li>
51
- <li class="">
52
- <a href="/community/">Community</a>
53
- </li>
54
- <li class="">
55
- <a href="/help/">Help</a>
56
- </li>
57
- <li>
58
- <a href="https://github.com/jekyll/jekyll">GitHub</a>
59
- </li>
60
- </ul>
61
-
62
- </nav>
63
- <div class="grid">
64
- <div class="unit one-third center-on-mobiles">
65
- <h1>
66
- <a href="/">
67
- <span class="sr-only">Jekyll</span>
68
- <img src="/img/logo-2x.png" width="249" height="115" alt="Jekyll Logo">
69
- </a>
70
- </h1>
71
- </div>
72
- <nav class="main-nav unit two-thirds hide-on-mobiles">
73
- <ul>
74
- <li class="">
75
- <a href="/">Home</a>
76
- </li>
77
- <li class="current">
78
- <a href="/docs/home/">Docs</a>
79
- </li>
80
- <li class="">
81
- <a href="/news/">News</a>
82
- </li>
83
- <li class="">
84
- <a href="/community/">Community</a>
85
- </li>
86
- <li class="">
87
- <a href="/help/">Help</a>
88
- </li>
89
- <li>
90
- <a href="https://github.com/jekyll/jekyll">GitHub</a>
91
- </li>
92
- </ul>
93
-
94
- </nav>
95
- </div>
96
- </header>
97
-
98
-
99
- <section class="docs">
100
- <div class="grid">
101
-
102
- <div class="docs-nav-mobile unit whole show-on-mobiles">
103
- <select onchange="if (this.value) window.location.href=this.value">
104
- <option value="">Navigate the docs…</option>
105
-
106
- <optgroup label="Getting Started">
107
-
108
-
109
-
110
- <option value="/docs/home/">Welcome</option>
111
-
112
-
113
-
114
- <option value="/docs/quickstart/">Quick-start guide</option>
115
-
116
-
117
-
118
- <option value="/docs/installation/">Installation</option>
119
-
120
-
121
-
122
- <option value="/docs/windows/">Jekyll on Windows</option>
123
-
124
-
125
-
126
- <option value="/docs/usage/">Basic Usage</option>
127
-
128
-
129
-
130
- <option value="/docs/structure/">Directory structure</option>
131
-
132
-
133
-
134
- <option value="/docs/configuration/">Configuration</option>
135
-
136
-
137
- </optgroup>
138
-
139
- <optgroup label="Your Content">
140
-
141
-
142
-
143
- <option value="/docs/frontmatter/">Front Matter</option>
144
-
145
-
146
-
147
- <option value="/docs/posts/">Writing posts</option>
148
-
149
-
150
-
151
- <option value="/docs/drafts/">Working with drafts</option>
152
-
153
-
154
-
155
- <option value="/docs/pages/">Creating pages</option>
156
-
157
-
158
-
159
- <option value="/docs/static-files/">Static Files</option>
160
-
161
-
162
-
163
- <option value="/docs/variables/">Variables</option>
164
-
165
-
166
-
167
- <option value="/docs/collections/">Collections</option>
168
-
169
-
170
-
171
- <option value="/docs/datafiles/">Data Files</option>
172
-
173
-
174
-
175
- <option value="/docs/assets/">Assets</option>
176
-
177
-
178
-
179
- <option value="/docs/migrations/">Blog migrations</option>
180
-
181
-
182
- </optgroup>
183
-
184
- <optgroup label="Customization">
185
-
186
-
187
-
188
- <option value="/docs/templates/">Templates</option>
189
-
190
-
191
-
192
- <option value="/docs/includes/">Includes</option>
193
-
194
-
195
-
196
- <option value="/docs/permalinks/">Permalinks</option>
197
-
198
-
199
-
200
- <option value="/docs/pagination/">Pagination</option>
201
-
202
-
203
-
204
- <option value="/docs/plugins/">Plugins</option>
205
-
206
-
207
-
208
- <option value="/docs/themes/">Themes</option>
209
-
210
-
211
-
212
- <option value="/docs/extras/">Extras</option>
213
-
214
-
215
- </optgroup>
216
-
217
- <optgroup label="Deployment">
218
-
219
-
220
-
221
- <option value="/docs/github-pages/">GitHub Pages</option>
222
-
223
-
224
-
225
- <option value="/docs/deployment-methods/">Deployment methods</option>
226
-
227
-
228
-
229
- <option value="/docs/continuous-integration/">Continuous Integration</option>
230
-
231
-
232
- </optgroup>
233
-
234
- <optgroup label="Miscellaneous">
235
-
236
-
237
-
238
- <option value="/docs/troubleshooting/">Troubleshooting</option>
239
-
240
-
241
-
242
- <option value="/docs/sites/">Sites using Jekyll</option>
243
-
244
-
245
-
246
- <option value="/docs/resources/">Resources</option>
247
-
248
-
249
-
250
- <option value="/docs/upgrading/0-to-2/">Upgrading from 0.x to 2.x</option>
251
-
252
-
253
-
254
- <option value="/docs/upgrading/2-to-3/">Upgrading from 2.x to 3.x</option>
255
-
256
-
257
- </optgroup>
258
-
259
- <optgroup label="Meta">
260
-
261
-
262
-
263
- <option value="/docs/contributing/">Contributing</option>
264
-
265
-
266
-
267
- <option value="/docs/maintaining/">Maintaining Jekyll</option>
268
-
269
-
270
-
271
- <option value="/docs/conduct/">Code of Conduct</option>
272
-
273
-
274
-
275
- <option value="/docs/history/">History</option>
276
-
277
-
278
- </optgroup>
279
-
280
- </select>
281
- </div>
282
-
283
-
284
- <div class="unit four-fifths">
285
- <article>
286
- <div class="improve right hide-on-mobiles">
287
- <a href="https://github.com/jekyll/jekyll/edit/master/docs/_docs/permalinks.md"><i class="fa fa-pencil"></i>  Improve this page</a>
288
- </div>
289
- <h1>Permalinks</h1>
290
- <p>Permalinks refer to the URLs (excluding the domain name or directory folder) for your pages, posts, or collections.
291
- Jekyll supports a flexible way to build permalinks, allowing you to leverage various template variables or choose built-in permalink styles (such as <code class="highlighter-rouge">date</code>) that automatically use a template-variable pattern.</p>
292
-
293
- <p>You construct permalinks by creating a template URL where dynamic elements are represented by colon-prefixed keywords. The default template permalink is <code class="highlighter-rouge">/:categories/:year/:month/:day/:title.html</code>. Each of the colon-prefixed keywords is a template variable.</p>
294
-
295
- <h2 id="where-to-configure-permalinks">Where to configure permalinks</h2>
296
-
297
- <p>You can configure your site’s permalinks through the <a href="/docs/configuration/">Configuration</a> file or in the <a href="/docs/frontmatter/">Front Matter</a> for each post, page, or collection.</p>
298
-
299
- <p>Setting permalink styles in your configuration file applies the setting globally in your project. You configure permalinks in your <code class="highlighter-rouge">_config.yml</code> file like this:</p>
300
-
301
- <div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">permalink</span><span class="pi">:</span> <span class="s">/:categories/:year/:month/:day/:title.html</span>
302
- </code></pre></div></div>
303
-
304
- <p>If you don’t specify any permalink setting, Jekyll uses the above pattern as the default.</p>
305
-
306
- <p>The permalink can also be set using a built-in permalink style:</p>
307
-
308
- <div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">permalink</span><span class="pi">:</span> <span class="s">date</span>
309
- </code></pre></div></div>
310
-
311
- <p><code class="highlighter-rouge">date</code> is the same as <code class="highlighter-rouge">:categories/:year/:month/:day/:title.html</code>, the default. See <a href="#builtinpermalinkstyles">Built-in Permalink Styles</a> below for more options.</p>
312
-
313
- <p>Setting the permalink in your post, page, or collection’s front matter overrides any global settings. Here’s an example:</p>
314
-
315
- <div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nn">---</span>
316
- <span class="na">title</span><span class="pi">:</span> <span class="s">My page title</span>
317
- <span class="na">permalink</span><span class="pi">:</span> <span class="s">/mypageurl/</span>
318
- <span class="nn">---</span>
319
- </code></pre></div></div>
320
-
321
- <p>Even if your configuration file specifies the <code class="highlighter-rouge">date</code> style, the URL for this page would be <code class="highlighter-rouge">http://somedomain.com/mypageurl/</code>.</p>
322
-
323
- <p>When you use permalinks that omit the <code class="highlighter-rouge">.html</code> file extension (called “pretty URLs”) Jekyll builds the file as index.html placed inside a folder with the page’s name. For example:</p>
324
-
325
- <div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>├── mypageurl
326
- │   └── index.html
327
- </code></pre></div></div>
328
-
329
- <p>With a URL such as <code class="highlighter-rouge">/mypageurl/</code>, servers automatically load the index.html file inside the folder, so users can simply navigate to <code class="highlighter-rouge">http://somedomain.com/mypageurl/</code> to get to <code class="highlighter-rouge">mypageurl/index.html</code>.</p>
330
-
331
- <h2 id="template-variables">Template variables for permalinks</h2>
332
-
333
- <p>The following table lists the template variables available for permalinks. You can use these variables in the <code class="highlighter-rouge">permalink</code> property in your config file.</p>
334
-
335
- <div class="mobile-side-scroller">
336
- <table>
337
- <thead>
338
- <tr>
339
- <th>Variable</th>
340
- <th>Description</th>
341
- </tr>
342
- </thead>
343
- <tbody>
344
- <tr>
345
- <td>
346
- <p><code>year</code></p>
347
- </td>
348
- <td>
349
- <p>
350
- Year from the post's filename. May be overridden via the document’s
351
- <code>date</code> YAML front matter
352
- </p>
353
- </td>
354
- </tr>
355
- <tr>
356
- <td>
357
- <p><code>month</code></p>
358
- </td>
359
- <td>
360
- <p>
361
- Month from the post's filename. May be overridden via the document’s
362
- <code>date</code> YAML front matter
363
- </p>
364
- </td>
365
- </tr>
366
- <tr>
367
- <td>
368
- <p><code>i_month</code></p>
369
- </td>
370
- <td>
371
- <p>
372
- Month without leading zeros from the post's filename. May be
373
- overridden via the document’s <code>date</code> YAML front matter
374
- </p>
375
- </td>
376
- </tr>
377
- <tr>
378
- <td>
379
- <p><code>day</code></p>
380
- </td>
381
- <td>
382
- <p>
383
- Day from the post's filename. May be overridden via the document’s
384
- <code>date</code> YAML front matter
385
- </p>
386
- </td>
387
- </tr>
388
- <tr>
389
- <td>
390
- <p><code>i_day</code></p>
391
- </td>
392
- <td>
393
- <p>
394
- Day without leading zeros from the post's filename. May be overridden
395
- via the document’s <code>date</code> YAML front matter
396
- </p>
397
- </td>
398
- </tr>
399
- <tr>
400
- <td>
401
- <p><code>short_year</code></p>
402
- </td>
403
- <td>
404
- <p>
405
- Year without the century from the post's filename. May be overridden
406
- via the document’s <code>date</code> YAML front matter
407
- </p>
408
- </td>
409
- </tr>
410
- <tr>
411
- <td>
412
- <p><code>hour</code></p>
413
- </td>
414
- <td>
415
- <p>
416
- Hour of the day, 24-hour clock, zero-padded from the post's
417
- <code>date</code> front matter. (00..23)
418
- </p>
419
- </td>
420
- </tr>
421
- <tr>
422
- <td>
423
- <p><code>minute</code></p>
424
- </td>
425
- <td>
426
- <p>
427
- Minute of the hour from the post's <code>date</code> front matter. (00..59)
428
- </p>
429
- </td>
430
- </tr>
431
- <tr>
432
- <td>
433
- <p><code>second</code></p>
434
- </td>
435
- <td>
436
- <p>
437
- Second of the minute from the post's <code>date</code> front matter. (00..59)
438
- </p>
439
- </td>
440
- </tr>
441
- <tr>
442
- <td>
443
- <p><code>title</code></p>
444
- </td>
445
- <td>
446
- <p>
447
- Title from the document’s filename. May be overridden via
448
- the document’s <code>slug</code> YAML front matter.
449
- </p>
450
- </td>
451
- </tr>
452
- <tr>
453
- <td>
454
- <p><code>slug</code></p>
455
- </td>
456
- <td>
457
- <p>
458
- Slugified title from the document’s filename (any character
459
- except numbers and letters is replaced as hyphen). May be
460
- overridden via the document’s <code>slug</code> YAML front matter.
461
- </p>
462
- </td>
463
- </tr>
464
- <tr>
465
- <td>
466
- <p><code>categories</code></p>
467
- </td>
468
- <td>
469
- <p>
470
- The specified categories for this post. If a post has multiple
471
- categories, Jekyll will create a hierarchy (e.g. <code>/category1/category2</code>).
472
- Also Jekyll automatically parses out double slashes in the URLs,
473
- so if no categories are present, it will ignore this.
474
- </p>
475
- </td>
476
- </tr>
477
- </tbody>
478
- </table>
479
- </div>
480
-
481
- <p>Note that all template variables relating to time or categories are available to posts only.</p>
482
-
483
- <h2 id="builtinpermalinkstyles">Built-in permalink styles</h2>
484
-
485
- <p>Although you can specify a custom permalink pattern using <a href="#template-variables">template variables</a>, Jekyll also provides the following built-in styles for convenience.</p>
486
-
487
- <div class="mobile-side-scroller">
488
- <table>
489
- <thead>
490
- <tr>
491
- <th>Permalink Style</th>
492
- <th>URL Template</th>
493
- </tr>
494
- </thead>
495
- <tbody>
496
- <tr>
497
- <td>
498
- <p><code>date</code></p>
499
- </td>
500
- <td>
501
- <p><code>/:categories/:year/:month/:day/:title.html</code></p>
502
- </td>
503
- </tr>
504
- <tr>
505
- <td>
506
- <p><code>pretty</code></p>
507
- </td>
508
- <td>
509
- <p><code>/:categories/:year/:month/:day/:title/</code></p>
510
- </td>
511
- </tr>
512
- <tr>
513
- <td>
514
- <p><code>ordinal</code></p>
515
- </td>
516
- <td>
517
- <p><code>/:categories/:year/:y_day/:title.html</code></p>
518
- </td>
519
- </tr>
520
- <tr>
521
- <td>
522
- <p><code>none</code></p>
523
- </td>
524
- <td>
525
- <p><code>/:categories/:title.html</code></p>
526
- </td>
527
- </tr>
528
- </tbody>
529
- </table>
530
- </div>
531
-
532
- <p>Rather than typing <code class="highlighter-rouge">permalink: /:categories/:year/:month/:day/:title/</code>, you can just type <code class="highlighter-rouge">permalink: pretty</code>.</p>
533
-
534
- <div class="note info">
535
- <h5>Specifying permalinks through the YAML Front Matter</h5>
536
- <p>Built-in permalink styles are not recognized in YAML Front Matter. As a result, <code>permalink: pretty</code> will not work.</p>
537
- </div>
538
-
539
- <h2 id="permalink-style-examples">Permalink style examples with posts</h2>
540
-
541
- <p>Here are a few examples to clarify how permalink styles get applied with posts.</p>
542
-
543
- <p>Given a post named: <code class="highlighter-rouge">/2009-04-29-slap-chop.md</code></p>
544
-
545
- <div class="mobile-side-scroller">
546
- <table>
547
- <thead>
548
- <tr>
549
- <th>URL Template</th>
550
- <th>Resulting Permalink URL</th>
551
- </tr>
552
- </thead>
553
- <tbody>
554
- <tr>
555
- <td>
556
- <p>None specified, or <code>permalink: date</code></p>
557
- </td>
558
- <td>
559
- <p><code>/2009/04/29/slap-chop.html</code></p>
560
- </td>
561
- </tr>
562
- <tr>
563
- <td>
564
- <p><code>pretty</code></p>
565
- </td>
566
- <td>
567
- <p><code>/2009/04/29/slap-chop/</code></p>
568
- </td>
569
- </tr>
570
- <tr>
571
- <td>
572
- <p><code>/:month-:day-:year/:title.html</code></p>
573
- </td>
574
- <td>
575
- <p><code>/04-29-2009/slap-chop.html</code></p>
576
- </td>
577
- </tr>
578
- <tr>
579
- <td>
580
- <p><code>/blog/:year/:month/:day/:title/</code></p>
581
- </td>
582
- <td>
583
- <p><code>/blog/2009/04/29/slap-chop/</code></p>
584
- </td>
585
- </tr>
586
- <tr>
587
- <td>
588
- <p><code>/:year/:month/:title</code></p>
589
- <p>See <a href="#extensionless-permalinks">Extensionless permalinks with no trailing slashes</a> for details.</p>
590
- </td>
591
- <td>
592
- <p><code>/2009/04/slap-chop</code></p>
593
- </td>
594
- </tr>
595
- </tbody>
596
- </table>
597
- </div>
598
-
599
- <h2 id="pages-and-collections">Permalink settings for pages and collections</h2>
600
-
601
- <p>The permalink setting in your configuration file specifies the permalink style used for posts, pages, and collections. However, because pages and collections don’t have time or categories, these aspects of the permalink style are ignored with pages and collections.</p>
602
-
603
- <p>For example:</p>
604
-
605
- <ul>
606
- <li>A permalink style of <code class="highlighter-rouge">/:categories/:year/:month/:day/:title.:output_ext</code> for posts becomes <code class="highlighter-rouge">/:title.html</code> for pages and collections.</li>
607
- <li>A permalink style of <code class="highlighter-rouge">pretty</code> (or <code class="highlighter-rouge">/:categories/:year/:month/:day/:title/</code>), which omits the file extension and contains a trailing slash, will update page and collection permalinks to also omit the file extension and contain a trailing slash: <code class="highlighter-rouge">/:title/</code>.</li>
608
- <li>A permalink style of <code class="highlighter-rouge">date</code>, which contains a trailing file extension, will update page permalinks to also contain a trailing file extension: <code class="highlighter-rouge">/:title.html</code>. But no time or category information will be included.</li>
609
- </ul>
610
-
611
- <h2 id="permalinks-and-default-paths">Permalinks and default paths</h2>
612
-
613
- <p>The path to the post or page in the built site differs for posts, pages, and collections:</p>
614
-
615
- <h3 id="posts">Posts</h3>
616
-
617
- <p>The subfolders into which you may have organized your posts inside the <code class="highlighter-rouge">_posts</code> directory will not be part of the permalink.</p>
618
-
619
- <p>If you use a permalink style that omits the <code class="highlighter-rouge">.html</code> file extension, each post is rendered as an <code class="highlighter-rouge">index.html</code> file inside a folder with the post’s name (for example, <code class="highlighter-rouge">categoryname/2016/12/01/mypostname/index.html</code>).</p>
620
-
621
- <h3 id="pages">Pages</h3>
622
-
623
- <p>Unlike posts, pages by default mimic the source directory structure exactly. (The only exception is if your page has a <code class="highlighter-rouge">permalink</code> declared its front matter — in that case, the structure honors the permalink setting instead of the source folder structure.)</p>
624
-
625
- <p>As with posts, if you use a permalink style that omits the <code class="highlighter-rouge">.html</code> file extension, each page is rendered as an <code class="highlighter-rouge">index.html</code> file inserted inside a folder with the page’s name (for example, <code class="highlighter-rouge">mypage/index.html</code>).</p>
626
-
627
- <h3 id="collections">Collections</h3>
628
-
629
- <p>By default, collections follow a similar structure in the <code class="highlighter-rouge">_site</code> folder as pages, except that the path is prefaced by the collection name. For example: <code class="highlighter-rouge">collectionname/mypage.html</code>. For permalink settings that omit the file extension, the path would be <code class="highlighter-rouge">collection_name/mypage/index.html</code>.</p>
630
-
631
- <p>Collections have their own way of setting permalinks. Additionally, collections have unique template variables available available (such as <code class="highlighter-rouge">path</code> and <code class="highlighter-rouge">output_ext</code>). See the <a href="../collections/#permalinks">Configuring permalinks for collections</a> in Collections for more information.</p>
632
-
633
- <h2 id="flattening-pages-in-_site-on-build">Flattening pages in _site on build</h2>
634
-
635
- <p>If you want to flatten your pages (pull them out of subfolders) in the <code class="highlighter-rouge">_site</code> directory when your site builds (similar to posts), add the <code class="highlighter-rouge">permalink</code> property to the front matter of each page, with no path specified:</p>
636
-
637
- <div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>---
638
- title: My page
639
- permalink: mypageurl.html
640
- ---
641
- </code></pre></div></div>
642
-
643
- <h2 id="extensionless-permalinks">Extensionless permalinks with no trailing slashes</h2>
644
-
645
- <p>Jekyll supports permalinks that contain neither a trailing slash nor a file extension, but this requires additional support from the web server to properly serve. When using these types of permalinks, output files written to disk will still have the proper file extension (typically <code class="highlighter-rouge">.html</code>), so the web server must be able to map requests without file extensions to these files.</p>
646
-
647
- <p>Both <a href="../github-pages/">GitHub Pages</a> and the Jekyll’s built-in WEBrick server handle these requests properly without any additional work.</p>
648
-
649
- <h3 id="apache">Apache</h3>
650
-
651
- <p>The Apache web server has extensive support for content negotiation and can handle extensionless URLs by setting the <a href="https://httpd.apache.org/docs/current/content-negotiation.html#multiviews">multiviews</a> option in your <code class="highlighter-rouge">httpd.conf</code> or <code class="highlighter-rouge">.htaccess</code> file:</p>
652
-
653
- <figure class="highlight"><pre><code class="language-apache" data-lang="apache"><span class="nc">Options</span> +MultiViews</code></pre></figure>
654
-
655
- <h3 id="nginx">Nginx</h3>
656
-
657
- <p>The <a href="http://nginx.org/en/docs/http/ngx_http_core_module.html#try_files">try_files</a> directive allows you to specify a list of files to search for to process a request. The following configuration will instruct nginx to search for a file with an <code class="highlighter-rouge">.html</code> extension if an exact match for the requested URI is not found.</p>
658
-
659
- <figure class="highlight"><pre><code class="language-nginx" data-lang="nginx"><span class="k">try_files</span> <span class="nv">$uri</span> <span class="nv">$uri</span><span class="s">.html</span> <span class="nv">$uri</span><span class="n">/</span> <span class="p">=</span><span class="mi">404</span><span class="p">;</span></code></pre></figure>
660
-
661
- <h2 id="linking-without-regard-to-permalink-styles">Linking without regard to permalink styles</h2>
662
-
663
- <p>You can create links in your topics to other posts, pages, or collection items in a way that is valid no matter what permalink configuration you choose. By using the <code class="highlighter-rouge">link</code> tag, if you change your permalinks, your links won’t break. See <a href="../templates#link">Linking to pages</a> in Templates for more details.</p>
664
-
665
-
666
-
667
-
668
-
669
-
670
-
671
-
672
-
673
-
674
-
675
-
676
-
677
-
678
-
679
-
680
-
681
-
682
-
683
-
684
-
685
-
686
-
687
-
688
-
689
-
690
-
691
-
692
-
693
-
694
-
695
-
696
-
697
-
698
-
699
-
700
-
701
-
702
-
703
-
704
-
705
-
706
-
707
-
708
-
709
-
710
-
711
-
712
-
713
-
714
-
715
-
716
-
717
-
718
-
719
-
720
-
721
-
722
-
723
-
724
-
725
-
726
-
727
-
728
-
729
-
730
- <div class="section-nav">
731
- <div class="left align-right">
732
-
733
-
734
-
735
- <a href="/docs/includes/" class="prev">Back</a>
736
-
737
- </div>
738
- <div class="right align-left">
739
-
740
-
741
-
742
- <a href="/docs/pagination/" class="next">Next</a>
743
-
744
- </div>
745
- </div>
746
- <div class="clear"></div>
747
-
748
- </article>
749
- </div>
750
-
751
- <div class="unit one-fifth hide-on-mobiles">
752
- <aside>
753
-
754
- <h4>Getting Started</h4>
755
- <ul>
756
-
757
-
758
-
759
- <li class=""><a href="/docs/home/">Welcome</a></li>
760
-
761
-
762
-
763
- <li class=""><a href="/docs/quickstart/">Quick-start guide</a></li>
764
-
765
-
766
-
767
- <li class=""><a href="/docs/installation/">Installation</a></li>
768
-
769
-
770
-
771
- <li class=""><a href="/docs/windows/">Jekyll on Windows</a></li>
772
-
773
-
774
-
775
- <li class=""><a href="/docs/usage/">Basic Usage</a></li>
776
-
777
-
778
-
779
- <li class=""><a href="/docs/structure/">Directory structure</a></li>
780
-
781
-
782
-
783
- <li class=""><a href="/docs/configuration/">Configuration</a></li>
784
-
785
- </ul>
786
-
787
-
788
- <h4>Your Content</h4>
789
- <ul>
790
-
791
-
792
-
793
- <li class=""><a href="/docs/frontmatter/">Front Matter</a></li>
794
-
795
-
796
-
797
- <li class=""><a href="/docs/posts/">Writing posts</a></li>
798
-
799
-
800
-
801
- <li class=""><a href="/docs/drafts/">Working with drafts</a></li>
802
-
803
-
804
-
805
- <li class=""><a href="/docs/pages/">Creating pages</a></li>
806
-
807
-
808
-
809
- <li class=""><a href="/docs/static-files/">Static Files</a></li>
810
-
811
-
812
-
813
- <li class=""><a href="/docs/variables/">Variables</a></li>
814
-
815
-
816
-
817
- <li class=""><a href="/docs/collections/">Collections</a></li>
818
-
819
-
820
-
821
- <li class=""><a href="/docs/datafiles/">Data Files</a></li>
822
-
823
-
824
-
825
- <li class=""><a href="/docs/assets/">Assets</a></li>
826
-
827
-
828
-
829
- <li class=""><a href="/docs/migrations/">Blog migrations</a></li>
830
-
831
- </ul>
832
-
833
-
834
- <h4>Customization</h4>
835
- <ul>
836
-
837
-
838
-
839
- <li class=""><a href="/docs/templates/">Templates</a></li>
840
-
841
-
842
-
843
- <li class=""><a href="/docs/includes/">Includes</a></li>
844
-
845
-
846
-
847
- <li class="current"><a href="/docs/permalinks/">Permalinks</a></li>
848
-
849
-
850
-
851
- <li class=""><a href="/docs/pagination/">Pagination</a></li>
852
-
853
-
854
-
855
- <li class=""><a href="/docs/plugins/">Plugins</a></li>
856
-
857
-
858
-
859
- <li class=""><a href="/docs/themes/">Themes</a></li>
860
-
861
-
862
-
863
- <li class=""><a href="/docs/extras/">Extras</a></li>
864
-
865
- </ul>
866
-
867
-
868
- <h4>Deployment</h4>
869
- <ul>
870
-
871
-
872
-
873
- <li class=""><a href="/docs/github-pages/">GitHub Pages</a></li>
874
-
875
-
876
-
877
- <li class=""><a href="/docs/deployment-methods/">Deployment methods</a></li>
878
-
879
-
880
-
881
- <li class=""><a href="/docs/continuous-integration/">Continuous Integration</a></li>
882
-
883
- </ul>
884
-
885
-
886
- <h4>Miscellaneous</h4>
887
- <ul>
888
-
889
-
890
-
891
- <li class=""><a href="/docs/troubleshooting/">Troubleshooting</a></li>
892
-
893
-
894
-
895
- <li class=""><a href="/docs/sites/">Sites using Jekyll</a></li>
896
-
897
-
898
-
899
- <li class=""><a href="/docs/resources/">Resources</a></li>
900
-
901
-
902
-
903
- <li class=""><a href="/docs/upgrading/0-to-2/">Upgrading from 0.x to 2.x</a></li>
904
-
905
-
906
-
907
- <li class=""><a href="/docs/upgrading/2-to-3/">Upgrading from 2.x to 3.x</a></li>
908
-
909
- </ul>
910
-
911
-
912
- <h4>Meta</h4>
913
- <ul>
914
-
915
-
916
-
917
- <li class=""><a href="/docs/contributing/">Contributing</a></li>
918
-
919
-
920
-
921
- <li class=""><a href="/docs/maintaining/">Maintaining Jekyll</a></li>
922
-
923
-
924
-
925
- <li class=""><a href="/docs/conduct/">Code of Conduct</a></li>
926
-
927
-
928
-
929
- <li class=""><a href="/docs/history/">History</a></li>
930
-
931
- </ul>
932
-
933
-
934
- </aside>
935
- </div>
936
-
937
-
938
- <div class="clear"></div>
939
-
940
- </div>
941
- </section>
942
-
943
-
944
- <footer>
945
- <div class="grid">
946
- <div class="unit one-third center-on-mobiles">
947
- <p>The contents of this website are <br>© 2017 under the terms of the <a href="https://github.com/jekyll/jekyll/blob/master/LICENSE">MIT License</a>.</p>
948
- </div>
949
- <div class="unit two-thirds align-right center-on-mobiles">
950
- <p>
951
- Proudly hosted by
952
- <a href="https://github.com">
953
- <img src="/img/footer-logo.png" width="100" height="30" alt="GitHub • Social coding">
954
- </a>
955
- </p>
956
- </div>
957
- </div>
958
- </footer>
959
-
960
- <script>
961
- var anchorForId = function (id) {
962
- var anchor = document.createElement("a");
963
- anchor.className = "header-link";
964
- anchor.href = "#" + id;
965
- anchor.innerHTML = "<span class=\"sr-only\">Permalink</span><i class=\"fa fa-link\"></i>";
966
- anchor.title = "Permalink";
967
- return anchor;
968
- };
969
-
970
- var linkifyAnchors = function (level, containingElement) {
971
- var headers = containingElement.getElementsByTagName("h" + level);
972
- for (var h = 0; h < headers.length; h++) {
973
- var header = headers[h];
974
-
975
- if (typeof header.id !== "undefined" && header.id !== "") {
976
- header.appendChild(anchorForId(header.id));
977
- }
978
- }
979
- };
980
-
981
- document.onreadystatechange = function () {
982
- if (this.readyState === "complete") {
983
- var contentBlock = document.getElementsByClassName("docs")[0] || document.getElementsByClassName("news")[0];
984
- if (!contentBlock) {
985
- return;
986
- }
987
- for (var level = 1; level <= 6; level++) {
988
- linkifyAnchors(level, contentBlock);
989
- }
990
- }
991
- };
992
- </script>
993
-
994
-
995
- <!-- Gauges (http://get.gaug.es/) -->
996
- <script>
997
- var _gauges = _gauges || [];
998
- (function() {
999
- var t = document.createElement('script');
1000
- t.type = 'text/javascript';
1001
- t.async = true;
1002
- t.id = 'gauges-tracker';
1003
- t.setAttribute('data-site-id', '503c5af6613f5d0f19000027');
1004
- t.src = '//secure.gaug.es/track.js';
1005
- var s = document.getElementsByTagName('script')[0];
1006
- s.parentNode.insertBefore(t, s);
1007
- })();
1008
- </script>
1009
-
1010
-
1011
-
1012
- <!-- Google Analytics (https://www.google.com/analytics) -->
1013
- <script>
1014
- !function(j,e,k,y,l,L){j.GoogleAnalyticsObject=y,j[y]||(j[y]=function(){
1015
- (j[y].q=j[y].q||[]).push(arguments)}),j[y].l=+new Date,l=e.createElement(k),
1016
- L=e.getElementsByTagName(k)[0],l.src='//www.google-analytics.com/analytics.js',
1017
- L.parentNode.insertBefore(l,L)}(window,document,'script','ga');
1018
-
1019
- ga('create', 'UA-50755011-1', 'jekyllrb.com');
1020
- ga('send', 'pageview');
1021
-
1022
- </script>
1023
-
1024
-
1025
-
1026
- </body>
1027
- </html>