jekyll-docs 3.6.0 → 3.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,1097 +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>Collections | Jekyll • Simple, blog-aware, static sites</title>
15
- <meta property="og:title" content="Collections">
16
- <meta property="og:locale" content="en_US">
17
- <meta name="description" content="Not everything is a post or a page. Maybe you want to document the various methods in your open source project, members of a team, or talks at a conference. Collections allow you to define a new type of document that behave like Pages or Posts do normally, but also have their own unique properties and namespace.">
18
- <meta property="og:description" content="Not everything is a post or a page. Maybe you want to document the various methods in your open source project, members of a team, or talks at a conference. Collections allow you to define a new type of document that behave like Pages or Posts do normally, but also have their own unique properties and namespace.">
19
- <link rel="canonical" href="https://jekyllrb.com/docs/collections/">
20
- <meta property="og:url" content="https://jekyllrb.com/docs/collections/">
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":"Not everything is a post or a page. Maybe you want to document the various methods in your open source project, members of a team, or talks at a conference. Collections allow you to define a new type of document that behave like Pages or Posts do normally, but also have their own unique properties and namespace.","url":"https://jekyllrb.com/docs/collections/","headline":"Collections","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/collections/"},"@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/collections.md"><i class="fa fa-pencil"></i>  Improve this page</a>
288
- </div>
289
- <h1>Collections</h1>
290
- <p>Not everything is a post or a page. Maybe you want to document the various
291
- methods in your open source project, members of a team, or talks at a
292
- conference. Collections allow you to define a new type of document that behave
293
- like Pages or Posts do normally, but also have their own unique properties and
294
- namespace.</p>
295
-
296
- <h2 id="using-collections">Using Collections</h2>
297
-
298
- <p>To start using collections, follow these 3 steps:</p>
299
-
300
- <ul>
301
- <li><a href="#step1">Step 1: Tell Jekyll to read in your collection</a></li>
302
- <li><a href="#step2">Step 2: Add your content</a></li>
303
- <li><a href="#step3">Step 3: Optionally render your collection’s documents into independent files</a></li>
304
- </ul>
305
-
306
- <h3 id="step1">Step 1: Tell Jekyll to read in your collection</h3>
307
-
308
- <p>Add the following to your site’s <code class="highlighter-rouge">_config.yml</code> file, replacing <code class="highlighter-rouge">my_collection</code>
309
- with the name of your collection:</p>
310
-
311
- <div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">collections</span><span class="pi">:</span>
312
- <span class="pi">-</span> <span class="s">my_collection</span>
313
- </code></pre></div></div>
314
-
315
- <p>You can optionally specify metadata for your collection in the configuration:</p>
316
-
317
- <div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">collections</span><span class="pi">:</span>
318
- <span class="na">my_collection</span><span class="pi">:</span>
319
- <span class="na">foo</span><span class="pi">:</span> <span class="s">bar</span>
320
- </code></pre></div></div>
321
-
322
- <p>Default attributes can also be set for a collection:</p>
323
-
324
- <div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">defaults</span><span class="pi">:</span>
325
- <span class="pi">-</span> <span class="na">scope</span><span class="pi">:</span>
326
- <span class="na">path</span><span class="pi">:</span> <span class="s2">"</span><span class="s">"</span>
327
- <span class="na">type</span><span class="pi">:</span> <span class="s">my_collection</span>
328
- <span class="na">values</span><span class="pi">:</span>
329
- <span class="na">layout</span><span class="pi">:</span> <span class="s">page</span>
330
- </code></pre></div></div>
331
-
332
- <h3 id="step2">Step 2: Add your content</h3>
333
-
334
- <p>Create a corresponding folder (e.g. <code class="highlighter-rouge">&lt;source&gt;/_my_collection</code>) and add
335
- documents. YAML front matter is processed if the front matter exists, and everything
336
- after the front matter is pushed into the document’s <code class="highlighter-rouge">content</code> attribute. If no YAML front
337
- matter is provided, Jekyll will not generate the file in your collection.</p>
338
-
339
- <div class="note info">
340
- <h5>Be sure to name your directories correctly</h5>
341
- <p>
342
- The folder must be named identically to the collection you defined in
343
- your <code>_config.yml</code> file, with the addition of the preceding <code>_</code> character.
344
- </p>
345
- </div>
346
-
347
- <h3 id="step3">Step 3: Optionally render your collection’s documents into independent files</h3>
348
-
349
- <p>If you’d like Jekyll to create a public-facing, rendered version of each
350
- document in your collection, set the <code class="highlighter-rouge">output</code> key to <code class="highlighter-rouge">true</code> in your collection
351
- metadata in your <code class="highlighter-rouge">_config.yml</code>:</p>
352
-
353
- <div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">collections</span><span class="pi">:</span>
354
- <span class="na">my_collection</span><span class="pi">:</span>
355
- <span class="na">output</span><span class="pi">:</span> <span class="no">true</span>
356
- </code></pre></div></div>
357
-
358
- <p>This will produce a file for each document in the collection.
359
- For example, if you have <code class="highlighter-rouge">_my_collection/some_subdir/some_doc.md</code>,
360
- it will be rendered using Liquid and the Markdown converter of your
361
- choice and written out to <code class="highlighter-rouge">&lt;dest&gt;/my_collection/some_subdir/some_doc.html</code>.</p>
362
-
363
- <div class="note info">
364
- <h5>Don't forget to add YAML for processing</h5>
365
- <p>
366
- Files in collections that do not have front matter are treated as
367
- <a href="/docs/static-files">static files</a> and simply copied to their
368
- output location without processing.
369
- </p>
370
- </div>
371
-
372
- <h2 id="permalinks">Configuring permalinks for collections</h2>
373
-
374
- <p>If you wish to specify a custom pattern for the URLs where your Collection pages
375
- will reside, you may do so with the <a href="../permalinks/"><code class="highlighter-rouge">permalink</code> property</a>:</p>
376
-
377
- <div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">collections</span><span class="pi">:</span>
378
- <span class="na">my_collection</span><span class="pi">:</span>
379
- <span class="na">output</span><span class="pi">:</span> <span class="no">true</span>
380
- <span class="na">permalink</span><span class="pi">:</span> <span class="s">/:collection/:name</span>
381
- </code></pre></div></div>
382
-
383
- <h3 id="examples">Examples</h3>
384
-
385
- <p>For a collection with the following source file structure,</p>
386
-
387
- <div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>_my_collection/
388
- └── some_subdir
389
- └── some_doc.md
390
- </code></pre></div></div>
391
-
392
- <p>each of the following <code class="highlighter-rouge">permalink</code> configurations will produce the document structure shown below it.</p>
393
-
394
- <ul>
395
- <li>
396
- <p><strong>Default</strong><br>
397
- Same as <code class="highlighter-rouge">permalink: /:collection/:path</code>.</p>
398
-
399
- <div class="highlighter-rouge">
400
- <div class="highlight"><pre class="highlight"><code>_site/
401
- ├── my_collection
402
- │   └── some_subdir
403
- │   └── some_doc.html
404
- ...
405
- </code></pre></div> </div>
406
- </li>
407
- <li>
408
- <p><code class="highlighter-rouge">permalink: pretty</code><br>
409
- Same as <code class="highlighter-rouge">permalink: /:collection/:path/</code>.</p>
410
-
411
- <div class="highlighter-rouge">
412
- <div class="highlight"><pre class="highlight"><code>_site/
413
- ├── my_collection
414
- │   └── some_subdir
415
- │   └── some_doc
416
- │   └── index.html
417
- ...
418
- </code></pre></div> </div>
419
- </li>
420
- <li>
421
- <p><code class="highlighter-rouge">permalink: /doc/:path</code></p>
422
-
423
- <div class="highlighter-rouge">
424
- <div class="highlight"><pre class="highlight"><code>_site/
425
- ├── doc
426
- │   └── some_subdir
427
- │   └── some_doc.html
428
- ...
429
- </code></pre></div> </div>
430
- </li>
431
- <li>
432
- <p><code class="highlighter-rouge">permalink: /doc/:name</code></p>
433
-
434
- <div class="highlighter-rouge">
435
- <div class="highlight"><pre class="highlight"><code>_site/
436
- ├── doc
437
- │   └── some_doc.html
438
- ...
439
- </code></pre></div> </div>
440
- </li>
441
- <li>
442
- <p><code class="highlighter-rouge">permalink: /:name</code></p>
443
-
444
- <div class="highlighter-rouge">
445
- <div class="highlight"><pre class="highlight"><code>_site/
446
- ├── some_doc.html
447
- ...
448
- </code></pre></div> </div>
449
- </li>
450
- </ul>
451
-
452
- <h3 id="template-variables">Template Variables</h3>
453
-
454
- <div class="mobile-side-scroller">
455
- <table>
456
- <thead>
457
- <tr>
458
- <th>Variable</th>
459
- <th>Description</th>
460
- </tr>
461
- </thead>
462
- <tbody>
463
- <tr>
464
- <td>
465
- <p><code>:collection</code></p>
466
- </td>
467
- <td>
468
- <p>Label of the containing collection.</p>
469
- </td>
470
- </tr>
471
- <tr>
472
- <td>
473
- <p><code>:path</code></p>
474
- </td>
475
- <td>
476
- <p>Path to the document relative to the collection's directory.</p>
477
- </td>
478
- </tr>
479
- <tr>
480
- <td>
481
- <p><code>:name</code></p>
482
- </td>
483
- <td>
484
- <p>The document's base filename, with every sequence of spaces
485
- and non-alphanumeric characters replaced by a hyphen.</p>
486
- </td>
487
- </tr>
488
- <tr>
489
- <td>
490
- <p><code>:title</code></p>
491
- </td>
492
- <td>
493
- <p>
494
- The <code>:title</code> template variable will take the
495
- <code>slug</code> <a href="/docs/frontmatter/">front matter</a>
496
- variable value if any is present in the document; if none is
497
- defined then <code>:title</code> will be equivalent to
498
- <code>:name</code>, aka the slug generated from the filename.
499
- </p>
500
- </td>
501
- </tr>
502
- <tr>
503
- <td>
504
- <p><code>:output_ext</code></p>
505
- </td>
506
- <td>
507
- <p>Extension of the output file. (Included by default and usually unnecessary.)</p>
508
- </td>
509
- </tr>
510
- </tbody>
511
- </table>
512
- </div>
513
-
514
- <h2 id="liquid-attributes">Liquid Attributes</h2>
515
-
516
- <h3 id="collections">Collections</h3>
517
-
518
- <p>Each collection is accessible as a field on the <code class="highlighter-rouge">site</code> variable. For example, if
519
- you want to access the <code class="highlighter-rouge">albums</code> collection found in <code class="highlighter-rouge">_albums</code>, you’d use
520
- <code class="highlighter-rouge">site.albums</code>.</p>
521
-
522
- <p>Each collection is itself an array of documents (e.g., <code class="highlighter-rouge">site.albums</code> is an array of documents, much like <code class="highlighter-rouge">site.pages</code> and
523
- <code class="highlighter-rouge">site.posts</code>). See the table below for how to access attributes of those documents.</p>
524
-
525
- <p>The collections are also available under <code class="highlighter-rouge">site.collections</code>, with the metadata
526
- you specified in your <code class="highlighter-rouge">_config.yml</code> (if present) and the following information:</p>
527
-
528
- <div class="mobile-side-scroller">
529
- <table>
530
- <thead>
531
- <tr>
532
- <th>Variable</th>
533
- <th>Description</th>
534
- </tr>
535
- </thead>
536
- <tbody>
537
- <tr>
538
- <td>
539
- <p><code>label</code></p>
540
- </td>
541
- <td>
542
- <p>
543
- The name of your collection, e.g. <code>my_collection</code>.
544
- </p>
545
- </td>
546
- </tr>
547
- <tr>
548
- <td>
549
- <p><code>docs</code></p>
550
- </td>
551
- <td>
552
- <p>
553
- An array of <a href="#documents">documents</a>.
554
- </p>
555
- </td>
556
- </tr>
557
- <tr>
558
- <td>
559
- <p><code>files</code></p>
560
- </td>
561
- <td>
562
- <p>
563
- An array of static files in the collection.
564
- </p>
565
- </td>
566
- </tr>
567
- <tr>
568
- <td>
569
- <p><code>relative_directory</code></p>
570
- </td>
571
- <td>
572
- <p>
573
- The path to the collection's source directory, relative to the site
574
- source.
575
- </p>
576
- </td>
577
- </tr>
578
- <tr>
579
- <td>
580
- <p><code>directory</code></p>
581
- </td>
582
- <td>
583
- <p>
584
- The full path to the collections's source directory.
585
- </p>
586
- </td>
587
- </tr>
588
- <tr>
589
- <td>
590
- <p><code>output</code></p>
591
- </td>
592
- <td>
593
- <p>
594
- Whether the collection's documents will be output as individual
595
- files.
596
- </p>
597
- </td>
598
- </tr>
599
- </tbody>
600
- </table>
601
- </div>
602
-
603
- <div class="note info">
604
- <h5>A Hard-Coded Collection</h5>
605
- <p>In addition to any collections you create yourself, the
606
- <code>posts</code> collection is hard-coded into Jekyll. It exists whether
607
- you have a <code>_posts</code> directory or not. This is something to note
608
- when iterating through <code>site.collections</code> as you may need to
609
- filter it out.</p>
610
- <p>You may wish to use filters to find your collection:
611
- <code>{{ site.collections | where: "label", "myCollection" | first }}</code></p>
612
- </div>
613
-
614
- <h3 id="documents">Documents</h3>
615
-
616
- <p>In addition to any YAML Front Matter provided in the document’s corresponding
617
- file, each document has the following attributes:</p>
618
-
619
- <div class="mobile-side-scroller">
620
- <table>
621
- <thead>
622
- <tr>
623
- <th>Variable</th>
624
- <th>Description</th>
625
- </tr>
626
- </thead>
627
- <tbody>
628
- <tr>
629
- <td>
630
- <p><code>content</code></p>
631
- </td>
632
- <td>
633
- <p>
634
- The (unrendered) content of the document. If no YAML Front Matter is
635
- provided, Jekyll will not generate the file in your collection. If
636
- YAML Front Matter is used, then this is all the contents of the file
637
- after the terminating
638
- `---` of the front matter.
639
- </p>
640
- </td>
641
- </tr>
642
- <tr>
643
- <td>
644
- <p><code>output</code></p>
645
- </td>
646
- <td>
647
- <p>
648
- The rendered output of the document, based on the
649
- <code>content</code>.
650
- </p>
651
- </td>
652
- </tr>
653
- <tr>
654
- <td>
655
- <p><code>path</code></p>
656
- </td>
657
- <td>
658
- <p>
659
- The full path to the document's source file.
660
- </p>
661
- </td>
662
- </tr>
663
- <tr>
664
- <td>
665
- <p><code>relative_path</code></p>
666
- </td>
667
- <td>
668
- <p>
669
- The path to the document's source file relative to the site source.
670
- </p>
671
- </td>
672
- </tr>
673
- <tr>
674
- <td>
675
- <p><code>url</code></p>
676
- </td>
677
- <td>
678
- <p>
679
- The URL of the rendered collection. The file is only written to the destination when the collection to which it belongs has <code>output: true</code> in the site's configuration.
680
- </p>
681
- </td>
682
- </tr>
683
- <tr>
684
- <td>
685
- <p><code>collection</code></p>
686
- </td>
687
- <td>
688
- <p>
689
- The name of the document's collection.
690
- </p>
691
- </td>
692
- </tr>
693
- <tr>
694
- <td>
695
- <p><code>date</code></p>
696
- </td>
697
- <td>
698
- <p>
699
- The date of the document's collection.
700
- </p>
701
- </td>
702
- </tr>
703
- </tbody>
704
- </table>
705
- </div>
706
-
707
- <h2 id="accessing-collection-attributes">Accessing Collection Attributes</h2>
708
-
709
- <p>Attributes from the YAML front matter can be accessed as data anywhere in the
710
- site. Using the above example for configuring a collection as <code class="highlighter-rouge">site.albums</code>,
711
- you might have front matter in an individual file structured as follows (which
712
- must use a supported markup format, and cannot be saved with a <code class="highlighter-rouge">.yaml</code>
713
- extension):</p>
714
-
715
- <div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">title</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Josquin:</span><span class="nv"> </span><span class="s">Missa</span><span class="nv"> </span><span class="s">De</span><span class="nv"> </span><span class="s">beata</span><span class="nv"> </span><span class="s">virgine</span><span class="nv"> </span><span class="s">and</span><span class="nv"> </span><span class="s">Missa</span><span class="nv"> </span><span class="s">Ave</span><span class="nv"> </span><span class="s">maris</span><span class="nv"> </span><span class="s">stella"</span>
716
- <span class="na">artist</span><span class="pi">:</span> <span class="s2">"</span><span class="s">The</span><span class="nv"> </span><span class="s">Tallis</span><span class="nv"> </span><span class="s">Scholars"</span>
717
- <span class="na">director</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Peter</span><span class="nv"> </span><span class="s">Phillips"</span>
718
- <span class="na">works</span><span class="pi">:</span>
719
- <span class="pi">-</span> <span class="na">title</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Missa</span><span class="nv"> </span><span class="s">De</span><span class="nv"> </span><span class="s">beata</span><span class="nv"> </span><span class="s">virgine"</span>
720
- <span class="na">composer</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Josquin</span><span class="nv"> </span><span class="s">des</span><span class="nv"> </span><span class="s">Prez"</span>
721
- <span class="na">tracks</span><span class="pi">:</span>
722
- <span class="pi">-</span> <span class="na">title</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Kyrie"</span>
723
- <span class="na">duration</span><span class="pi">:</span> <span class="s2">"</span><span class="s">4:25"</span>
724
- <span class="pi">-</span> <span class="na">title</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Gloria"</span>
725
- <span class="na">duration</span><span class="pi">:</span> <span class="s2">"</span><span class="s">9:53"</span>
726
- <span class="pi">-</span> <span class="na">title</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Credo"</span>
727
- <span class="na">duration</span><span class="pi">:</span> <span class="s2">"</span><span class="s">9:09"</span>
728
- <span class="pi">-</span> <span class="na">title</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Sanctus</span><span class="nv"> </span><span class="s">&amp;</span><span class="nv"> </span><span class="s">Benedictus"</span>
729
- <span class="na">duration</span><span class="pi">:</span> <span class="s2">"</span><span class="s">7:47"</span>
730
- <span class="pi">-</span> <span class="na">title</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Agnus</span><span class="nv"> </span><span class="s">Dei</span><span class="nv"> </span><span class="s">I,</span><span class="nv"> </span><span class="s">II</span><span class="nv"> </span><span class="s">&amp;</span><span class="nv"> </span><span class="s">III"</span>
731
- <span class="na">duration</span><span class="pi">:</span> <span class="s2">"</span><span class="s">6:49"</span>
732
- </code></pre></div></div>
733
-
734
- <p>Every album in the collection could be listed on a single page with a template:</p>
735
-
736
- <div class="language-html highlighter-rouge"><div class="highlight"><pre class="highlight"><code>
737
- {% for album in site.albums %}
738
- <span class="nt">&lt;h2&gt;</span>{{ album.title }}<span class="nt">&lt;/h2&gt;</span>
739
- <span class="nt">&lt;p&gt;</span>Performed by {{ album.artist }}{% if album.director %}, directed by {{ album.director }}{% endif %}<span class="nt">&lt;/p&gt;</span>
740
- {% for work in album.works %}
741
- <span class="nt">&lt;h3&gt;</span>{{ work.title }}<span class="nt">&lt;/h3&gt;</span>
742
- <span class="nt">&lt;p&gt;</span>Composed by {{ work.composer }}<span class="nt">&lt;/p&gt;</span>
743
- <span class="nt">&lt;ul&gt;</span>
744
- {% for track in work.tracks %}
745
- <span class="nt">&lt;li&gt;</span>{{ track.title }} ({{ track.duration }})<span class="nt">&lt;/li&gt;</span>
746
- {% endfor %}
747
- <span class="nt">&lt;/ul&gt;</span>
748
- {% endfor %}
749
- {% endfor %}
750
-
751
- </code></pre></div></div>
752
-
753
-
754
-
755
-
756
-
757
-
758
-
759
-
760
-
761
-
762
-
763
-
764
-
765
-
766
-
767
-
768
-
769
-
770
-
771
-
772
-
773
-
774
-
775
-
776
-
777
-
778
-
779
-
780
-
781
-
782
-
783
-
784
-
785
-
786
-
787
-
788
-
789
-
790
-
791
-
792
-
793
-
794
-
795
-
796
-
797
-
798
-
799
-
800
- <div class="section-nav">
801
- <div class="left align-right">
802
-
803
-
804
-
805
- <a href="/docs/variables/" class="prev">Back</a>
806
-
807
- </div>
808
- <div class="right align-left">
809
-
810
-
811
-
812
- <a href="/docs/datafiles/" class="next">Next</a>
813
-
814
- </div>
815
- </div>
816
- <div class="clear"></div>
817
-
818
- </article>
819
- </div>
820
-
821
- <div class="unit one-fifth hide-on-mobiles">
822
- <aside>
823
-
824
- <h4>Getting Started</h4>
825
- <ul>
826
-
827
-
828
-
829
- <li class=""><a href="/docs/home/">Welcome</a></li>
830
-
831
-
832
-
833
- <li class=""><a href="/docs/quickstart/">Quick-start guide</a></li>
834
-
835
-
836
-
837
- <li class=""><a href="/docs/installation/">Installation</a></li>
838
-
839
-
840
-
841
- <li class=""><a href="/docs/windows/">Jekyll on Windows</a></li>
842
-
843
-
844
-
845
- <li class=""><a href="/docs/usage/">Basic Usage</a></li>
846
-
847
-
848
-
849
- <li class=""><a href="/docs/structure/">Directory structure</a></li>
850
-
851
-
852
-
853
- <li class=""><a href="/docs/configuration/">Configuration</a></li>
854
-
855
- </ul>
856
-
857
-
858
- <h4>Your Content</h4>
859
- <ul>
860
-
861
-
862
-
863
- <li class=""><a href="/docs/frontmatter/">Front Matter</a></li>
864
-
865
-
866
-
867
- <li class=""><a href="/docs/posts/">Writing posts</a></li>
868
-
869
-
870
-
871
- <li class=""><a href="/docs/drafts/">Working with drafts</a></li>
872
-
873
-
874
-
875
- <li class=""><a href="/docs/pages/">Creating pages</a></li>
876
-
877
-
878
-
879
- <li class=""><a href="/docs/static-files/">Static Files</a></li>
880
-
881
-
882
-
883
- <li class=""><a href="/docs/variables/">Variables</a></li>
884
-
885
-
886
-
887
- <li class="current"><a href="/docs/collections/">Collections</a></li>
888
-
889
-
890
-
891
- <li class=""><a href="/docs/datafiles/">Data Files</a></li>
892
-
893
-
894
-
895
- <li class=""><a href="/docs/assets/">Assets</a></li>
896
-
897
-
898
-
899
- <li class=""><a href="/docs/migrations/">Blog migrations</a></li>
900
-
901
- </ul>
902
-
903
-
904
- <h4>Customization</h4>
905
- <ul>
906
-
907
-
908
-
909
- <li class=""><a href="/docs/templates/">Templates</a></li>
910
-
911
-
912
-
913
- <li class=""><a href="/docs/includes/">Includes</a></li>
914
-
915
-
916
-
917
- <li class=""><a href="/docs/permalinks/">Permalinks</a></li>
918
-
919
-
920
-
921
- <li class=""><a href="/docs/pagination/">Pagination</a></li>
922
-
923
-
924
-
925
- <li class=""><a href="/docs/plugins/">Plugins</a></li>
926
-
927
-
928
-
929
- <li class=""><a href="/docs/themes/">Themes</a></li>
930
-
931
-
932
-
933
- <li class=""><a href="/docs/extras/">Extras</a></li>
934
-
935
- </ul>
936
-
937
-
938
- <h4>Deployment</h4>
939
- <ul>
940
-
941
-
942
-
943
- <li class=""><a href="/docs/github-pages/">GitHub Pages</a></li>
944
-
945
-
946
-
947
- <li class=""><a href="/docs/deployment-methods/">Deployment methods</a></li>
948
-
949
-
950
-
951
- <li class=""><a href="/docs/continuous-integration/">Continuous Integration</a></li>
952
-
953
- </ul>
954
-
955
-
956
- <h4>Miscellaneous</h4>
957
- <ul>
958
-
959
-
960
-
961
- <li class=""><a href="/docs/troubleshooting/">Troubleshooting</a></li>
962
-
963
-
964
-
965
- <li class=""><a href="/docs/sites/">Sites using Jekyll</a></li>
966
-
967
-
968
-
969
- <li class=""><a href="/docs/resources/">Resources</a></li>
970
-
971
-
972
-
973
- <li class=""><a href="/docs/upgrading/0-to-2/">Upgrading from 0.x to 2.x</a></li>
974
-
975
-
976
-
977
- <li class=""><a href="/docs/upgrading/2-to-3/">Upgrading from 2.x to 3.x</a></li>
978
-
979
- </ul>
980
-
981
-
982
- <h4>Meta</h4>
983
- <ul>
984
-
985
-
986
-
987
- <li class=""><a href="/docs/contributing/">Contributing</a></li>
988
-
989
-
990
-
991
- <li class=""><a href="/docs/maintaining/">Maintaining Jekyll</a></li>
992
-
993
-
994
-
995
- <li class=""><a href="/docs/conduct/">Code of Conduct</a></li>
996
-
997
-
998
-
999
- <li class=""><a href="/docs/history/">History</a></li>
1000
-
1001
- </ul>
1002
-
1003
-
1004
- </aside>
1005
- </div>
1006
-
1007
-
1008
- <div class="clear"></div>
1009
-
1010
- </div>
1011
- </section>
1012
-
1013
-
1014
- <footer>
1015
- <div class="grid">
1016
- <div class="unit one-third center-on-mobiles">
1017
- <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>
1018
- </div>
1019
- <div class="unit two-thirds align-right center-on-mobiles">
1020
- <p>
1021
- Proudly hosted by
1022
- <a href="https://github.com">
1023
- <img src="/img/footer-logo.png" width="100" height="30" alt="GitHub • Social coding">
1024
- </a>
1025
- </p>
1026
- </div>
1027
- </div>
1028
- </footer>
1029
-
1030
- <script>
1031
- var anchorForId = function (id) {
1032
- var anchor = document.createElement("a");
1033
- anchor.className = "header-link";
1034
- anchor.href = "#" + id;
1035
- anchor.innerHTML = "<span class=\"sr-only\">Permalink</span><i class=\"fa fa-link\"></i>";
1036
- anchor.title = "Permalink";
1037
- return anchor;
1038
- };
1039
-
1040
- var linkifyAnchors = function (level, containingElement) {
1041
- var headers = containingElement.getElementsByTagName("h" + level);
1042
- for (var h = 0; h < headers.length; h++) {
1043
- var header = headers[h];
1044
-
1045
- if (typeof header.id !== "undefined" && header.id !== "") {
1046
- header.appendChild(anchorForId(header.id));
1047
- }
1048
- }
1049
- };
1050
-
1051
- document.onreadystatechange = function () {
1052
- if (this.readyState === "complete") {
1053
- var contentBlock = document.getElementsByClassName("docs")[0] || document.getElementsByClassName("news")[0];
1054
- if (!contentBlock) {
1055
- return;
1056
- }
1057
- for (var level = 1; level <= 6; level++) {
1058
- linkifyAnchors(level, contentBlock);
1059
- }
1060
- }
1061
- };
1062
- </script>
1063
-
1064
-
1065
- <!-- Gauges (http://get.gaug.es/) -->
1066
- <script>
1067
- var _gauges = _gauges || [];
1068
- (function() {
1069
- var t = document.createElement('script');
1070
- t.type = 'text/javascript';
1071
- t.async = true;
1072
- t.id = 'gauges-tracker';
1073
- t.setAttribute('data-site-id', '503c5af6613f5d0f19000027');
1074
- t.src = '//secure.gaug.es/track.js';
1075
- var s = document.getElementsByTagName('script')[0];
1076
- s.parentNode.insertBefore(t, s);
1077
- })();
1078
- </script>
1079
-
1080
-
1081
-
1082
- <!-- Google Analytics (https://www.google.com/analytics) -->
1083
- <script>
1084
- !function(j,e,k,y,l,L){j.GoogleAnalyticsObject=y,j[y]||(j[y]=function(){
1085
- (j[y].q=j[y].q||[]).push(arguments)}),j[y].l=+new Date,l=e.createElement(k),
1086
- L=e.getElementsByTagName(k)[0],l.src='//www.google-analytics.com/analytics.js',
1087
- L.parentNode.insertBefore(l,L)}(window,document,'script','ga');
1088
-
1089
- ga('create', 'UA-50755011-1', 'jekyllrb.com');
1090
- ga('send', 'pageview');
1091
-
1092
- </script>
1093
-
1094
-
1095
-
1096
- </body>
1097
- </html>