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,935 +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>Themes | Jekyll • Simple, blog-aware, static sites</title>
15
- <meta property="og:title" content="Themes">
16
- <meta property="og:locale" content="en_US">
17
- <meta name="description" content="Jekyll has an extensive theme system that allows you to leverage community-maintained templates and styles to customize your site’s presentation. Jekyll themes package up layouts, includes, and stylesheets in a way that can be overridden by your site’s content.">
18
- <meta property="og:description" content="Jekyll has an extensive theme system that allows you to leverage community-maintained templates and styles to customize your site’s presentation. Jekyll themes package up layouts, includes, and stylesheets in a way that can be overridden by your site’s content.">
19
- <link rel="canonical" href="https://jekyllrb.com/docs/themes/">
20
- <meta property="og:url" content="https://jekyllrb.com/docs/themes/">
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":"Jekyll has an extensive theme system that allows you to leverage community-maintained templates and styles to customize your site’s presentation. Jekyll themes package up layouts, includes, and stylesheets in a way that can be overridden by your site’s content.","url":"https://jekyllrb.com/docs/themes/","headline":"Themes","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/themes/"},"@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/themes.md"><i class="fa fa-pencil"></i>  Improve this page</a>
288
- </div>
289
- <h1>Themes</h1>
290
- <p>Jekyll has an extensive theme system that allows you to leverage community-maintained templates and styles to customize your site’s presentation. Jekyll themes package up layouts, includes, and stylesheets in a way that can be overridden by your site’s content.</p>
291
-
292
- <h2 id="understanding-gem-based-themes">Understanding gem-based themes</h2>
293
-
294
- <p>When you <a href="/docs/quickstart">create a new Jekyll site</a> (by running the <code class="highlighter-rouge">jekyll new &lt;PATH&gt;</code> command), Jekyll installs a site that uses a gem-based theme called <a href="https://github.com/jekyll/minima">Minima</a>.</p>
295
-
296
- <p>With gem-based themes, some of the site’s directories (such as the <code class="highlighter-rouge">assets</code>, <code class="highlighter-rouge">_layouts</code>, <code class="highlighter-rouge">_includes</code>, and <code class="highlighter-rouge">_sass</code> directories) are stored in the theme’s gem, hidden from your immediate view. Yet all of the necessary directories will be read and processed during Jekyll’s build process.</p>
297
-
298
- <p>In the case of Minima, you see only the following files in your Jekyll site directory:</p>
299
-
300
- <div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>├── Gemfile
301
- ├── Gemfile.lock
302
- ├── _config.yml
303
- ├── _posts
304
- │ └── 2016-12-04-welcome-to-jekyll.markdown
305
- ├── about.md
306
- └── index.md
307
- </code></pre></div></div>
308
-
309
- <p>The <code class="highlighter-rouge">Gemfile</code> and <code class="highlighter-rouge">Gemfile.lock</code> files are used by Bundler to keep track of the required gems and gem versions you need to build your Jekyll site.</p>
310
-
311
- <p>Gem-based themes make it easy for theme developers to make updates available to anyone who has the theme gem. When there’s an update, theme developers push the update to RubyGems.</p>
312
-
313
- <p>If you have the theme gem, you can (if you desire) run <code class="highlighter-rouge">bundle update</code> to update all gems in your project. Or you can run <code class="highlighter-rouge">bundle update &lt;THEME&gt;</code>, replacing <code class="highlighter-rouge">&lt;THEME&gt;</code> with the theme name, such as <code class="highlighter-rouge">minima</code>, to just update the theme gem. Any new files or updates the theme developer has made (such as to stylesheets or includes) will be pulled into your project automatically.</p>
314
-
315
- <p>The goal of gem-based themes is to allow you to get all the benefits of a robust, continually updated theme without having all the theme’s files getting in your way and over-complicating what might be your primary focus: creating content.</p>
316
-
317
- <h2 id="overriding-theme-defaults">Overriding theme defaults</h2>
318
-
319
- <p>Jekyll themes set default layouts, includes, and stylesheets. However, you can override any of the theme defaults with your own site content.</p>
320
-
321
- <p>To replace layouts or includes in your theme, make a copy in your <code class="highlighter-rouge">_layouts</code> or <code class="highlighter-rouge">_includes</code> directory of the specific file you wish to modify, or create the file from scratch giving it the same name as the file you wish to override.</p>
322
-
323
- <p>For example, if your selected theme has a <code class="highlighter-rouge">page</code> layout, you can override the theme’s layout by creating your own <code class="highlighter-rouge">page</code> layout in the <code class="highlighter-rouge">_layouts</code> directory (that is, <code class="highlighter-rouge">_layouts/page.html</code>).</p>
324
-
325
- <p>To locate a theme’s files on your computer:</p>
326
-
327
- <ol>
328
- <li>
329
- <p>Run <code class="highlighter-rouge">bundle show</code> followed by the name of the theme’s gem, e.g., <code class="highlighter-rouge">bundle show minima</code> for Jekyll’s default theme.</p>
330
-
331
- <p>This returns the location of the gem-based theme files. For example, the Minima theme’s files might be located in <code class="highlighter-rouge">/usr/local/lib/ruby/gems/2.3.0/gems/minima-2.1.0</code> on macOS.</p>
332
- </li>
333
- <li>
334
- <p>Open the theme’s directory in Finder or Explorer:</p>
335
-
336
- <div class="language-shell highlighter-rouge">
337
- <div class="highlight"><pre class="highlight"><code><span class="c"># On MacOS</span>
338
- open <span class="k">$(</span>bundle show minima<span class="k">)</span>
339
- <span class="c"># On Windows</span>
340
- explorer /usr/local/lib/ruby/gems/2.3.0/gems/minima-2.1.0
341
- </code></pre></div> </div>
342
-
343
- <p>A Finder or Explorer window opens showing the theme’s files and directories. The Minima theme gem contains these files:</p>
344
-
345
- <div class="highlighter-rouge">
346
- <div class="highlight"><pre class="highlight"><code> ├── LICENSE.txt
347
- ├── README.md
348
- ├── _includes
349
- │   ├── disqus_comments.html
350
- │   ├── footer.html
351
- │   ├── google-analytics.html
352
- │   ├── head.html
353
- │   ├── header.html
354
- │   ├── icon-github.html
355
- │   ├── icon-github.svg
356
- │   ├── icon-twitter.html
357
- │   └── icon-twitter.svg
358
- ├── _layouts
359
- │   ├── default.html
360
- │   ├── home.html
361
- │   ├── page.html
362
- │   └── post.html
363
- ├── _sass
364
- │   ├── minima
365
- │   │   ├── _base.scss
366
- │   │   ├── _layout.scss
367
- │   │   └── _syntax-highlighting.scss
368
- │   └── minima.scss
369
- └── assets
370
- └── main.scss
371
- </code></pre></div> </div>
372
- </li>
373
- </ol>
374
-
375
- <p>With a clear understanding of the theme’s files, you can now override any theme file by creating a similarly named file in your Jekyll site directory.</p>
376
-
377
- <p>Let’s say, for a second example, you want to override Minima’s footer. In your Jekyll site, create an <code class="highlighter-rouge">_includes</code> folder and add a file in it called <code class="highlighter-rouge">footer.html</code>. Jekyll will now use your site’s <code class="highlighter-rouge">footer.html</code> file instead of the <code class="highlighter-rouge">footer.html</code> file from the Minima theme gem.</p>
378
-
379
- <p>To modify any stylesheet you must take the extra step of also copying the main sass file (<code class="highlighter-rouge">_sass/minima.scss</code> in the Minima theme) into the <code class="highlighter-rouge">_sass</code> directory in your site’s source.</p>
380
-
381
- <p>Jekyll will look first to your site’s content before looking to the theme’s defaults for any requested file in the following folders:</p>
382
-
383
- <ul>
384
- <li><code class="highlighter-rouge">/assets</code></li>
385
- <li><code class="highlighter-rouge">/_layouts</code></li>
386
- <li><code class="highlighter-rouge">/_includes</code></li>
387
- <li><code class="highlighter-rouge">/_sass</code></li>
388
- </ul>
389
-
390
- <p>Note that making copies of theme files will prevent you from receiving any theme updates on those files. An alternative, to continue getting theme updates on all stylesheets, is to use higher specificity CSS selectors in your own additional, originally named CSS files.</p>
391
-
392
- <p class="note info">Refer to your selected theme’s documentation and source repository for more information on what files you can override.</p>
393
-
394
- <h2 id="converting-gem-based-themes-to-regular-themes">Converting gem-based themes to regular themes</h2>
395
-
396
- <p>Suppose you want to get rid of the gem-based theme and convert it to a regular theme, where all files are present in your Jekyll site directory, with nothing stored in the theme gem.</p>
397
-
398
- <p>To do this, copy the files from the theme gem’s directory into your Jekyll site directory. (For example, copy them to <code class="highlighter-rouge">/myblog</code> if you created your Jekyll site at <code class="highlighter-rouge">/myblog</code>. See the previous section for details.)</p>
399
-
400
- <p>Then remove references to the theme gem in <code class="highlighter-rouge">Gemfile</code> and configuration. For example, to remove <code class="highlighter-rouge">minima</code>:</p>
401
-
402
- <ul>
403
- <li>Open <code class="highlighter-rouge">Gemfile</code> and remove <code class="highlighter-rouge">gem "minima", "~&gt; 2.0"</code>.</li>
404
- <li>Open <code class="highlighter-rouge">_config.yml</code> and remove <code class="highlighter-rouge">theme: minima</code>.</li>
405
- </ul>
406
-
407
- <p>Now <code class="highlighter-rouge">bundle update</code> will no longer get updates for the theme gem.</p>
408
-
409
- <h2 id="installing-a-theme">Installing a gem-based theme</h2>
410
-
411
- <p>The <code class="highlighter-rouge">jekyll new &lt;PATH&gt;</code> command isn’t the only way to create a new Jekyll site with a gem-based theme. You can also find gem-based themes online and incorporate them into your Jekyll project.</p>
412
-
413
- <p>For example, search for <a href="https://rubygems.org/search?utf8=%E2%9C%93&amp;query=jekyll-theme">jekyll theme on RubyGems</a> to find other gem-based themes. (Note that not all themes are using <code class="highlighter-rouge">jekyll-theme</code> as a convention in the theme name.)</p>
414
-
415
- <p>To install a gem-based theme:</p>
416
-
417
- <ol>
418
- <li>
419
- <p>Add the theme to your site’s <code class="highlighter-rouge">Gemfile</code>:</p>
420
-
421
- <div class="language-sh highlighter-rouge">
422
- <div class="highlight"><pre class="highlight"><code>gem <span class="s2">"jekyll-theme-awesome"</span>
423
- </code></pre></div> </div>
424
- </li>
425
- <li>
426
- <p>Install the theme:</p>
427
-
428
- <div class="language-sh highlighter-rouge">
429
- <div class="highlight"><pre class="highlight"><code>bundle install
430
- </code></pre></div> </div>
431
- </li>
432
- <li>
433
- <p>Add the following to your site’s <code class="highlighter-rouge">_config.yml</code> to activate the theme:</p>
434
-
435
- <div class="language-sh highlighter-rouge">
436
- <div class="highlight"><pre class="highlight"><code>theme: jekyll-theme-awesome
437
- </code></pre></div> </div>
438
- </li>
439
- <li>
440
- <p>Build your site:</p>
441
-
442
- <div class="language-sh highlighter-rouge">
443
- <div class="highlight"><pre class="highlight"><code>bundle <span class="nb">exec </span>jekyll serve
444
- </code></pre></div> </div>
445
- </li>
446
- </ol>
447
-
448
- <p class="note info">You can have multiple themes listed in your site’s <code class="highlighter-rouge">Gemfile</code>, but only one theme can be selected in your site’s <code class="highlighter-rouge">_config.yml</code>.</p>
449
-
450
- <p>If you’re publishing your Jekyll site on <a href="https://pages.github.com/">GitHub Pages</a>, note that GitHub Pages supports only some gem-based themes. See <a href="https://pages.github.com/themes/">Supported Themes</a> in GitHub’s documentation to see which themes are supported.</p>
451
-
452
- <h2 id="creating-a-gem-based-theme">Creating a gem-based theme</h2>
453
-
454
- <p>If you’re a Jekyll theme developer (rather than just a consumer of themes), you can package up your theme in RubyGems and allow users to install it through Bundler.</p>
455
-
456
- <p>If you’re unfamiliar with creating Ruby gems, don’t worry. Jekyll will help you scaffold a new theme with the <code class="highlighter-rouge">new-theme</code> command. Run <code class="highlighter-rouge">jekyll new-theme</code> with the theme name as an argument.</p>
457
-
458
- <p>Here is an example:</p>
459
-
460
- <div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code>jekyll new-theme jekyll-theme-awesome
461
- create /path/to/jekyll-theme-awesome/_layouts
462
- create /path/to/jekyll-theme-awesome/_includes
463
- create /path/to/jekyll-theme-awesome/_sass
464
- create /path/to/jekyll-theme-awesome/_layouts/page.html
465
- create /path/to/jekyll-theme-awesome/_layouts/post.html
466
- create /path/to/jekyll-theme-awesome/_layouts/default.html
467
- create /path/to/jekyll-theme-awesome/Gemfile
468
- create /path/to/jekyll-theme-awesome/jekyll-theme-awesome.gemspec
469
- create /path/to/jekyll-theme-awesome/README.md
470
- create /path/to/jekyll-theme-awesome/LICENSE.txt
471
- initialize /path/to/jekyll-theme-awesome/.git
472
- create /path/to/jekyll-theme-awesome/.gitignore
473
- Your new Jekyll theme, jekyll-theme-awesome, is ready <span class="k">for </span>you <span class="k">in</span> /path/to/jekyll-theme-awesome!
474
- For <span class="nb">help </span>getting started, <span class="nb">read</span> /path/to/jekyll-theme-awesome/README.md.
475
- </code></pre></div></div>
476
-
477
- <p>Add your template files in the corresponding folders. Then complete the <code class="highlighter-rouge">.gemspec</code> and the README files according to your needs.</p>
478
-
479
- <h3 id="layouts-and-includes">Layouts and includes</h3>
480
-
481
- <p>Theme layouts and includes work just like they work in any Jekyll site. Place layouts in your theme’s <code class="highlighter-rouge">/_layouts</code> folder, and place includes in your themes <code class="highlighter-rouge">/_includes</code> folder.</p>
482
-
483
- <p>For example, if your theme has a <code class="highlighter-rouge">/_layouts/page.html</code> file, and a page has <code class="highlighter-rouge">layout: page</code> in its YAML front matter, Jekyll will first look to the site’s <code class="highlighter-rouge">_layouts</code> folder for the <code class="highlighter-rouge">page</code> layout, and if none exists, will use your theme’s <code class="highlighter-rouge">page</code> layout.</p>
484
-
485
- <h3 id="assets">Assets</h3>
486
-
487
- <p>Any file in <code class="highlighter-rouge">/assets</code> will be copied over to the user’s site upon build unless they have a file with the same relative path. You can ship any kind of asset here: SCSS, an image, a webfont, etc. These files behave like pages and static files in Jekyll:</p>
488
-
489
- <ul>
490
- <li>If the file has <a href="/docs/frontmatter/">YAML front matter</a> at the top, it will be rendered.</li>
491
- <li>If the file does not have YAML front matter, it will simply be copied over into the resulting site.</li>
492
- </ul>
493
-
494
- <p>This allows theme creators to ship a default <code class="highlighter-rouge">/assets/styles.scss</code> file which their layouts can depend on as <code class="highlighter-rouge">/assets/styles.css</code>.</p>
495
-
496
- <p>All files in <code class="highlighter-rouge">/assets</code> will be output into the compiled site in the <code class="highlighter-rouge">/assets</code> folder just as you’d expect from using Jekyll on your sites.</p>
497
-
498
- <h3 id="stylesheets">Stylesheets</h3>
499
-
500
- <p>Your theme’s stylesheets should be placed in your theme’s <code class="highlighter-rouge">_sass</code> folder, again, just as you would when authoring a Jekyll site.</p>
501
-
502
- <div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>_sass
503
- ├── jekyll-theme-awesome.scss
504
- </code></pre></div></div>
505
-
506
- <p>Your theme’s styles can be included in the user’s stylesheet using the <code class="highlighter-rouge">@import</code> directive.</p>
507
-
508
- <div class="language-css highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">@import</span> <span class="s1">"{{ site.theme }}"</span><span class="p">;</span>
509
- </code></pre></div></div>
510
-
511
- <h3 id="theme-gem-dependencies">Theme-gem dependencies</h3>
512
-
513
- <p>From <code class="highlighter-rouge">v3.5</code>, Jekyll will automatically require all whitelisted <code class="highlighter-rouge">runtime_dependencies</code> of your theme-gem even if they’re not explicitly included under the <code class="highlighter-rouge">gems</code> array in the site’s config file. (NOTE: whitelisting is only required when building or serving with the <code class="highlighter-rouge">--safe</code> option.)</p>
514
-
515
- <p>With this, the end-user need not keep track of the plugins required to be included in their config file for their theme-gem to work as intended.</p>
516
-
517
- <h3 id="documenting-your-theme">Documenting your theme</h3>
518
-
519
- <p>Your theme should include a <code class="highlighter-rouge">/README.md</code> file, which explains how site authors can install and use your theme. What layouts are included? What includes? Do they need to add anything special to their site’s configuration file?</p>
520
-
521
- <h3 id="adding-a-screenshot">Adding a screenshot</h3>
522
-
523
- <p>Themes are visual. Show users what your theme looks like by including a screenshot as <code class="highlighter-rouge">/screenshot.png</code> within your theme’s repository where it can be retrieved programatically. You can also include this screenshot within your theme’s documentation.</p>
524
-
525
- <h3 id="previewing-your-theme">Previewing your theme</h3>
526
-
527
- <p>To preview your theme as you’re authoring it, it may be helpful to add dummy content in, for example, <code class="highlighter-rouge">/index.html</code> and <code class="highlighter-rouge">/page.html</code> files. This will allow you to use the <code class="highlighter-rouge">jekyll build</code> and <code class="highlighter-rouge">jekyll serve</code> commands to preview your theme, just as you’d preview a Jekyll site.</p>
528
-
529
- <p class="info note">If you do preview your theme locally, be sure to add <code class="highlighter-rouge">/_site</code> to your theme’s <code class="highlighter-rouge">.gitignore</code> file to prevent the compiled site from also being included when you distribute your theme.</p>
530
-
531
- <h3 id="publishing-your-theme">Publishing your theme</h3>
532
-
533
- <p>Themes are published via <a href="https://rubygems.org">RubyGems.org</a>. You will need a RubyGems account, which you can <a href="https://rubygems.org/sign_up">create for free</a>.</p>
534
-
535
- <ol>
536
- <li>
537
- <p>First, you need to have it in a git repository:</p>
538
-
539
- <div class="language-sh highlighter-rouge">
540
- <div class="highlight"><pre class="highlight"><code>git init <span class="c"># Only the first time</span>
541
- git add <span class="nt">-A</span>
542
- git commit <span class="nt">-m</span> <span class="s2">"Init commit"</span>
543
- </code></pre></div> </div>
544
- </li>
545
- <li>
546
- <p>Next, package your theme, by running the following command, replacing <code class="highlighter-rouge">jekyll-theme-awesome</code> with the name of your theme:</p>
547
-
548
- <div class="language-sh highlighter-rouge">
549
- <div class="highlight"><pre class="highlight"><code>gem build jekyll-theme-awesome.gemspec
550
- </code></pre></div> </div>
551
- </li>
552
- <li>
553
- <p>Finally, push your packaged theme up to the RubyGems service, by running the following command, again replacing <code class="highlighter-rouge">jekyll-theme-awesome</code> with the name of your theme:</p>
554
-
555
- <div class="language-sh highlighter-rouge">
556
- <div class="highlight"><pre class="highlight"><code>gem push jekyll-theme-awesome-<span class="k">*</span>.gem
557
- </code></pre></div> </div>
558
- </li>
559
- <li>
560
- <p>To release a new version of your theme, update the version number in the gemspec file, ( <code class="highlighter-rouge">jekyll-theme-awesome.gemspec</code> in this example ), and then repeat Steps 1 - 3 above. We recommend that you follow <a href="http://semver.org/">Semantic Versioning</a> while bumping your theme-version.</p>
561
- </li>
562
- </ol>
563
-
564
-
565
-
566
-
567
-
568
-
569
-
570
-
571
-
572
-
573
-
574
-
575
-
576
-
577
-
578
-
579
-
580
-
581
-
582
-
583
-
584
-
585
-
586
-
587
-
588
-
589
-
590
-
591
-
592
-
593
-
594
-
595
-
596
-
597
-
598
-
599
-
600
-
601
-
602
-
603
-
604
-
605
-
606
-
607
-
608
-
609
-
610
-
611
-
612
-
613
-
614
-
615
-
616
-
617
-
618
-
619
-
620
-
621
-
622
-
623
-
624
-
625
-
626
-
627
-
628
-
629
-
630
-
631
-
632
-
633
-
634
-
635
-
636
-
637
-
638
- <div class="section-nav">
639
- <div class="left align-right">
640
-
641
-
642
-
643
- <a href="/docs/plugins/" class="prev">Back</a>
644
-
645
- </div>
646
- <div class="right align-left">
647
-
648
-
649
-
650
- <a href="/docs/extras/" class="next">Next</a>
651
-
652
- </div>
653
- </div>
654
- <div class="clear"></div>
655
-
656
- </article>
657
- </div>
658
-
659
- <div class="unit one-fifth hide-on-mobiles">
660
- <aside>
661
-
662
- <h4>Getting Started</h4>
663
- <ul>
664
-
665
-
666
-
667
- <li class=""><a href="/docs/home/">Welcome</a></li>
668
-
669
-
670
-
671
- <li class=""><a href="/docs/quickstart/">Quick-start guide</a></li>
672
-
673
-
674
-
675
- <li class=""><a href="/docs/installation/">Installation</a></li>
676
-
677
-
678
-
679
- <li class=""><a href="/docs/windows/">Jekyll on Windows</a></li>
680
-
681
-
682
-
683
- <li class=""><a href="/docs/usage/">Basic Usage</a></li>
684
-
685
-
686
-
687
- <li class=""><a href="/docs/structure/">Directory structure</a></li>
688
-
689
-
690
-
691
- <li class=""><a href="/docs/configuration/">Configuration</a></li>
692
-
693
- </ul>
694
-
695
-
696
- <h4>Your Content</h4>
697
- <ul>
698
-
699
-
700
-
701
- <li class=""><a href="/docs/frontmatter/">Front Matter</a></li>
702
-
703
-
704
-
705
- <li class=""><a href="/docs/posts/">Writing posts</a></li>
706
-
707
-
708
-
709
- <li class=""><a href="/docs/drafts/">Working with drafts</a></li>
710
-
711
-
712
-
713
- <li class=""><a href="/docs/pages/">Creating pages</a></li>
714
-
715
-
716
-
717
- <li class=""><a href="/docs/static-files/">Static Files</a></li>
718
-
719
-
720
-
721
- <li class=""><a href="/docs/variables/">Variables</a></li>
722
-
723
-
724
-
725
- <li class=""><a href="/docs/collections/">Collections</a></li>
726
-
727
-
728
-
729
- <li class=""><a href="/docs/datafiles/">Data Files</a></li>
730
-
731
-
732
-
733
- <li class=""><a href="/docs/assets/">Assets</a></li>
734
-
735
-
736
-
737
- <li class=""><a href="/docs/migrations/">Blog migrations</a></li>
738
-
739
- </ul>
740
-
741
-
742
- <h4>Customization</h4>
743
- <ul>
744
-
745
-
746
-
747
- <li class=""><a href="/docs/templates/">Templates</a></li>
748
-
749
-
750
-
751
- <li class=""><a href="/docs/includes/">Includes</a></li>
752
-
753
-
754
-
755
- <li class=""><a href="/docs/permalinks/">Permalinks</a></li>
756
-
757
-
758
-
759
- <li class=""><a href="/docs/pagination/">Pagination</a></li>
760
-
761
-
762
-
763
- <li class=""><a href="/docs/plugins/">Plugins</a></li>
764
-
765
-
766
-
767
- <li class="current"><a href="/docs/themes/">Themes</a></li>
768
-
769
-
770
-
771
- <li class=""><a href="/docs/extras/">Extras</a></li>
772
-
773
- </ul>
774
-
775
-
776
- <h4>Deployment</h4>
777
- <ul>
778
-
779
-
780
-
781
- <li class=""><a href="/docs/github-pages/">GitHub Pages</a></li>
782
-
783
-
784
-
785
- <li class=""><a href="/docs/deployment-methods/">Deployment methods</a></li>
786
-
787
-
788
-
789
- <li class=""><a href="/docs/continuous-integration/">Continuous Integration</a></li>
790
-
791
- </ul>
792
-
793
-
794
- <h4>Miscellaneous</h4>
795
- <ul>
796
-
797
-
798
-
799
- <li class=""><a href="/docs/troubleshooting/">Troubleshooting</a></li>
800
-
801
-
802
-
803
- <li class=""><a href="/docs/sites/">Sites using Jekyll</a></li>
804
-
805
-
806
-
807
- <li class=""><a href="/docs/resources/">Resources</a></li>
808
-
809
-
810
-
811
- <li class=""><a href="/docs/upgrading/0-to-2/">Upgrading from 0.x to 2.x</a></li>
812
-
813
-
814
-
815
- <li class=""><a href="/docs/upgrading/2-to-3/">Upgrading from 2.x to 3.x</a></li>
816
-
817
- </ul>
818
-
819
-
820
- <h4>Meta</h4>
821
- <ul>
822
-
823
-
824
-
825
- <li class=""><a href="/docs/contributing/">Contributing</a></li>
826
-
827
-
828
-
829
- <li class=""><a href="/docs/maintaining/">Maintaining Jekyll</a></li>
830
-
831
-
832
-
833
- <li class=""><a href="/docs/conduct/">Code of Conduct</a></li>
834
-
835
-
836
-
837
- <li class=""><a href="/docs/history/">History</a></li>
838
-
839
- </ul>
840
-
841
-
842
- </aside>
843
- </div>
844
-
845
-
846
- <div class="clear"></div>
847
-
848
- </div>
849
- </section>
850
-
851
-
852
- <footer>
853
- <div class="grid">
854
- <div class="unit one-third center-on-mobiles">
855
- <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>
856
- </div>
857
- <div class="unit two-thirds align-right center-on-mobiles">
858
- <p>
859
- Proudly hosted by
860
- <a href="https://github.com">
861
- <img src="/img/footer-logo.png" width="100" height="30" alt="GitHub • Social coding">
862
- </a>
863
- </p>
864
- </div>
865
- </div>
866
- </footer>
867
-
868
- <script>
869
- var anchorForId = function (id) {
870
- var anchor = document.createElement("a");
871
- anchor.className = "header-link";
872
- anchor.href = "#" + id;
873
- anchor.innerHTML = "<span class=\"sr-only\">Permalink</span><i class=\"fa fa-link\"></i>";
874
- anchor.title = "Permalink";
875
- return anchor;
876
- };
877
-
878
- var linkifyAnchors = function (level, containingElement) {
879
- var headers = containingElement.getElementsByTagName("h" + level);
880
- for (var h = 0; h < headers.length; h++) {
881
- var header = headers[h];
882
-
883
- if (typeof header.id !== "undefined" && header.id !== "") {
884
- header.appendChild(anchorForId(header.id));
885
- }
886
- }
887
- };
888
-
889
- document.onreadystatechange = function () {
890
- if (this.readyState === "complete") {
891
- var contentBlock = document.getElementsByClassName("docs")[0] || document.getElementsByClassName("news")[0];
892
- if (!contentBlock) {
893
- return;
894
- }
895
- for (var level = 1; level <= 6; level++) {
896
- linkifyAnchors(level, contentBlock);
897
- }
898
- }
899
- };
900
- </script>
901
-
902
-
903
- <!-- Gauges (http://get.gaug.es/) -->
904
- <script>
905
- var _gauges = _gauges || [];
906
- (function() {
907
- var t = document.createElement('script');
908
- t.type = 'text/javascript';
909
- t.async = true;
910
- t.id = 'gauges-tracker';
911
- t.setAttribute('data-site-id', '503c5af6613f5d0f19000027');
912
- t.src = '//secure.gaug.es/track.js';
913
- var s = document.getElementsByTagName('script')[0];
914
- s.parentNode.insertBefore(t, s);
915
- })();
916
- </script>
917
-
918
-
919
-
920
- <!-- Google Analytics (https://www.google.com/analytics) -->
921
- <script>
922
- !function(j,e,k,y,l,L){j.GoogleAnalyticsObject=y,j[y]||(j[y]=function(){
923
- (j[y].q=j[y].q||[]).push(arguments)}),j[y].l=+new Date,l=e.createElement(k),
924
- L=e.getElementsByTagName(k)[0],l.src='//www.google-analytics.com/analytics.js',
925
- L.parentNode.insertBefore(l,L)}(window,document,'script','ga');
926
-
927
- ga('create', 'UA-50755011-1', 'jekyllrb.com');
928
- ga('send', 'pageview');
929
-
930
- </script>
931
-
932
-
933
-
934
- </body>
935
- </html>