jekyll-docs 3.1.6 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/jekyll-docs.rb +7 -13
- data/site/community/index.html +305 -0
- data/site/conduct/index.html +10 -0
- data/site/css/screen.css +1445 -0
- data/site/docs/assets/index.html +701 -0
- data/site/docs/collections/index.html +973 -0
- data/site/docs/conduct/index.html +718 -0
- data/site/docs/configuration/index.html +1337 -0
- data/site/docs/continuous-integration/index.html +846 -0
- data/site/docs/contributing/index.html +815 -0
- data/site/docs/datafiles/index.html +742 -0
- data/site/docs/deployment-methods/index.html +866 -0
- data/site/docs/drafts/index.html +615 -0
- data/site/docs/extras/index.html +656 -0
- data/site/docs/frontmatter/index.html +776 -0
- data/site/docs/github-pages/index.html +778 -0
- data/site/docs/history/index.html +3293 -0
- data/site/docs/home/index.html +627 -0
- data/site/docs/index.html +10 -0
- data/site/docs/installation/index.html +682 -0
- data/site/docs/migrations/index.html +627 -0
- data/site/docs/pages/index.html +698 -0
- data/site/docs/pagination/index.html +840 -0
- data/site/docs/permalinks/index.html +924 -0
- data/site/docs/plugins/index.html +1726 -0
- data/site/docs/posts/index.html +811 -0
- data/site/docs/quickstart/index.html +599 -0
- data/site/docs/resources/index.html +717 -0
- data/site/docs/sites/index.html +676 -0
- data/site/docs/static-files/index.html +655 -0
- data/site/docs/structure/index.html +794 -0
- data/site/docs/templates/index.html +1105 -0
- data/site/docs/themes/index.html +751 -0
- data/site/docs/troubleshooting/index.html +826 -0
- data/site/docs/upgrading/0-to-2/index.html +802 -0
- data/site/docs/upgrading/2-to-3/index.html +785 -0
- data/site/docs/upgrading/index.html +664 -0
- data/site/docs/usage/index.html +673 -0
- data/site/docs/variables/index.html +1013 -0
- data/site/docs/windows/index.html +775 -0
- data/site/feed.xml +222 -0
- data/site/github.html +10 -0
- data/site/help/index.html +246 -0
- data/site/img/article-footer.png +0 -0
- data/site/img/footer-logo.png +0 -0
- data/site/img/logo-2x.png +0 -0
- data/site/index.html +200 -16
- data/site/issues.html +10 -0
- data/site/news/2013/05/05/jekyll-1-0-0-released/index.html +524 -0
- data/site/news/2013/05/08/jekyll-1-0-1-released/index.html +524 -0
- data/site/news/2013/05/12/jekyll-1-0-2-released/index.html +525 -0
- data/site/news/2013/06/07/jekyll-1-0-3-released/index.html +522 -0
- data/site/news/2013/07/14/jekyll-1-1-0-released/index.html +524 -0
- data/site/news/2013/07/24/jekyll-1-1-1-released/index.html +523 -0
- data/site/news/2013/07/25/jekyll-1-0-4-released/index.html +519 -0
- data/site/news/2013/07/25/jekyll-1-1-2-released/index.html +519 -0
- data/site/news/2013/09/06/jekyll-1-2-0-released/index.html +526 -0
- data/site/news/2013/09/14/jekyll-1-2-1-released/index.html +520 -0
- data/site/news/2013/10/28/jekyll-1-3-0-rc1-released/index.html +518 -0
- data/site/news/2013/11/04/jekyll-1-3-0-released/index.html +553 -0
- data/site/news/2013/11/26/jekyll-1-3-1-released/index.html +522 -0
- data/site/news/2013/12/07/jekyll-1-4-0-released/index.html +537 -0
- data/site/news/2013/12/09/jekyll-1-4-1-released/index.html +519 -0
- data/site/news/2013/12/16/jekyll-1-4-2-released/index.html +518 -0
- data/site/news/2014/01/13/jekyll-1-4-3-released/index.html +527 -0
- data/site/news/2014/03/24/jekyll-1-5-0-released/index.html +518 -0
- data/site/news/2014/03/27/jekyll-1-5-1-released/index.html +523 -0
- data/site/news/2014/05/06/jekyll-turns-2-0-0/index.html +539 -0
- data/site/news/2014/05/08/jekyll-2-0-3-released/index.html +519 -0
- data/site/news/2014/06/04/jekyll-stickers-1-dollar-stickermule/index.html +521 -0
- data/site/news/2014/06/28/jekyll-turns-21-i-mean-2-1-0/index.html +536 -0
- data/site/news/2014/07/01/jekyll-2-1-1-released/index.html +533 -0
- data/site/news/2014/07/29/jekyll-2-2-0-released/index.html +522 -0
- data/site/news/2014/08/10/jekyll-2-3-0-released/index.html +542 -0
- data/site/news/2014/09/09/jekyll-2-4-0-released/index.html +528 -0
- data/site/news/2014/11/05/jekylls-midlife-crisis-jekyll-turns-2-5-0/index.html +551 -0
- data/site/news/2014/11/09/jekyll-2-5-1-released/index.html +529 -0
- data/site/news/2014/11/12/jekyll-2-5-2-released/index.html +519 -0
- data/site/news/2014/12/17/alfredxing-welcome-to-jekyll-core/index.html +526 -0
- data/site/news/2014/12/22/jekyll-2-5-3-released/index.html +521 -0
- data/site/news/2015/01/20/jekyll-meet-and-greet/index.html +522 -0
- data/site/news/2015/01/24/jekyll-3-0-0-beta1-released/index.html +542 -0
- data/site/news/2015/02/26/introducing-jekyll-talk/index.html +517 -0
- data/site/news/2015/10/26/jekyll-3-0-released/index.html +546 -0
- data/site/news/2015/11/17/jekyll-3-0-1-released/index.html +530 -0
- data/site/news/2016/01/20/jekyll-3-0-2-released/index.html +520 -0
- data/site/news/2016/01/24/jekyll-3-1-0-released/index.html +553 -0
- data/site/news/2016/01/28/jekyll-3-1-1-released/index.html +537 -0
- data/site/news/2016/02/08/jekyll-3-0-3-released/index.html +532 -0
- data/site/news/2016/02/19/jekyll-3-1-2-released/index.html +523 -0
- data/site/news/2016/03/10/making-it-easier-to-contribute-to-jekyll/index.html +519 -0
- data/site/news/2016/04/19/jekyll-3-0-4-released/index.html +525 -0
- data/site/news/2016/04/19/jekyll-3-1-3-released/index.html +521 -0
- data/site/news/2016/04/26/jekyll-3-0-5-released/index.html +526 -0
- data/site/news/2016/05/18/jekyll-3-1-4-released/index.html +530 -0
- data/site/news/2016/05/18/jekyll-3-1-5-released/index.html +518 -0
- data/site/news/2016/05/19/jekyll-3-1-6-released/index.html +520 -0
- data/site/news/2016/06/03/update-on-jekyll-s-google-summer-of-code-projects/index.html +521 -0
- data/site/news/2016/07/26/jekyll-3-2-0-released/index.html +630 -0
- data/site/news/index.html +2831 -10
- data/site/news/releases/index.html +2603 -10
- data/site/sitemap.xml +327 -0
- metadata +99 -111
- data/site/_config.yml +0 -25
- data/site/_data/docs.yml +0 -49
- data/site/_docs/assets.md +0 -94
- data/site/_docs/collections.md +0 -380
- data/site/_docs/conduct.md +0 -55
- data/site/_docs/configuration.md +0 -747
- data/site/_docs/continuous-integration.md +0 -221
- data/site/_docs/contributing.md +0 -124
- data/site/_docs/datafiles.md +0 -151
- data/site/_docs/deployment-methods.md +0 -213
- data/site/_docs/drafts.md +0 -20
- data/site/_docs/extras.md +0 -22
- data/site/_docs/frontmatter.md +0 -191
- data/site/_docs/github-pages.md +0 -133
- data/site/_docs/history.md +0 -2323
- data/site/_docs/index.md +0 -57
- data/site/_docs/installation.md +0 -106
- data/site/_docs/migrations.md +0 -9
- data/site/_docs/pages.md +0 -100
- data/site/_docs/pagination.md +0 -224
- data/site/_docs/permalinks.md +0 -308
- data/site/_docs/plugins.md +0 -903
- data/site/_docs/posts.md +0 -237
- data/site/_docs/quickstart.md +0 -26
- data/site/_docs/resources.md +0 -38
- data/site/_docs/sites.md +0 -23
- data/site/_docs/static_files.md +0 -52
- data/site/_docs/structure.md +0 -211
- data/site/_docs/templates.md +0 -451
- data/site/_docs/troubleshooting.md +0 -207
- data/site/_docs/upgrading.md +0 -10
- data/site/_docs/upgrading/0-to-2.md +0 -140
- data/site/_docs/upgrading/2-to-3.md +0 -126
- data/site/_docs/usage.md +0 -101
- data/site/_docs/variables.md +0 -390
- data/site/_docs/windows.md +0 -46
- data/site/_includes/analytics.html +0 -30
- data/site/_includes/anchor_links.html +0 -33
- data/site/_includes/docs_contents.html +0 -8
- data/site/_includes/docs_contents_mobile.html +0 -10
- data/site/_includes/docs_option.html +0 -11
- data/site/_includes/docs_ul.html +0 -17
- data/site/_includes/footer.html +0 -15
- data/site/_includes/header.html +0 -18
- data/site/_includes/news_contents.html +0 -33
- data/site/_includes/news_contents_mobile.html +0 -11
- data/site/_includes/news_item.html +0 -24
- data/site/_includes/primary-nav-items.html +0 -17
- data/site/_includes/section_nav.html +0 -39
- data/site/_includes/top.html +0 -17
- data/site/_layouts/default.html +0 -13
- data/site/_layouts/docs.html +0 -26
- data/site/_layouts/news.html +0 -19
- data/site/_layouts/news_item.html +0 -27
- data/site/_layouts/page.html +0 -18
- data/site/_posts/2013-05-06-jekyll-1-0-0-released.markdown +0 -23
- data/site/_posts/2013-05-08-jekyll-1-0-1-released.markdown +0 -27
- data/site/_posts/2013-05-12-jekyll-1-0-2-released.markdown +0 -28
- data/site/_posts/2013-06-07-jekyll-1-0-3-released.markdown +0 -25
- data/site/_posts/2013-07-14-jekyll-1-1-0-released.markdown +0 -27
- data/site/_posts/2013-07-24-jekyll-1-1-1-released.markdown +0 -31
- data/site/_posts/2013-07-25-jekyll-1-0-4-released.markdown +0 -20
- data/site/_posts/2013-07-25-jekyll-1-1-2-released.markdown +0 -20
- data/site/_posts/2013-09-06-jekyll-1-2-0-released.markdown +0 -23
- data/site/_posts/2013-09-14-jekyll-1-2-1-released.markdown +0 -19
- data/site/_posts/2013-10-28-jekyll-1-3-0-rc1-released.markdown +0 -17
- data/site/_posts/2013-11-04-jekyll-1-3-0-released.markdown +0 -43
- data/site/_posts/2013-11-26-jekyll-1-3-1-released.markdown +0 -21
- data/site/_posts/2013-12-07-jekyll-1-4-0-released.markdown +0 -30
- data/site/_posts/2013-12-09-jekyll-1-4-1-released.markdown +0 -18
- data/site/_posts/2013-12-16-jekyll-1-4-2-released.markdown +0 -18
- data/site/_posts/2014-01-13-jekyll-1-4-3-released.markdown +0 -26
- data/site/_posts/2014-03-24-jekyll-1-5-0-released.markdown +0 -19
- data/site/_posts/2014-03-27-jekyll-1-5-1-released.markdown +0 -26
- data/site/_posts/2014-05-06-jekyll-turns-2-0-0.markdown +0 -31
- data/site/_posts/2014-05-08-jekyll-2-0-3-released.markdown +0 -18
- data/site/_posts/2014-06-04-jekyll-stickers-1-dollar-stickermule.markdown +0 -19
- data/site/_posts/2014-06-28-jekyll-turns-21-i-mean-2-1-0.markdown +0 -31
- data/site/_posts/2014-07-01-jekyll-2-1-1-released.markdown +0 -30
- data/site/_posts/2014-07-29-jekyll-2-2-0-released.markdown +0 -19
- data/site/_posts/2014-08-10-jekyll-2-3-0-released.markdown +0 -41
- data/site/_posts/2014-09-09-jekyll-2-4-0-released.markdown +0 -25
- data/site/_posts/2014-11-06-jekylls-midlife-crisis-jekyll-turns-2-5-0.markdown +0 -47
- data/site/_posts/2014-11-08-jekyll-2-5-1-released.markdown +0 -29
- data/site/_posts/2014-11-12-jekyll-2-5-2-released.markdown +0 -18
- data/site/_posts/2014-12-17-alfredxing-welcome-to-jekyll-core.md +0 -27
- data/site/_posts/2014-12-22-jekyll-2-5-3-released.markdown +0 -20
- data/site/_posts/2015-01-20-jekyll-meet-and-greet.markdown +0 -20
- data/site/_posts/2015-01-24-jekyll-3-0-0-beta1-released.markdown +0 -40
- data/site/_posts/2015-02-26-introducing-jekyll-talk.markdown +0 -15
- data/site/_posts/2015-10-26-jekyll-3-0-released.markdown +0 -35
- data/site/_posts/2015-11-17-jekyll-3-0-1-released.markdown +0 -25
- data/site/_posts/2016-01-20-jekyll-3-0-2-released.markdown +0 -19
- data/site/_posts/2016-01-24-jekyll-3-1-0-released.markdown +0 -50
- data/site/_posts/2016-01-28-jekyll-3-1-1-released.markdown +0 -33
- data/site/_posts/2016-02-08-jekyll-3-0-3-released.markdown +0 -32
- data/site/_posts/2016-02-19-jekyll-3-1-2-released.markdown +0 -20
- data/site/_sass/_font-awesome.scss +0 -25
- data/site/_sass/_gridism.scss +0 -124
- data/site/_sass/_mixins.scss +0 -38
- data/site/_sass/_normalize.scss +0 -1
- data/site/_sass/_pygments.scss +0 -78
- data/site/_sass/_style.scss +0 -1002
- data/site/css/screen.scss +0 -9
- data/site/help/index.md +0 -41
- data/site/redirects/github.html +0 -4
- data/site/redirects/issues.html +0 -4
|
@@ -0,0 +1,785 @@
|
|
|
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.2.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.0.0 -->
|
|
14
|
+
<title>Upgrading from 2.x to 3.x - Jekyll • Simple, blog-aware, static sites</title>
|
|
15
|
+
<meta property="og:title" content="Upgrading from 2.x to 3.x">
|
|
16
|
+
<meta name="description" content="Transform your plain text into static websites and blogs">
|
|
17
|
+
<meta property="og:description" content="Transform your plain text into static websites and blogs">
|
|
18
|
+
<link rel="canonical" href="https://jekyllrb.com/docs/upgrading/2-to-3/">
|
|
19
|
+
<meta property="og:url" content="https://jekyllrb.com/docs/upgrading/2-to-3/">
|
|
20
|
+
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites">
|
|
21
|
+
<meta property="og:type" content="article">
|
|
22
|
+
<meta property="article:published_time" content="2016-07-27T18:44:57-07:00">
|
|
23
|
+
<meta name="twitter:card" content="summary">
|
|
24
|
+
<meta name="twitter:site" content="@jekyllrb">
|
|
25
|
+
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
|
|
26
|
+
<script type="application/ld+json">
|
|
27
|
+
{
|
|
28
|
+
"@context": "http://schema.org",
|
|
29
|
+
"@type": "BlogPosting",
|
|
30
|
+
"headline": "Upgrading from 2.x to 3.x",
|
|
31
|
+
"datePublished": "2016-07-27T18:44:57-07:00",
|
|
32
|
+
"description": "Transform your plain text into static websites and blogs",
|
|
33
|
+
"logo": "https://jekyllrb.comimg/logo-2x.png",
|
|
34
|
+
"url": "https://jekyllrb.com/docs/upgrading/2-to-3/"
|
|
35
|
+
}
|
|
36
|
+
</script>
|
|
37
|
+
<!-- End Jekyll SEO tag -->
|
|
38
|
+
<!--[if lt IE 9]>
|
|
39
|
+
<script src="/js/html5shiv.min.js"></script>
|
|
40
|
+
<script src="/js/respond.min.js"></script>
|
|
41
|
+
<![endif]-->
|
|
42
|
+
</head>
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
<body class="wrap">
|
|
46
|
+
<header>
|
|
47
|
+
<nav class="mobile-nav show-on-mobiles">
|
|
48
|
+
<ul>
|
|
49
|
+
<li class="">
|
|
50
|
+
<a href="/">Home</a>
|
|
51
|
+
</li>
|
|
52
|
+
<li class="current">
|
|
53
|
+
<a href="/docs/home/">Docs</a>
|
|
54
|
+
</li>
|
|
55
|
+
<li class="">
|
|
56
|
+
<a href="/news/">News</a>
|
|
57
|
+
</li>
|
|
58
|
+
<li class="">
|
|
59
|
+
<a href="/community/">Community</a>
|
|
60
|
+
</li>
|
|
61
|
+
<li class="">
|
|
62
|
+
<a href="/help/">Help</a>
|
|
63
|
+
</li>
|
|
64
|
+
<li>
|
|
65
|
+
<a href="https://github.com/jekyll/jekyll"><span class="hide-on-mobiles">View on </span>GitHub</a>
|
|
66
|
+
</li>
|
|
67
|
+
</ul>
|
|
68
|
+
|
|
69
|
+
</nav>
|
|
70
|
+
<div class="grid">
|
|
71
|
+
<div class="unit one-third center-on-mobiles">
|
|
72
|
+
<h1>
|
|
73
|
+
<a href="/">
|
|
74
|
+
<span class="sr-only">Jekyll</span>
|
|
75
|
+
<img src="/img/logo-2x.png" width="249" height="115" alt="Jekyll Logo">
|
|
76
|
+
</a>
|
|
77
|
+
</h1>
|
|
78
|
+
</div>
|
|
79
|
+
<nav class="main-nav unit two-thirds hide-on-mobiles">
|
|
80
|
+
<ul>
|
|
81
|
+
<li class="">
|
|
82
|
+
<a href="/">Home</a>
|
|
83
|
+
</li>
|
|
84
|
+
<li class="current">
|
|
85
|
+
<a href="/docs/home/">Docs</a>
|
|
86
|
+
</li>
|
|
87
|
+
<li class="">
|
|
88
|
+
<a href="/news/">News</a>
|
|
89
|
+
</li>
|
|
90
|
+
<li class="">
|
|
91
|
+
<a href="/community/">Community</a>
|
|
92
|
+
</li>
|
|
93
|
+
<li class="">
|
|
94
|
+
<a href="/help/">Help</a>
|
|
95
|
+
</li>
|
|
96
|
+
<li>
|
|
97
|
+
<a href="https://github.com/jekyll/jekyll"><span class="hide-on-mobiles">View on </span>GitHub</a>
|
|
98
|
+
</li>
|
|
99
|
+
</ul>
|
|
100
|
+
|
|
101
|
+
</nav>
|
|
102
|
+
</div>
|
|
103
|
+
</header>
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
<section class="docs">
|
|
107
|
+
<div class="grid">
|
|
108
|
+
|
|
109
|
+
<div class="docs-nav-mobile unit whole show-on-mobiles">
|
|
110
|
+
<select onchange="if (this.value) window.location.href=this.value">
|
|
111
|
+
<option value="">Navigate the docs…</option>
|
|
112
|
+
|
|
113
|
+
<optgroup label="Getting Started">
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
<option value="https://jekyllrb.com/docs/home/">Welcome</option>
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
<option value="https://jekyllrb.com/docs/quickstart/">Quick-start guide</option>
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
<option value="https://jekyllrb.com/docs/installation/">Installation</option>
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
<option value="https://jekyllrb.com/docs/usage/">Basic Usage</option>
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
<option value="https://jekyllrb.com/docs/structure/">Directory structure</option>
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
<option value="https://jekyllrb.com/docs/configuration/">Configuration</option>
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
</optgroup>
|
|
141
|
+
|
|
142
|
+
<optgroup label="Your Content">
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
<option value="https://jekyllrb.com/docs/frontmatter/">Front Matter</option>
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
<option value="https://jekyllrb.com/docs/posts/">Writing posts</option>
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
<option value="https://jekyllrb.com/docs/drafts/">Working with drafts</option>
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
<option value="https://jekyllrb.com/docs/pages/">Creating pages</option>
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
<option value="https://jekyllrb.com/docs/static-files/">Static Files</option>
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
<option value="https://jekyllrb.com/docs/variables/">Variables</option>
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
<option value="https://jekyllrb.com/docs/collections/">Collections</option>
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
<option value="https://jekyllrb.com/docs/datafiles/">Data Files</option>
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
<option value="https://jekyllrb.com/docs/assets/">Assets</option>
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
<option value="https://jekyllrb.com/docs/migrations/">Blog migrations</option>
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
</optgroup>
|
|
186
|
+
|
|
187
|
+
<optgroup label="Customization">
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
<option value="https://jekyllrb.com/docs/templates/">Templates</option>
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
<option value="https://jekyllrb.com/docs/permalinks/">Permalinks</option>
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
<option value="https://jekyllrb.com/docs/pagination/">Pagination</option>
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
<option value="https://jekyllrb.com/docs/plugins/">Plugins</option>
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
<option value="https://jekyllrb.com/docs/themes/">Themes</option>
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
<option value="https://jekyllrb.com/docs/extras/">Extras</option>
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
</optgroup>
|
|
215
|
+
|
|
216
|
+
<optgroup label="Deployment">
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
<option value="https://jekyllrb.com/docs/github-pages/">GitHub Pages</option>
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
<option value="https://jekyllrb.com/docs/deployment-methods/">Deployment methods</option>
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
<option value="https://jekyllrb.com/docs/continuous-integration/">Continuous Integration</option>
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
</optgroup>
|
|
232
|
+
|
|
233
|
+
<optgroup label="Miscellaneous">
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
<option value="https://jekyllrb.com/docs/troubleshooting/">Troubleshooting</option>
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
<option value="https://jekyllrb.com/docs/sites/">Sites using Jekyll</option>
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
<option value="https://jekyllrb.com/docs/resources/">Resources</option>
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
<option value="https://jekyllrb.com/docs/upgrading/0-to-2/">Upgrading from 0.x to 2.x</option>
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
<option value="https://jekyllrb.com/docs/upgrading/2-to-3/">Upgrading from 2.x to 3.x</option>
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
</optgroup>
|
|
257
|
+
|
|
258
|
+
<optgroup label="Meta">
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
<option value="https://jekyllrb.com/docs/contributing/">Contributing</option>
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
<option value="https://jekyllrb.com/docs/conduct/">Code of Conduct</option>
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
<option value="https://jekyllrb.com/docs/history/">History</option>
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
</optgroup>
|
|
274
|
+
|
|
275
|
+
</select>
|
|
276
|
+
</div>
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
<div class="unit four-fifths">
|
|
280
|
+
<article>
|
|
281
|
+
<div class="improve right hide-on-mobiles">
|
|
282
|
+
<a href="https://github.com/jekyll/jekyll/edit/master/site/_docs/upgrading/2-to-3.md"><i class="fa fa-pencil"></i> Improve this page</a>
|
|
283
|
+
</div>
|
|
284
|
+
<h1>Upgrading from 2.x to 3.x</h1>
|
|
285
|
+
<p>Upgrading from an older version of Jekyll? A few things have changed in 3.0
|
|
286
|
+
that you’ll want to know about.</p>
|
|
287
|
+
|
|
288
|
+
<p>Before we dive in, go ahead and fetch the latest version of Jekyll:</p>
|
|
289
|
+
|
|
290
|
+
<figure class="highlight"><pre><code class="language-shell" data-lang="shell"><span class="gp">$ </span>gem update jekyll</code></pre></figure>
|
|
291
|
+
|
|
292
|
+
<p>Please note: Jekyll 3 requires Ruby version >= 2.0.0.</p>
|
|
293
|
+
|
|
294
|
+
<div class="note feature">
|
|
295
|
+
<h5>Diving in</h5>
|
|
296
|
+
<p>Want to get a new Jekyll site up and running quickly? Simply
|
|
297
|
+
run <code>jekyll new SITENAME</code> to create a new folder with a bare bones
|
|
298
|
+
Jekyll site.</p>
|
|
299
|
+
</div>
|
|
300
|
+
|
|
301
|
+
<h3 id="sitecollections-has-changed">site.collections has changed</h3>
|
|
302
|
+
|
|
303
|
+
<p>In 2.x, your iterations over <code class="highlighter-rouge">site.collections</code> yielded an array with the collection
|
|
304
|
+
label and the collection object as the first and second items, respectively. In 3.x,
|
|
305
|
+
this complication has been removed and iterations now yield simply the collection object.
|
|
306
|
+
A simple conversion must be made in your templates:</p>
|
|
307
|
+
|
|
308
|
+
<ul>
|
|
309
|
+
<li>
|
|
310
|
+
<code class="highlighter-rouge">collection[0]</code> becomes <code class="highlighter-rouge">collection.label</code>
|
|
311
|
+
</li>
|
|
312
|
+
<li>
|
|
313
|
+
<code class="highlighter-rouge">collection[1]</code> becomes <code class="highlighter-rouge">collection</code>
|
|
314
|
+
</li>
|
|
315
|
+
</ul>
|
|
316
|
+
|
|
317
|
+
<p>When iterating over <code class="highlighter-rouge">site.collections</code>, ensure the above conversions are made.</p>
|
|
318
|
+
|
|
319
|
+
<p>For <code class="highlighter-rouge">site.collections.myCollection</code> in Jekyll 2, you now do:</p>
|
|
320
|
+
|
|
321
|
+
<figure class="highlight"><pre><code class="language-liquid" data-lang="liquid"><span class="p">{%</span><span class="w"> </span><span class="nt">assign</span><span class="w"> </span><span class="nv">myCollection</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nv">site</span><span class="p">.</span><span class="nv">collections</span><span class="w"> </span><span class="p">|</span><span class="w"> </span><span class="nf">where</span><span class="p">:</span><span class="w"> </span><span class="s2">"label"</span><span class="p">,</span><span class="w"> </span><span class="s2">"myCollection"</span><span class="w"> </span><span class="p">|</span><span class="w"> </span><span class="nf">first</span><span class="w"> </span><span class="p">%}</span></code></pre></figure>
|
|
322
|
+
|
|
323
|
+
<p>This is a bit cumbersome at first, but is easier than a big <code class="highlighter-rouge">for</code> loop.</p>
|
|
324
|
+
|
|
325
|
+
<h3 id="dropped-dependencies">Dropped dependencies</h3>
|
|
326
|
+
|
|
327
|
+
<p>We dropped a number of dependencies the Core Team felt were optional. As such, in 3.0, they must be explicitly installed and included if you use any of the features. They are:</p>
|
|
328
|
+
|
|
329
|
+
<ul>
|
|
330
|
+
<li>jekyll-paginate – Jekyll’s pagination solution from days past</li>
|
|
331
|
+
<li>jekyll-coffeescript – processing of CoffeeScript</li>
|
|
332
|
+
<li>jekyll-gist – the <code class="highlighter-rouge">gist</code> Liquid tag</li>
|
|
333
|
+
<li>pygments.rb – the Pygments highlighter</li>
|
|
334
|
+
<li>redcarpet – the Markdown processor</li>
|
|
335
|
+
<li>toml – an alternative to YAML for configuration files</li>
|
|
336
|
+
<li>classifier-reborn – for <code class="highlighter-rouge">site.related_posts</code>
|
|
337
|
+
</li>
|
|
338
|
+
</ul>
|
|
339
|
+
|
|
340
|
+
<h3 id="future-posts">Future posts</h3>
|
|
341
|
+
|
|
342
|
+
<p>A seeming feature regression in 2.x, the <code class="highlighter-rouge">--future</code> flag was automatically <em>enabled</em>.
|
|
343
|
+
The future flag allows post authors to give the post a date in the future and to have
|
|
344
|
+
it excluded from the build until the system time is equal or after the post time.
|
|
345
|
+
In Jekyll 3, this has been corrected. <strong>Now, <code class="highlighter-rouge">--future</code> is disabled by default.</strong>
|
|
346
|
+
This means you will need to include <code class="highlighter-rouge">--future</code> if you want your future-dated posts to
|
|
347
|
+
generate when running <code class="highlighter-rouge">jekyll build</code> or <code class="highlighter-rouge">jekyll serve</code>.</p>
|
|
348
|
+
|
|
349
|
+
<h3 id="layout-metadata">Layout metadata</h3>
|
|
350
|
+
|
|
351
|
+
<p>Introducing: <code class="highlighter-rouge">layout</code>. In Jekyll 2 and below, any metadata in the layout was merged onto
|
|
352
|
+
the <code class="highlighter-rouge">page</code> variable in Liquid. This caused a lot of confusion in the way the data was
|
|
353
|
+
merged and some unexpected behaviour. In Jekyll 3, all layout data is accessible via <code class="highlighter-rouge">layout</code>
|
|
354
|
+
in Liquid. For example, if your layout has <code class="highlighter-rouge">class: my-layout</code> in its YAML front matter,
|
|
355
|
+
then the layout can access that via <code class="highlighter-rouge"><span class="p">{</span><span class="err">{</span><span class="w"> </span><span class="err">layout.class</span><span class="w"> </span><span class="p">}</span><span class="err">}</span></code>.</p>
|
|
356
|
+
|
|
357
|
+
<h3 id="syntax-highlighter-changed">Syntax highlighter changed</h3>
|
|
358
|
+
|
|
359
|
+
<p>For the first time, the default syntax highlighter has changed for the
|
|
360
|
+
<code class="highlighter-rouge">highlight</code> tag and for backtick code blocks. Instead of <a href="https://github.com/tmm1/pygments.rb">Pygments.rb</a>,
|
|
361
|
+
it’s now <a href="http://rouge.jneen.net/">Rouge</a>. If you were using the <code class="highlighter-rouge">highlight</code> tag with certain
|
|
362
|
+
options, such as <code class="highlighter-rouge">hl_lines</code>, they may not be available when using Rouge. To
|
|
363
|
+
go back to using Pygments, set <code class="highlighter-rouge">highlighter: pygments</code> in your
|
|
364
|
+
<code class="highlighter-rouge">_config.yml</code> file and run <code class="highlighter-rouge">gem install pygments.rb</code> or add
|
|
365
|
+
<code class="highlighter-rouge">gem 'pygments.rb'</code> to your project’s <code class="highlighter-rouge">Gemfile</code>.</p>
|
|
366
|
+
|
|
367
|
+
<h3 id="relative-permalink-support-removed">Relative Permalink support removed</h3>
|
|
368
|
+
|
|
369
|
+
<p>In Jekyll 3 and above, relative permalinks have been deprecated. If you
|
|
370
|
+
created your site using Jekyll 2 and below, you may receive the following
|
|
371
|
+
error when trying to <strong>serve</strong> or <strong>build</strong>:</p>
|
|
372
|
+
|
|
373
|
+
<figure class="highlight"><pre><code class="language-text" data-lang="text">Since v3.0, permalinks for pages in subfolders must be relative to the site
|
|
374
|
+
source directory, not the parent directory. Check
|
|
375
|
+
http://jekyllrb.com/docs/upgrading/ for more info.</code></pre></figure>
|
|
376
|
+
|
|
377
|
+
<p>This can be fixed by removing the following line from your <code class="highlighter-rouge">_config.yml</code> file:</p>
|
|
378
|
+
|
|
379
|
+
<figure class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="s">relative_permalinks</span><span class="pi">:</span> <span class="s">true</span></code></pre></figure>
|
|
380
|
+
|
|
381
|
+
<h3 id="permalinks-no-longer-automatically-add-a-trailing-slash">Permalinks no longer automatically add a trailing slash</h3>
|
|
382
|
+
|
|
383
|
+
<p>In Jekyll 2, any URL constructed from the <code class="highlighter-rouge">permalink:</code> field had a trailing slash (<code class="highlighter-rouge">/</code>) added to it automatically. Jekyll 3 no longer adds a trailing slash automatically to <code class="highlighter-rouge">permalink:</code> URLs. This can potentially result in old links to pages returning a 404 error. For example, suppose a page previously contained the YAML <code class="highlighter-rouge">permalink: /:year-:month-:day-:title</code> that resulted in the URL <code class="highlighter-rouge">example.com/2016-02-01-test/</code> (notice the trailing slash), Jekyll internally generates a folder named <code class="highlighter-rouge">2016-02-01-test</code>. In Jekyll 3, the same <code class="highlighter-rouge">permalink:</code> generate the file <code class="highlighter-rouge">2016-02-01-test.html</code> and the URL for the same page will be <code class="highlighter-rouge">example.com/2016-02-01-test</code>, and consequently any links to the old URL will result in a 404 error. In order to maintain the same URLs and avoid this problem, a trailing slash should be added to the <code class="highlighter-rouge">permalink:</code> field, for example <code class="highlighter-rouge">permalink: /:year-:month-:day-:title/</code>.</p>
|
|
384
|
+
|
|
385
|
+
<h3 id="all-my-posts-are-gone-whered-they-go">All my posts are gone! Where’d they go!</h3>
|
|
386
|
+
|
|
387
|
+
<p>Try adding <code class="highlighter-rouge">future: true</code> to your <code class="highlighter-rouge">_config.yml</code> file. Are they showing up now? If they are, then you were ensnared by an issue with the way Ruby parses times. Each of your posts is being read in a different timezone than you might expect and, when compared to the computer’s current time, is “in the future.” The fix for this is to add <a href="https://en.wikipedia.org/wiki/List_of_UTC_time_offsets">a timezone offset</a> to each post (and make sure you remove <code class="highlighter-rouge">future: true</code> from your <code class="highlighter-rouge">_config.yml</code> file). If you’re writing from California, for example, you would change this:</p>
|
|
388
|
+
|
|
389
|
+
<figure class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="nn">---</span>
|
|
390
|
+
<span class="s">date</span><span class="pi">:</span> <span class="s">2016-02-06 19:32:10</span>
|
|
391
|
+
<span class="nn">---</span></code></pre></figure>
|
|
392
|
+
|
|
393
|
+
<p>to this (note the offset):</p>
|
|
394
|
+
|
|
395
|
+
<figure class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="nn">---</span>
|
|
396
|
+
<span class="s">date</span><span class="pi">:</span> <span class="s">2016-02-06 19:32:10 -0800</span>
|
|
397
|
+
<span class="nn">---</span></code></pre></figure>
|
|
398
|
+
|
|
399
|
+
<h3 id="my-categories-have-stopped-working">My categories have stopped working!</h3>
|
|
400
|
+
|
|
401
|
+
<p>If you organized your categories as <code class="highlighter-rouge">/_posts/code/2008-12-24-closures.md</code>, you will need to restructure your directories to put the categories <em>above</em> the <code class="highlighter-rouge">_posts</code> directories, as follows: <code class="highlighter-rouge">/code/_posts/2008-12-24-closures.md</code>.</p>
|
|
402
|
+
|
|
403
|
+
<p><em>Did we miss something? Please click “Improve this page” above and add a section. Thanks!</em></p>
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
<div class="section-nav">
|
|
501
|
+
<div class="left align-right">
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
<a href="/docs/upgrading/0-to-2/" class="prev">Back</a>
|
|
506
|
+
|
|
507
|
+
</div>
|
|
508
|
+
<div class="right align-left">
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
<a href="/docs/contributing/" class="next">Next</a>
|
|
513
|
+
|
|
514
|
+
</div>
|
|
515
|
+
</div>
|
|
516
|
+
<div class="clear"></div>
|
|
517
|
+
|
|
518
|
+
</article>
|
|
519
|
+
</div>
|
|
520
|
+
|
|
521
|
+
<div class="unit one-fifth hide-on-mobiles">
|
|
522
|
+
<aside>
|
|
523
|
+
|
|
524
|
+
<h4>Getting Started</h4>
|
|
525
|
+
<ul>
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
<li class=""><a href="https://jekyllrb.com/docs/home/">Welcome</a></li>
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
<li class=""><a href="https://jekyllrb.com/docs/quickstart/">Quick-start guide</a></li>
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
<li class=""><a href="https://jekyllrb.com/docs/installation/">Installation</a></li>
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
<li class=""><a href="https://jekyllrb.com/docs/usage/">Basic Usage</a></li>
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
<li class=""><a href="https://jekyllrb.com/docs/structure/">Directory structure</a></li>
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
<li class=""><a href="https://jekyllrb.com/docs/configuration/">Configuration</a></li>
|
|
550
|
+
|
|
551
|
+
</ul>
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
<h4>Your Content</h4>
|
|
555
|
+
<ul>
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
<li class=""><a href="https://jekyllrb.com/docs/frontmatter/">Front Matter</a></li>
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
<li class=""><a href="https://jekyllrb.com/docs/posts/">Writing posts</a></li>
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
<li class=""><a href="https://jekyllrb.com/docs/drafts/">Working with drafts</a></li>
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
<li class=""><a href="https://jekyllrb.com/docs/pages/">Creating pages</a></li>
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
<li class=""><a href="https://jekyllrb.com/docs/static-files/">Static Files</a></li>
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
<li class=""><a href="https://jekyllrb.com/docs/variables/">Variables</a></li>
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
<li class=""><a href="https://jekyllrb.com/docs/collections/">Collections</a></li>
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
<li class=""><a href="https://jekyllrb.com/docs/datafiles/">Data Files</a></li>
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
<li class=""><a href="https://jekyllrb.com/docs/assets/">Assets</a></li>
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
<li class=""><a href="https://jekyllrb.com/docs/migrations/">Blog migrations</a></li>
|
|
596
|
+
|
|
597
|
+
</ul>
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
<h4>Customization</h4>
|
|
601
|
+
<ul>
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
<li class=""><a href="https://jekyllrb.com/docs/templates/">Templates</a></li>
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
<li class=""><a href="https://jekyllrb.com/docs/permalinks/">Permalinks</a></li>
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
<li class=""><a href="https://jekyllrb.com/docs/pagination/">Pagination</a></li>
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
<li class=""><a href="https://jekyllrb.com/docs/plugins/">Plugins</a></li>
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
<li class=""><a href="https://jekyllrb.com/docs/themes/">Themes</a></li>
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
<li class=""><a href="https://jekyllrb.com/docs/extras/">Extras</a></li>
|
|
626
|
+
|
|
627
|
+
</ul>
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
<h4>Deployment</h4>
|
|
631
|
+
<ul>
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
<li class=""><a href="https://jekyllrb.com/docs/github-pages/">GitHub Pages</a></li>
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
<li class=""><a href="https://jekyllrb.com/docs/deployment-methods/">Deployment methods</a></li>
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
<li class=""><a href="https://jekyllrb.com/docs/continuous-integration/">Continuous Integration</a></li>
|
|
644
|
+
|
|
645
|
+
</ul>
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
<h4>Miscellaneous</h4>
|
|
649
|
+
<ul>
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
<li class=""><a href="https://jekyllrb.com/docs/troubleshooting/">Troubleshooting</a></li>
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
<li class=""><a href="https://jekyllrb.com/docs/sites/">Sites using Jekyll</a></li>
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
<li class=""><a href="https://jekyllrb.com/docs/resources/">Resources</a></li>
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
<li class=""><a href="https://jekyllrb.com/docs/upgrading/0-to-2/">Upgrading from 0.x to 2.x</a></li>
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
<li class="current"><a href="https://jekyllrb.com/docs/upgrading/2-to-3/">Upgrading from 2.x to 3.x</a></li>
|
|
670
|
+
|
|
671
|
+
</ul>
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
<h4>Meta</h4>
|
|
675
|
+
<ul>
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
<li class=""><a href="https://jekyllrb.com/docs/contributing/">Contributing</a></li>
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
<li class=""><a href="https://jekyllrb.com/docs/conduct/">Code of Conduct</a></li>
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
<li class=""><a href="https://jekyllrb.com/docs/history/">History</a></li>
|
|
688
|
+
|
|
689
|
+
</ul>
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
</aside>
|
|
693
|
+
</div>
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
<div class="clear"></div>
|
|
697
|
+
|
|
698
|
+
</div>
|
|
699
|
+
</section>
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
<footer>
|
|
703
|
+
<div class="grid">
|
|
704
|
+
<div class="unit one-third center-on-mobiles">
|
|
705
|
+
<p>The contents of this website are <br>© 2016 under the terms of the <a href="https://github.com/jekyll/jekyll/blob/master/LICENSE">MIT License</a>.</p>
|
|
706
|
+
</div>
|
|
707
|
+
<div class="unit two-thirds align-right center-on-mobiles">
|
|
708
|
+
<p>
|
|
709
|
+
Proudly hosted by
|
|
710
|
+
<a href="https://github.com">
|
|
711
|
+
<img src="/img/footer-logo.png" width="100" height="30" alt="GitHub • Social coding">
|
|
712
|
+
</a>
|
|
713
|
+
</p>
|
|
714
|
+
</div>
|
|
715
|
+
</div>
|
|
716
|
+
</footer>
|
|
717
|
+
|
|
718
|
+
<script>
|
|
719
|
+
var anchorForId = function (id) {
|
|
720
|
+
var anchor = document.createElement("a");
|
|
721
|
+
anchor.className = "header-link";
|
|
722
|
+
anchor.href = "#" + id;
|
|
723
|
+
anchor.innerHTML = "<span class=\"sr-only\">Permalink</span><i class=\"fa fa-link\"></i>";
|
|
724
|
+
anchor.title = "Permalink";
|
|
725
|
+
return anchor;
|
|
726
|
+
};
|
|
727
|
+
|
|
728
|
+
var linkifyAnchors = function (level, containingElement) {
|
|
729
|
+
var headers = containingElement.getElementsByTagName("h" + level);
|
|
730
|
+
for (var h = 0; h < headers.length; h++) {
|
|
731
|
+
var header = headers[h];
|
|
732
|
+
|
|
733
|
+
if (typeof header.id !== "undefined" && header.id !== "") {
|
|
734
|
+
header.appendChild(anchorForId(header.id));
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
};
|
|
738
|
+
|
|
739
|
+
document.onreadystatechange = function () {
|
|
740
|
+
if (this.readyState === "complete") {
|
|
741
|
+
var contentBlock = document.getElementsByClassName("docs")[0] || document.getElementsByClassName("news")[0];
|
|
742
|
+
if (!contentBlock) {
|
|
743
|
+
return;
|
|
744
|
+
}
|
|
745
|
+
for (var level = 1; level <= 6; level++) {
|
|
746
|
+
linkifyAnchors(level, contentBlock);
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
};
|
|
750
|
+
</script>
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
<!-- Gauges (http://gaug.es/) -->
|
|
754
|
+
<script>
|
|
755
|
+
var _gauges = _gauges || [];
|
|
756
|
+
(function() {
|
|
757
|
+
var t = document.createElement('script');
|
|
758
|
+
t.type = 'text/javascript';
|
|
759
|
+
t.async = true;
|
|
760
|
+
t.id = 'gauges-tracker';
|
|
761
|
+
t.setAttribute('data-site-id', '503c5af6613f5d0f19000027');
|
|
762
|
+
t.src = '//secure.gaug.es/track.js';
|
|
763
|
+
var s = document.getElementsByTagName('script')[0];
|
|
764
|
+
s.parentNode.insertBefore(t, s);
|
|
765
|
+
})();
|
|
766
|
+
</script>
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
<!-- Google Analytics (http://google.com/analytics) -->
|
|
771
|
+
<script>
|
|
772
|
+
!function(j,e,k,y,l,L){j.GoogleAnalyticsObject=y,j[y]||(j[y]=function(){
|
|
773
|
+
(j[y].q=j[y].q||[]).push(arguments)}),j[y].l=+new Date,l=e.createElement(k),
|
|
774
|
+
L=e.getElementsByTagName(k)[0],l.src='//www.google-analytics.com/analytics.js',
|
|
775
|
+
L.parentNode.insertBefore(l,L)}(window,document,'script','ga');
|
|
776
|
+
|
|
777
|
+
ga('create', 'UA-50755011-1', 'jekyllrb.com');
|
|
778
|
+
ga('send', 'pageview');
|
|
779
|
+
|
|
780
|
+
</script>
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
</body>
|
|
785
|
+
</html>
|