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,875 +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>Deployment methods | Jekyll • Simple, blog-aware, static sites</title>
15
- <meta property="og:title" content="Deployment methods">
16
- <meta property="og:locale" content="en_US">
17
- <meta name="description" content="Sites built using Jekyll can be deployed in a large number of ways due to the static nature of the generated output. A few of the most common deployment techniques are described below.">
18
- <meta property="og:description" content="Sites built using Jekyll can be deployed in a large number of ways due to the static nature of the generated output. A few of the most common deployment techniques are described below.">
19
- <link rel="canonical" href="https://jekyllrb.com/docs/deployment-methods/">
20
- <meta property="og:url" content="https://jekyllrb.com/docs/deployment-methods/">
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":"Sites built using Jekyll can be deployed in a large number of ways due to the static nature of the generated output. A few of the most common deployment techniques are described below.","url":"https://jekyllrb.com/docs/deployment-methods/","headline":"Deployment methods","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/deployment-methods/"},"@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/deployment-methods.md"><i class="fa fa-pencil"></i>  Improve this page</a>
288
- </div>
289
- <h1>Deployment methods</h1>
290
- <p>Sites built using Jekyll can be deployed in a large number of ways due to the static nature of the generated output. A few of the most common deployment techniques are described below.</p>
291
-
292
- <div class="note">
293
- <h5>ProTip™: Use GitHub Pages for zero-hassle Jekyll hosting</h5>
294
- <p>GitHub Pages are powered by Jekyll behind the scenes, so if you’re looking for a zero-hassle, zero-cost solution, GitHub Pages are a great way to <a href="../github-pages/">host your Jekyll-powered website for free</a>.</p>
295
- </div>
296
-
297
- <h2 id="netlify">Netlify</h2>
298
-
299
- <p>Netlify provides Global CDN, Continuous Deployment, one click HTTPS and <a href="https://www.netlify.com/features/">much more</a>, providing developers the most robust toolset available for modern web projects, without added complexity. Netlify supports custom plugins for Jekyll and has a free plan for open source projects.</p>
300
-
301
- <p>Read this <a href="https://www.netlify.com/blog/2015/10/28/a-step-by-step-guide-jekyll-3.0-on-netlify/">Jekyll step-by-step guide</a> to setup your Jekyll site on Netlify.</p>
302
-
303
- <h2 id="aerobatic">Aerobatic</h2>
304
-
305
- <p><a href="https://www.aerobatic.com">Aerobatic</a> has custom domains, global CDN distribution, basic auth, CORS proxying, and a growing list of plugins all included.</p>
306
-
307
- <p>Automating the deployment of a Jekyll site is simple. See our <a href="https://www.aerobatic.com/docs/static-site-generators/#jekyll">Jekyll docs</a> for more details. Your built <code class="highlighter-rouge">_site</code> folder is deployed to our highly-available, globally distributed hosting service.</p>
308
-
309
- <h2 id="kickster">Kickster</h2>
310
-
311
- <p>Use <a href="http://kickster.nielsenramon.com/">Kickster</a> for easy (automated) deploys to GitHub Pages when using unsupported plugins on GitHub Pages.</p>
312
-
313
- <p>Kickster provides a basic Jekyll project setup packed with web best practises and useful optimization tools increasing your overall project quality. Kickster ships with automated and worry-free deployment scripts for GitHub Pages.</p>
314
-
315
- <p>Setting up Kickster is very easy, just install the gem and you are good to go. More documentation can here found <a href="https://github.com/nielsenramon/kickster#kickster">here</a>. If you do not want to use the gem or start a new project you can just copy paste the deployment scripts for <a href="https://github.com/nielsenramon/kickster/tree/master/snippets/travis">Travis CI</a> or <a href="https://github.com/nielsenramon/kickster#automated-deployment-with-circle-ci">Circle CI</a>.</p>
316
-
317
- <h2 id="web-hosting-providers-ftp">Web hosting providers (FTP)</h2>
318
-
319
- <p>Just about any traditional web hosting provider will let you upload files to their servers over FTP. To upload a Jekyll site to a web host using FTP, simply run the <code class="highlighter-rouge">jekyll build</code> command and copy the contents of the generated <code class="highlighter-rouge">_site</code> folder to the root folder of your hosting account. This is most likely to be the <code class="highlighter-rouge">httpdocs</code> or <code class="highlighter-rouge">public_html</code> folder on most hosting providers.</p>
320
-
321
- <h2 id="self-managed-web-server">Self-managed web server</h2>
322
-
323
- <p>If you have direct access to the deployment web server, the process is essentially the same, except you might have other methods available to you (such as <code class="highlighter-rouge">scp</code>, or even direct filesystem access) for transferring the files. Just remember to make sure the contents of the generated <code class="highlighter-rouge">_site</code> folder get placed in the appropriate web root directory for your web server.</p>
324
-
325
- <h2 id="automated-methods">Automated methods</h2>
326
-
327
- <p>There are also a number of ways to easily automate the deployment of a Jekyll site. If you’ve got another method that isn’t listed below, we’d love it if you <a href="../contributing/">contributed</a> so that everyone else can benefit too.</p>
328
-
329
- <h3 id="git-post-update-hook">Git post-update hook</h3>
330
-
331
- <p>If you store your Jekyll site in <a href="https://git-scm.com/">Git</a> (you are using
332
- version control, right?), it’s pretty easy to automate the
333
- deployment process by setting up a post-update hook in your Git
334
- repository, <a href="http://web.archive.org/web/20091223025644/http://www.taknado.com/en/2009/03/26/deploying-a-jekyll-generated-site/">like
335
- this</a>.</p>
336
-
337
- <h3 id="git-post-receive-hook">Git post-receive hook</h3>
338
-
339
- <p>To have a remote server handle the deploy for you every time you push changes using Git, you can create a user account which has all the public keys that are authorized to deploy in its <code class="highlighter-rouge">authorized_keys</code> file. With that in place, setting up the post-receive hook is done as follows:</p>
340
-
341
- <div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code>laptop<span class="nv">$ </span>ssh deployer@example.com
342
- server<span class="nv">$ </span>mkdir myrepo.git
343
- server<span class="nv">$ </span><span class="nb">cd </span>myrepo.git
344
- server<span class="nv">$ </span>git <span class="nt">--bare</span> init
345
- server<span class="nv">$ </span>cp hooks/post-receive.sample hooks/post-receive
346
- server<span class="nv">$ </span>mkdir /var/www/myrepo
347
- </code></pre></div></div>
348
-
349
- <p>Next, add the following lines to hooks/post-receive and be sure Jekyll is
350
- installed on the server:</p>
351
-
352
- <div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">GIT_REPO</span><span class="o">=</span><span class="nv">$HOME</span>/myrepo.git
353
- <span class="nv">TMP_GIT_CLONE</span><span class="o">=</span><span class="nv">$HOME</span>/tmp/myrepo
354
- <span class="nv">PUBLIC_WWW</span><span class="o">=</span>/var/www/myrepo
355
-
356
- git clone <span class="nv">$GIT_REPO</span> <span class="nv">$TMP_GIT_CLONE</span>
357
- bundle <span class="nb">exec </span>jekyll build <span class="nt">-s</span> <span class="nv">$TMP_GIT_CLONE</span> <span class="nt">-d</span> <span class="nv">$PUBLIC_WWW</span>
358
- rm <span class="nt">-Rf</span> <span class="nv">$TMP_GIT_CLONE</span>
359
- <span class="nb">exit</span>
360
- </code></pre></div></div>
361
-
362
- <p>Finally, run the following command on any users laptop that needs to be able to
363
- deploy using this hook:</p>
364
-
365
- <div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code>laptops<span class="nv">$ </span>git remote add deploy deployer@example.com:~/myrepo.git
366
- </code></pre></div></div>
367
-
368
- <p>Deploying is now as easy as telling nginx or Apache to look at
369
- <code class="highlighter-rouge">/var/www/myrepo</code> and running the following:</p>
370
-
371
- <div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code>laptops<span class="nv">$ </span>git push deploy master
372
- </code></pre></div></div>
373
-
374
- <h3 id="static-publisher">Static Publisher</h3>
375
-
376
- <p><a href="https://github.com/static-publisher/static-publisher">Static Publisher</a> is another automated deployment option with a server listening for webhook posts, though it’s not tied to GitHub specifically. It has a one-click deploy to Heroku, it can watch multiple projects from one server, it has an easy to user admin interface and can publish to either S3 or to a git repository (e.g. gh-pages).</p>
377
-
378
- <h3 id="rake">Rake</h3>
379
-
380
- <p>Another way to deploy your Jekyll site is to use <a href="https://github.com/ruby/rake">Rake</a>, <a href="https://github.com/JEG2/highline">HighLine</a>, and
381
- <a href="https://github.com/net-ssh/net-ssh">Net::SSH</a>. A more complex example of deploying Jekyll with Rake that deals with multiple branches can be found in <a href="https://github.com/gitready/gitready/blob/cdfbc4ec5321ff8d18c3ce936e9c749dbbc4f190/Rakefile">Git Ready</a>.</p>
382
-
383
- <h3 id="scp">scp</h3>
384
-
385
- <p>Once you’ve generated the <code class="highlighter-rouge">_site</code> directory, you can easily scp its content using a
386
- <code class="highlighter-rouge">tasks/deploy</code> shell script similar to <a href="https://github.com/henrik/henrik.nyh.se/blob/master/script/deploy">this deploy script</a>. You’d obviously
387
- need to change the values to reflect your site’s details. There is even <a href="https://gist.github.com/henrik/214959">a
388
- matching TextMate command</a> that will help you run this script.</p>
389
-
390
- <h3 id="rsync">rsync</h3>
391
-
392
- <p>Once you’ve generated the <code class="highlighter-rouge">_site</code> directory, you can easily rsync its content using a <code class="highlighter-rouge">tasks/deploy</code> shell script similar to <a href="https://github.com/vitalyrepin/vrepinblog/blob/master/transfer.sh">this deploy script here</a>. You’d obviously need to change the values to reflect your site’s details.</p>
393
-
394
- <p>Certificate-based authorization is another way to simplify the publishing
395
- process. It makes sense to restrict rsync access only to the directory which it is supposed to sync. This can be done using rrsync.</p>
396
-
397
- <h4 id="step-1-install-rrsync-to-your-home-folder-server-side">Step 1: Install rrsync to your home folder (server-side)</h4>
398
-
399
- <p>If it is not already installed by your host, you can do it yourself:</p>
400
-
401
- <ul>
402
- <li><a href="https://ftp.samba.org/pub/unpacked/rsync/support/rrsync">Download rrsync</a></li>
403
- <li>Place it in the <code class="highlighter-rouge">bin</code> subdirectory of your home folder (<code class="highlighter-rouge">~/bin</code>)</li>
404
- <li>Make it executable (<code class="highlighter-rouge">chmod +x</code>)</li>
405
- </ul>
406
-
407
- <h4 id="step-2-set-up-certificate-based-ssh-access-server-side">Step 2: Set up certificate-based SSH access (server side)</h4>
408
-
409
- <p>This <a href="https://wiki.gentoo.org/wiki/SSH#Passwordless_Authentication">process</a> is
410
- described in several places online. What is different from the typical approach
411
- is to put the restriction to certificate-based authorization in
412
- <code class="highlighter-rouge">~/.ssh/authorized_keys</code>. Then, launch <code class="highlighter-rouge">rrsync</code> and supply
413
- it with the folder it shall have read-write access to:</p>
414
-
415
- <div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nb">command</span><span class="o">=</span><span class="s2">"</span><span class="nv">$HOME</span><span class="s2">/bin/rrsync &lt;folder&gt;"</span>,no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ssh-rsa &lt;cert&gt;
416
- </code></pre></div></div>
417
-
418
- <p><code class="highlighter-rouge">&lt;folder&gt;</code> is the path to your site. E.g., <code class="highlighter-rouge">~/public_html/you.org/blog-html/</code>.</p>
419
-
420
- <h4 id="step-3-rsync-client-side">Step 3: Rsync (client-side)</h4>
421
-
422
- <p>Add the <code class="highlighter-rouge">deploy</code> script to the site source folder:</p>
423
-
424
- <div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c">#!/bin/sh</span>
425
-
426
- rsync <span class="nt">-crvz</span> <span class="nt">--rsh</span><span class="o">=</span><span class="s1">'ssh -p2222'</span> <span class="nt">--delete-after</span> <span class="nt">--delete-excluded</span> &lt;folder&gt; &lt;user&gt;@&lt;site&gt;:
427
- </code></pre></div></div>
428
-
429
- <p>Command line parameters are:</p>
430
-
431
- <ul>
432
- <li>
433
- <code class="highlighter-rouge">--rsh=ssh -p2222</code> — The port for SSH access. It is required if
434
- your host uses a different port than the default (e.g, HostGator)</li>
435
- <li>
436
- <code class="highlighter-rouge">&lt;folder&gt;</code> — The name of the local output folder (defaults to <code class="highlighter-rouge">_site</code>)</li>
437
- <li>
438
- <code class="highlighter-rouge">&lt;user&gt;</code> — The username for your hosting account</li>
439
- <li>
440
- <code class="highlighter-rouge">&lt;site&gt;</code> — Your hosting server</li>
441
- </ul>
442
-
443
- <p>Using this setup, you might run the following command:</p>
444
-
445
- <div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code>rsync <span class="nt">-crvz</span> <span class="nt">--rsh</span><span class="o">=</span><span class="s1">'ssh -p2222'</span> <span class="nt">--delete-after</span> <span class="nt">--delete-excluded</span> _site/ hostuser@example.org:
446
- </code></pre></div></div>
447
-
448
- <p>Don’t forget the column <code class="highlighter-rouge">:</code> after server name!</p>
449
-
450
- <h4 id="step-4-optional-exclude-the-transfer-script-from-being-copied-to-the-output-folder">Step 4 (Optional): Exclude the transfer script from being copied to the output folder.</h4>
451
-
452
- <p>This step is recommended if you use these instructions to deploy your site. If
453
- you put the <code class="highlighter-rouge">deploy</code> script in the root folder of your project, Jekyll will
454
- copy it to the output folder. This behavior can be changed in <code class="highlighter-rouge">_config.yml</code>.</p>
455
-
456
- <p>Just add the following line:</p>
457
-
458
- <div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1"># Do not copy these files to the output directory</span>
459
- <span class="na">exclude</span><span class="pi">:</span> <span class="pi">[</span><span class="s2">"</span><span class="s">deploy"</span><span class="pi">]</span>
460
- </code></pre></div></div>
461
-
462
- <p>Alternatively, you can use an <code class="highlighter-rouge">rsync-exclude.txt</code> file to control which files will be transferred to your server.</p>
463
-
464
- <h4 id="done">Done!</h4>
465
-
466
- <p>Now it’s possible to publish your website simply by running the <code class="highlighter-rouge">deploy</code>
467
- script. If your SSH certificate is <a href="https://martin.kleppmann.com/2013/05/24/improving-security-of-ssh-private-keys.html">passphrase-protected</a>, you will be asked to enter it when the
468
- script executes.</p>
469
-
470
- <h2 id="rack-jekyll">Rack-Jekyll</h2>
471
-
472
- <p><a href="https://github.com/adaoraul/rack-jekyll/">Rack-Jekyll</a> is an easy way to deploy your site on any Rack server such as Amazon EC2, Slicehost, Heroku, and so forth. It also can run with <a href="https://github.com/rtomayko/shotgun/">shotgun</a>, <a href="https://github.com/rack/rack">rackup</a>, <a href="https://github.com/mongrel/mongrel">mongrel</a>, <a href="https://github.com/defunkt/unicorn/">unicorn</a>, and <a href="https://github.com/adaoraul/rack-jekyll#readme">others</a>.</p>
473
-
474
- <p>Read <a href="http://andycroll.com/ruby/serving-a-jekyll-blog-using-heroku/">this post</a> on how to deploy to Heroku using Rack-Jekyll.</p>
475
-
476
- <h2 id="jekyll-admin-for-rails">Jekyll-Admin for Rails</h2>
477
-
478
- <p>If you want to maintain Jekyll inside your existing Rails app, <a href="https://github.com/zkarpinski/Jekyll-Admin">Jekyll-Admin</a> contains drop in code to make this possible. See Jekyll-Admin’s <a href="https://github.com/zkarpinski/Jekyll-Admin/blob/master/README">README</a> for more details.</p>
479
-
480
- <h2 id="amazon-s3">Amazon S3</h2>
481
-
482
- <p>If you want to host your site in Amazon S3, you can do so by
483
- using the <a href="https://github.com/laurilehmijoki/s3_website">s3_website</a>
484
- application. It will push your site to Amazon S3 where it can be served like
485
- any web server,
486
- dynamically scaling to almost unlimited traffic. This approach has the
487
- benefit of being about the cheapest hosting option available for
488
- low-volume blogs as you only pay for what you use.</p>
489
-
490
- <h2 id="openshift">OpenShift</h2>
491
-
492
- <p>If you’d like to deploy your site to an OpenShift gear, there’s <a href="https://github.com/openshift-quickstart/jekyll-openshift">a cartridge
493
- for that</a>.</p>
494
-
495
-
496
-
497
-
498
-
499
-
500
-
501
-
502
-
503
-
504
-
505
-
506
-
507
-
508
-
509
-
510
-
511
-
512
-
513
-
514
-
515
-
516
-
517
-
518
-
519
-
520
-
521
-
522
-
523
-
524
-
525
-
526
-
527
-
528
-
529
-
530
-
531
-
532
-
533
-
534
-
535
-
536
-
537
-
538
-
539
-
540
-
541
-
542
-
543
-
544
-
545
-
546
-
547
-
548
-
549
-
550
-
551
-
552
-
553
-
554
-
555
-
556
-
557
-
558
-
559
-
560
-
561
-
562
-
563
-
564
-
565
-
566
-
567
-
568
-
569
-
570
-
571
-
572
-
573
-
574
-
575
-
576
-
577
-
578
- <div class="section-nav">
579
- <div class="left align-right">
580
-
581
-
582
-
583
- <a href="/docs/github-pages/" class="prev">Back</a>
584
-
585
- </div>
586
- <div class="right align-left">
587
-
588
-
589
-
590
- <a href="/docs/continuous-integration/" class="next">Next</a>
591
-
592
- </div>
593
- </div>
594
- <div class="clear"></div>
595
-
596
- </article>
597
- </div>
598
-
599
- <div class="unit one-fifth hide-on-mobiles">
600
- <aside>
601
-
602
- <h4>Getting Started</h4>
603
- <ul>
604
-
605
-
606
-
607
- <li class=""><a href="/docs/home/">Welcome</a></li>
608
-
609
-
610
-
611
- <li class=""><a href="/docs/quickstart/">Quick-start guide</a></li>
612
-
613
-
614
-
615
- <li class=""><a href="/docs/installation/">Installation</a></li>
616
-
617
-
618
-
619
- <li class=""><a href="/docs/windows/">Jekyll on Windows</a></li>
620
-
621
-
622
-
623
- <li class=""><a href="/docs/usage/">Basic Usage</a></li>
624
-
625
-
626
-
627
- <li class=""><a href="/docs/structure/">Directory structure</a></li>
628
-
629
-
630
-
631
- <li class=""><a href="/docs/configuration/">Configuration</a></li>
632
-
633
- </ul>
634
-
635
-
636
- <h4>Your Content</h4>
637
- <ul>
638
-
639
-
640
-
641
- <li class=""><a href="/docs/frontmatter/">Front Matter</a></li>
642
-
643
-
644
-
645
- <li class=""><a href="/docs/posts/">Writing posts</a></li>
646
-
647
-
648
-
649
- <li class=""><a href="/docs/drafts/">Working with drafts</a></li>
650
-
651
-
652
-
653
- <li class=""><a href="/docs/pages/">Creating pages</a></li>
654
-
655
-
656
-
657
- <li class=""><a href="/docs/static-files/">Static Files</a></li>
658
-
659
-
660
-
661
- <li class=""><a href="/docs/variables/">Variables</a></li>
662
-
663
-
664
-
665
- <li class=""><a href="/docs/collections/">Collections</a></li>
666
-
667
-
668
-
669
- <li class=""><a href="/docs/datafiles/">Data Files</a></li>
670
-
671
-
672
-
673
- <li class=""><a href="/docs/assets/">Assets</a></li>
674
-
675
-
676
-
677
- <li class=""><a href="/docs/migrations/">Blog migrations</a></li>
678
-
679
- </ul>
680
-
681
-
682
- <h4>Customization</h4>
683
- <ul>
684
-
685
-
686
-
687
- <li class=""><a href="/docs/templates/">Templates</a></li>
688
-
689
-
690
-
691
- <li class=""><a href="/docs/includes/">Includes</a></li>
692
-
693
-
694
-
695
- <li class=""><a href="/docs/permalinks/">Permalinks</a></li>
696
-
697
-
698
-
699
- <li class=""><a href="/docs/pagination/">Pagination</a></li>
700
-
701
-
702
-
703
- <li class=""><a href="/docs/plugins/">Plugins</a></li>
704
-
705
-
706
-
707
- <li class=""><a href="/docs/themes/">Themes</a></li>
708
-
709
-
710
-
711
- <li class=""><a href="/docs/extras/">Extras</a></li>
712
-
713
- </ul>
714
-
715
-
716
- <h4>Deployment</h4>
717
- <ul>
718
-
719
-
720
-
721
- <li class=""><a href="/docs/github-pages/">GitHub Pages</a></li>
722
-
723
-
724
-
725
- <li class="current"><a href="/docs/deployment-methods/">Deployment methods</a></li>
726
-
727
-
728
-
729
- <li class=""><a href="/docs/continuous-integration/">Continuous Integration</a></li>
730
-
731
- </ul>
732
-
733
-
734
- <h4>Miscellaneous</h4>
735
- <ul>
736
-
737
-
738
-
739
- <li class=""><a href="/docs/troubleshooting/">Troubleshooting</a></li>
740
-
741
-
742
-
743
- <li class=""><a href="/docs/sites/">Sites using Jekyll</a></li>
744
-
745
-
746
-
747
- <li class=""><a href="/docs/resources/">Resources</a></li>
748
-
749
-
750
-
751
- <li class=""><a href="/docs/upgrading/0-to-2/">Upgrading from 0.x to 2.x</a></li>
752
-
753
-
754
-
755
- <li class=""><a href="/docs/upgrading/2-to-3/">Upgrading from 2.x to 3.x</a></li>
756
-
757
- </ul>
758
-
759
-
760
- <h4>Meta</h4>
761
- <ul>
762
-
763
-
764
-
765
- <li class=""><a href="/docs/contributing/">Contributing</a></li>
766
-
767
-
768
-
769
- <li class=""><a href="/docs/maintaining/">Maintaining Jekyll</a></li>
770
-
771
-
772
-
773
- <li class=""><a href="/docs/conduct/">Code of Conduct</a></li>
774
-
775
-
776
-
777
- <li class=""><a href="/docs/history/">History</a></li>
778
-
779
- </ul>
780
-
781
-
782
- </aside>
783
- </div>
784
-
785
-
786
- <div class="clear"></div>
787
-
788
- </div>
789
- </section>
790
-
791
-
792
- <footer>
793
- <div class="grid">
794
- <div class="unit one-third center-on-mobiles">
795
- <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>
796
- </div>
797
- <div class="unit two-thirds align-right center-on-mobiles">
798
- <p>
799
- Proudly hosted by
800
- <a href="https://github.com">
801
- <img src="/img/footer-logo.png" width="100" height="30" alt="GitHub • Social coding">
802
- </a>
803
- </p>
804
- </div>
805
- </div>
806
- </footer>
807
-
808
- <script>
809
- var anchorForId = function (id) {
810
- var anchor = document.createElement("a");
811
- anchor.className = "header-link";
812
- anchor.href = "#" + id;
813
- anchor.innerHTML = "<span class=\"sr-only\">Permalink</span><i class=\"fa fa-link\"></i>";
814
- anchor.title = "Permalink";
815
- return anchor;
816
- };
817
-
818
- var linkifyAnchors = function (level, containingElement) {
819
- var headers = containingElement.getElementsByTagName("h" + level);
820
- for (var h = 0; h < headers.length; h++) {
821
- var header = headers[h];
822
-
823
- if (typeof header.id !== "undefined" && header.id !== "") {
824
- header.appendChild(anchorForId(header.id));
825
- }
826
- }
827
- };
828
-
829
- document.onreadystatechange = function () {
830
- if (this.readyState === "complete") {
831
- var contentBlock = document.getElementsByClassName("docs")[0] || document.getElementsByClassName("news")[0];
832
- if (!contentBlock) {
833
- return;
834
- }
835
- for (var level = 1; level <= 6; level++) {
836
- linkifyAnchors(level, contentBlock);
837
- }
838
- }
839
- };
840
- </script>
841
-
842
-
843
- <!-- Gauges (http://get.gaug.es/) -->
844
- <script>
845
- var _gauges = _gauges || [];
846
- (function() {
847
- var t = document.createElement('script');
848
- t.type = 'text/javascript';
849
- t.async = true;
850
- t.id = 'gauges-tracker';
851
- t.setAttribute('data-site-id', '503c5af6613f5d0f19000027');
852
- t.src = '//secure.gaug.es/track.js';
853
- var s = document.getElementsByTagName('script')[0];
854
- s.parentNode.insertBefore(t, s);
855
- })();
856
- </script>
857
-
858
-
859
-
860
- <!-- Google Analytics (https://www.google.com/analytics) -->
861
- <script>
862
- !function(j,e,k,y,l,L){j.GoogleAnalyticsObject=y,j[y]||(j[y]=function(){
863
- (j[y].q=j[y].q||[]).push(arguments)}),j[y].l=+new Date,l=e.createElement(k),
864
- L=e.getElementsByTagName(k)[0],l.src='//www.google-analytics.com/analytics.js',
865
- L.parentNode.insertBefore(l,L)}(window,document,'script','ga');
866
-
867
- ga('create', 'UA-50755011-1', 'jekyllrb.com');
868
- ga('send', 'pageview');
869
-
870
- </script>
871
-
872
-
873
-
874
- </body>
875
- </html>