jekyll-docs 3.4.3 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/jekyll-docs.rb +1 -1
- data/site/404.html +5 -11
- data/site/community/index.html +9 -15
- data/site/css/screen.css +1 -1468
- data/site/docs/assets/index.html +20 -16
- data/site/docs/collections/index.html +115 -109
- data/site/docs/conduct/index.html +19 -15
- data/site/docs/configuration/index.html +39 -23
- data/site/docs/continuous-integration/buddyworks/index.html +728 -0
- data/site/docs/continuous-integration/circleci/index.html +19 -15
- data/site/docs/continuous-integration/index.html +20 -15
- data/site/docs/continuous-integration/travis-ci/index.html +21 -18
- data/site/docs/contributing/index.html +20 -16
- data/site/docs/datafiles/index.html +23 -15
- data/site/docs/deployment-methods/index.html +24 -20
- data/site/docs/drafts/index.html +19 -15
- data/site/docs/extras/index.html +31 -16
- data/site/docs/frontmatter/index.html +28 -15
- data/site/docs/github-pages/index.html +21 -17
- data/site/docs/history/index.html +521 -315
- data/site/docs/home/index.html +16 -15
- data/site/docs/includes/index.html +21 -17
- data/site/docs/installation/index.html +41 -31
- data/site/docs/maintaining/affinity-team-captain/index.html +19 -15
- data/site/docs/maintaining/avoiding-burnout/index.html +19 -15
- data/site/docs/maintaining/becoming-a-maintainer/index.html +19 -15
- data/site/docs/maintaining/index.html +19 -15
- data/site/docs/maintaining/merging-a-pull-request/index.html +19 -15
- data/site/docs/maintaining/reviewing-a-pull-request/index.html +19 -15
- data/site/docs/maintaining/special-labels/index.html +23 -15
- data/site/docs/maintaining/triaging-an-issue/index.html +20 -16
- data/site/docs/migrations/index.html +19 -15
- data/site/docs/pages/index.html +19 -15
- data/site/docs/pagination/index.html +19 -15
- data/site/docs/permalinks/index.html +19 -15
- data/site/docs/plugins/index.html +36 -23
- data/site/docs/posts/index.html +23 -19
- data/site/docs/quickstart/index.html +18 -17
- data/site/docs/resources/index.html +19 -15
- data/site/docs/sites/index.html +22 -15
- data/site/docs/static-files/index.html +52 -15
- data/site/docs/structure/index.html +19 -15
- data/site/docs/templates/index.html +29 -25
- data/site/docs/themes/index.html +65 -39
- data/site/docs/troubleshooting/index.html +41 -19
- data/site/docs/upgrading/0-to-2/index.html +19 -15
- data/site/docs/upgrading/2-to-3/index.html +20 -16
- data/site/docs/upgrading/index.html +22 -15
- data/site/docs/usage/index.html +20 -16
- data/site/docs/variables/index.html +19 -15
- data/site/docs/windows/index.html +135 -136
- data/site/feed.xml +228 -180
- data/site/help/index.html +11 -13
- data/site/img/jekylllayoutconcept.png +0 -0
- data/site/index.html +7 -14
- data/site/latest_version.txt +1 -1
- data/site/news/2013/05/05/jekyll-1-0-0-released/index.html +33 -19
- data/site/news/2013/05/08/jekyll-1-0-1-released/index.html +33 -19
- data/site/news/2013/05/12/jekyll-1-0-2-released/index.html +33 -19
- data/site/news/2013/06/07/jekyll-1-0-3-released/index.html +33 -19
- data/site/news/2013/07/14/jekyll-1-1-0-released/index.html +33 -19
- data/site/news/2013/07/24/jekyll-1-1-1-released/index.html +33 -19
- data/site/news/2013/07/25/jekyll-1-0-4-released/index.html +33 -19
- data/site/news/2013/07/25/jekyll-1-1-2-released/index.html +33 -19
- data/site/news/2013/09/06/jekyll-1-2-0-released/index.html +33 -19
- data/site/news/2013/09/14/jekyll-1-2-1-released/index.html +33 -19
- data/site/news/2013/10/28/jekyll-1-3-0-rc1-released/index.html +33 -19
- data/site/news/2013/11/04/jekyll-1-3-0-released/index.html +33 -19
- data/site/news/2013/11/26/jekyll-1-3-1-released/index.html +33 -19
- data/site/news/2013/12/07/jekyll-1-4-0-released/index.html +33 -19
- data/site/news/2013/12/09/jekyll-1-4-1-released/index.html +33 -19
- data/site/news/2013/12/16/jekyll-1-4-2-released/index.html +33 -19
- data/site/news/2014/01/13/jekyll-1-4-3-released/index.html +33 -19
- data/site/news/2014/03/24/jekyll-1-5-0-released/index.html +33 -19
- data/site/news/2014/03/27/jekyll-1-5-1-released/index.html +33 -19
- data/site/news/2014/05/06/jekyll-turns-2-0-0/index.html +33 -19
- data/site/news/2014/05/08/jekyll-2-0-3-released/index.html +33 -19
- data/site/news/2014/06/04/jekyll-stickers-1-dollar-stickermule/index.html +35 -21
- data/site/news/2014/06/28/jekyll-turns-21-i-mean-2-1-0/index.html +33 -19
- data/site/news/2014/07/01/jekyll-2-1-1-released/index.html +33 -19
- data/site/news/2014/07/29/jekyll-2-2-0-released/index.html +33 -19
- data/site/news/2014/08/10/jekyll-2-3-0-released/index.html +33 -19
- data/site/news/2014/09/09/jekyll-2-4-0-released/index.html +33 -19
- data/site/news/2014/11/05/jekylls-midlife-crisis-jekyll-turns-2-5-0/index.html +33 -19
- data/site/news/2014/11/09/jekyll-2-5-1-released/index.html +33 -19
- data/site/news/2014/11/12/jekyll-2-5-2-released/index.html +33 -19
- data/site/news/2014/12/17/alfredxing-welcome-to-jekyll-core/index.html +33 -19
- data/site/news/2014/12/22/jekyll-2-5-3-released/index.html +33 -19
- data/site/news/2015/01/20/jekyll-meet-and-greet/index.html +33 -19
- data/site/news/2015/01/24/jekyll-3-0-0-beta1-released/index.html +33 -19
- data/site/news/2015/02/26/introducing-jekyll-talk/index.html +33 -19
- data/site/news/2015/10/26/jekyll-3-0-released/index.html +33 -19
- data/site/news/2015/11/17/jekyll-3-0-1-released/index.html +33 -19
- data/site/news/2016/01/20/jekyll-3-0-2-released/index.html +33 -19
- data/site/news/2016/01/24/jekyll-3-1-0-released/index.html +33 -19
- data/site/news/2016/01/28/jekyll-3-1-1-released/index.html +33 -19
- data/site/news/2016/02/08/jekyll-3-0-3-released/index.html +33 -19
- data/site/news/2016/02/19/jekyll-3-1-2-released/index.html +33 -19
- data/site/news/2016/03/10/making-it-easier-to-contribute-to-jekyll/index.html +33 -19
- data/site/news/2016/04/19/jekyll-3-0-4-released/index.html +33 -19
- data/site/news/2016/04/19/jekyll-3-1-3-released/index.html +33 -19
- data/site/news/2016/04/26/jekyll-3-0-5-released/index.html +33 -19
- data/site/news/2016/05/18/jekyll-3-1-4-released/index.html +33 -19
- data/site/news/2016/05/18/jekyll-3-1-5-released/index.html +33 -19
- data/site/news/2016/05/19/jekyll-3-1-6-released/index.html +33 -19
- data/site/news/2016/06/03/update-on-jekyll-s-google-summer-of-code-projects/index.html +33 -19
- data/site/news/2016/07/26/jekyll-3-2-0-released/index.html +35 -21
- data/site/news/2016/08/02/jekyll-3-2-1-released/index.html +34 -20
- data/site/news/2016/08/24/jekyll-admin-initial-release/index.html +33 -19
- data/site/news/2016/10/06/jekyll-3-3-is-here/index.html +35 -21
- data/site/news/2016/11/14/jekyll-3-3-1-released/index.html +34 -20
- data/site/news/2017/01/18/jekyll-3-4-0-released/index.html +36 -22
- data/site/news/2017/03/02/jekyll-3-4-1-released/index.html +651 -0
- data/site/news/2017/03/09/jekyll-3-4-2-released/index.html +592 -0
- data/site/news/2017/03/21/jekyll-3-4-3-released/index.html +588 -0
- data/site/news/2017/06/15/jekyll-3-5-0-released/index.html +581 -0
- data/site/news/2017/07/17/jekyll-3-5-1-released/index.html +561 -0
- data/site/news/index.html +405 -22
- data/site/news/releases/index.html +405 -22
- data/site/philosophy.html +46 -0
- data/site/sitemap.xml +95 -48
- data/site/tutorials/convert-site-to-jekyll/index.html +851 -0
- data/site/tutorials/custom-404-page/index.html +366 -0
- data/site/tutorials/home/index.html +323 -0
- data/site/tutorials/index.html +10 -0
- data/site/tutorials/navigation/index.html +908 -0
- data/site/tutorials/orderofinterpretation/index.html +459 -0
- metadata +20 -7
- data/site/feed.xslt.xml +0 -4
|
@@ -4,35 +4,28 @@
|
|
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
7
|
-
<meta name="generator" content="Jekyll v3.
|
|
7
|
+
<meta name="generator" content="Jekyll v3.5.1">
|
|
8
8
|
<link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites">
|
|
9
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
10
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
|
|
11
11
|
<link rel="stylesheet" href="/css/screen.css">
|
|
12
12
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
|
13
|
-
<!-- Begin Jekyll SEO tag v2.
|
|
14
|
-
<title>Upgrading from 2.x to 3.x
|
|
13
|
+
<!-- Begin Jekyll SEO tag v2.2.3 -->
|
|
14
|
+
<title>Upgrading from 2.x to 3.x | Jekyll • Simple, blog-aware, static sites</title>
|
|
15
15
|
<meta property="og:title" content="Upgrading from 2.x to 3.x">
|
|
16
|
+
<meta property="og:locale" content="en_US">
|
|
16
17
|
<meta name="description" content="Upgrading from an older version of Jekyll? A few things have changed in 3.0 that you’ll want to know about.">
|
|
17
18
|
<meta property="og:description" content="Upgrading from an older version of Jekyll? A few things have changed in 3.0 that you’ll want to know about.">
|
|
18
19
|
<link rel="canonical" href="https://jekyllrb.com/docs/upgrading/2-to-3/">
|
|
19
20
|
<meta property="og:url" content="https://jekyllrb.com/docs/upgrading/2-to-3/">
|
|
20
21
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites">
|
|
21
22
|
<meta property="og:type" content="article">
|
|
22
|
-
<meta property="article:published_time" content="2017-
|
|
23
|
+
<meta property="article:published_time" content="2017-07-17T13:16:40-07:00">
|
|
23
24
|
<meta name="twitter:card" content="summary">
|
|
24
25
|
<meta name="twitter:site" content="@jekyllrb">
|
|
25
26
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
|
|
26
27
|
<script type="application/ld+json">
|
|
27
|
-
{"@context":
|
|
28
|
-
"@type": "BlogPosting",
|
|
29
|
-
"headline": "Upgrading from 2.x to 3.x",
|
|
30
|
-
"datePublished": "2017-03-22T08:08:47-07:00",
|
|
31
|
-
"description": "Upgrading from an older version of Jekyll? A few things have changed in 3.0 that you’ll want to know about.",
|
|
32
|
-
"publisher": {"@type": "Organization",
|
|
33
|
-
"logo": {"@type": "ImageObject",
|
|
34
|
-
"url": "https://jekyllrb.com/img/logo-2x.png"}},
|
|
35
|
-
"url": "https://jekyllrb.com/docs/upgrading/2-to-3/"}</script>
|
|
28
|
+
{"@context":"http://schema.org","@type":"BlogPosting","headline":"Upgrading from 2.x to 3.x","datePublished":"2017-07-17T13:16:40-07:00","dateModified":"2017-07-17T13:16:40-07:00","description":"Upgrading from an older version of Jekyll? A few things have changed in 3.0 that you’ll want to know about.","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/upgrading/2-to-3/"},"url":"https://jekyllrb.com/docs/upgrading/2-to-3/"}</script>
|
|
36
29
|
<!-- End Jekyll SEO tag -->
|
|
37
30
|
|
|
38
31
|
<!--[if lt IE 9]>
|
|
@@ -62,7 +55,7 @@
|
|
|
62
55
|
<a href="/help/">Help</a>
|
|
63
56
|
</li>
|
|
64
57
|
<li>
|
|
65
|
-
<a href="https://github.com/jekyll/jekyll"
|
|
58
|
+
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
|
66
59
|
</li>
|
|
67
60
|
</ul>
|
|
68
61
|
|
|
@@ -94,7 +87,7 @@
|
|
|
94
87
|
<a href="/help/">Help</a>
|
|
95
88
|
</li>
|
|
96
89
|
<li>
|
|
97
|
-
<a href="https://github.com/jekyll/jekyll"
|
|
90
|
+
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
|
98
91
|
</li>
|
|
99
92
|
</ul>
|
|
100
93
|
|
|
@@ -126,6 +119,10 @@
|
|
|
126
119
|
|
|
127
120
|
|
|
128
121
|
|
|
122
|
+
<option value="/docs/windows/">Jekyll on Windows</option>
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
129
126
|
<option value="/docs/usage/">Basic Usage</option>
|
|
130
127
|
|
|
131
128
|
|
|
@@ -300,7 +297,7 @@ that you’ll want to know about.</p>
|
|
|
300
297
|
</code></pre>
|
|
301
298
|
</div>
|
|
302
299
|
|
|
303
|
-
<p>Please note: Jekyll 3 requires Ruby version >= 2.
|
|
300
|
+
<p>Please note: Jekyll 3.2 requires Ruby version >= 2.1</p>
|
|
304
301
|
|
|
305
302
|
<div class="note feature">
|
|
306
303
|
<h5>Diving in</h5>
|
|
@@ -532,6 +529,9 @@ https://jekyllrb.com/docs/upgrading/ for more info.
|
|
|
532
529
|
|
|
533
530
|
|
|
534
531
|
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
535
535
|
|
|
536
536
|
|
|
537
537
|
|
|
@@ -577,6 +577,10 @@ https://jekyllrb.com/docs/upgrading/ for more info.
|
|
|
577
577
|
|
|
578
578
|
|
|
579
579
|
|
|
580
|
+
<li class=""><a href="/docs/windows/">Jekyll on Windows</a></li>
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
|
|
580
584
|
<li class=""><a href="/docs/usage/">Basic Usage</a></li>
|
|
581
585
|
|
|
582
586
|
|
|
@@ -4,35 +4,28 @@
|
|
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
7
|
-
<meta name="generator" content="Jekyll v3.
|
|
7
|
+
<meta name="generator" content="Jekyll v3.5.1">
|
|
8
8
|
<link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites">
|
|
9
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
10
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
|
|
11
11
|
<link rel="stylesheet" href="/css/screen.css">
|
|
12
12
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
|
13
|
-
<!-- Begin Jekyll SEO tag v2.
|
|
14
|
-
<title>Upgrading
|
|
13
|
+
<!-- Begin Jekyll SEO tag v2.2.3 -->
|
|
14
|
+
<title>Upgrading | Jekyll • Simple, blog-aware, static sites</title>
|
|
15
15
|
<meta property="og:title" content="Upgrading">
|
|
16
|
+
<meta property="og:locale" content="en_US">
|
|
16
17
|
<meta name="description" content="Upgrading from an older version of Jekyll? Upgrading to a new major version of Jekyll (e.g. from v2.x to v3.x) may cause some headaches. Take the following guides to aid your upgrade:">
|
|
17
18
|
<meta property="og:description" content="Upgrading from an older version of Jekyll? Upgrading to a new major version of Jekyll (e.g. from v2.x to v3.x) may cause some headaches. Take the following guides to aid your upgrade:">
|
|
18
19
|
<link rel="canonical" href="https://jekyllrb.com/docs/upgrading/">
|
|
19
20
|
<meta property="og:url" content="https://jekyllrb.com/docs/upgrading/">
|
|
20
21
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites">
|
|
21
22
|
<meta property="og:type" content="article">
|
|
22
|
-
<meta property="article:published_time" content="2017-
|
|
23
|
+
<meta property="article:published_time" content="2017-07-17T13:16:40-07:00">
|
|
23
24
|
<meta name="twitter:card" content="summary">
|
|
24
25
|
<meta name="twitter:site" content="@jekyllrb">
|
|
25
26
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
|
|
26
27
|
<script type="application/ld+json">
|
|
27
|
-
{"@context":
|
|
28
|
-
"@type": "BlogPosting",
|
|
29
|
-
"headline": "Upgrading",
|
|
30
|
-
"datePublished": "2017-03-22T08:08:47-07:00",
|
|
31
|
-
"description": "Upgrading from an older version of Jekyll? Upgrading to a new major version of Jekyll (e.g. from v2.x to v3.x) may cause some headaches. Take the following guides to aid your upgrade:",
|
|
32
|
-
"publisher": {"@type": "Organization",
|
|
33
|
-
"logo": {"@type": "ImageObject",
|
|
34
|
-
"url": "https://jekyllrb.com/img/logo-2x.png"}},
|
|
35
|
-
"url": "https://jekyllrb.com/docs/upgrading/"}</script>
|
|
28
|
+
{"@context":"http://schema.org","@type":"BlogPosting","headline":"Upgrading","datePublished":"2017-07-17T13:16:40-07:00","dateModified":"2017-07-17T13:16:40-07:00","description":"Upgrading from an older version of Jekyll? Upgrading to a new major version of Jekyll (e.g. from v2.x to v3.x) may cause some headaches. Take the following guides to aid your upgrade:","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/upgrading/"},"url":"https://jekyllrb.com/docs/upgrading/"}</script>
|
|
36
29
|
<!-- End Jekyll SEO tag -->
|
|
37
30
|
|
|
38
31
|
<!--[if lt IE 9]>
|
|
@@ -62,7 +55,7 @@
|
|
|
62
55
|
<a href="/help/">Help</a>
|
|
63
56
|
</li>
|
|
64
57
|
<li>
|
|
65
|
-
<a href="https://github.com/jekyll/jekyll"
|
|
58
|
+
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
|
66
59
|
</li>
|
|
67
60
|
</ul>
|
|
68
61
|
|
|
@@ -94,7 +87,7 @@
|
|
|
94
87
|
<a href="/help/">Help</a>
|
|
95
88
|
</li>
|
|
96
89
|
<li>
|
|
97
|
-
<a href="https://github.com/jekyll/jekyll"
|
|
90
|
+
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
|
98
91
|
</li>
|
|
99
92
|
</ul>
|
|
100
93
|
|
|
@@ -126,6 +119,10 @@
|
|
|
126
119
|
|
|
127
120
|
|
|
128
121
|
|
|
122
|
+
<option value="/docs/windows/">Jekyll on Windows</option>
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
129
126
|
<option value="/docs/usage/">Basic Usage</option>
|
|
130
127
|
|
|
131
128
|
|
|
@@ -297,6 +294,9 @@
|
|
|
297
294
|
<li><a href="/docs/upgrading/2-to-3/">From 2.x to 3.x</a></li>
|
|
298
295
|
</ul>
|
|
299
296
|
|
|
297
|
+
<p>If you are making a minor update (for example from 3.3.1 to the latest version at the time 3.3.2) run ‘bundle update jekyll’ when in your site directory.
|
|
298
|
+
If you would like to update all your gems, run ‘bundle update’ when in your site directory.</p>
|
|
299
|
+
|
|
300
300
|
|
|
301
301
|
|
|
302
302
|
|
|
@@ -404,6 +404,9 @@
|
|
|
404
404
|
|
|
405
405
|
|
|
406
406
|
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
407
410
|
|
|
408
411
|
|
|
409
412
|
|
|
@@ -431,6 +434,10 @@
|
|
|
431
434
|
|
|
432
435
|
|
|
433
436
|
|
|
437
|
+
<li class=""><a href="/docs/windows/">Jekyll on Windows</a></li>
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
434
441
|
<li class=""><a href="/docs/usage/">Basic Usage</a></li>
|
|
435
442
|
|
|
436
443
|
|
data/site/docs/usage/index.html
CHANGED
|
@@ -4,35 +4,28 @@
|
|
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
7
|
-
<meta name="generator" content="Jekyll v3.
|
|
7
|
+
<meta name="generator" content="Jekyll v3.5.1">
|
|
8
8
|
<link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites">
|
|
9
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
10
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
|
|
11
11
|
<link rel="stylesheet" href="/css/screen.css">
|
|
12
12
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
|
13
|
-
<!-- Begin Jekyll SEO tag v2.
|
|
14
|
-
<title>Basic Usage
|
|
13
|
+
<!-- Begin Jekyll SEO tag v2.2.3 -->
|
|
14
|
+
<title>Basic Usage | Jekyll • Simple, blog-aware, static sites</title>
|
|
15
15
|
<meta property="og:title" content="Basic Usage">
|
|
16
|
+
<meta property="og:locale" content="en_US">
|
|
16
17
|
<meta name="description" content="The Jekyll gem makes a jekyll executable available to you in your Terminal window. You can use this command in a number of ways:">
|
|
17
18
|
<meta property="og:description" content="The Jekyll gem makes a jekyll executable available to you in your Terminal window. You can use this command in a number of ways:">
|
|
18
19
|
<link rel="canonical" href="https://jekyllrb.com/docs/usage/">
|
|
19
20
|
<meta property="og:url" content="https://jekyllrb.com/docs/usage/">
|
|
20
21
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites">
|
|
21
22
|
<meta property="og:type" content="article">
|
|
22
|
-
<meta property="article:published_time" content="2017-
|
|
23
|
+
<meta property="article:published_time" content="2017-07-17T13:16:40-07:00">
|
|
23
24
|
<meta name="twitter:card" content="summary">
|
|
24
25
|
<meta name="twitter:site" content="@jekyllrb">
|
|
25
26
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
|
|
26
27
|
<script type="application/ld+json">
|
|
27
|
-
{"@context":
|
|
28
|
-
"@type": "BlogPosting",
|
|
29
|
-
"headline": "Basic Usage",
|
|
30
|
-
"datePublished": "2017-03-22T08:08:47-07:00",
|
|
31
|
-
"description": "The Jekyll gem makes a jekyll executable available to you in your Terminal window. You can use this command in a number of ways:",
|
|
32
|
-
"publisher": {"@type": "Organization",
|
|
33
|
-
"logo": {"@type": "ImageObject",
|
|
34
|
-
"url": "https://jekyllrb.com/img/logo-2x.png"}},
|
|
35
|
-
"url": "https://jekyllrb.com/docs/usage/"}</script>
|
|
28
|
+
{"@context":"http://schema.org","@type":"BlogPosting","headline":"Basic Usage","datePublished":"2017-07-17T13:16:40-07:00","dateModified":"2017-07-17T13:16:40-07:00","description":"The Jekyll gem makes a jekyll executable available to you in your Terminal window. You can use this command in a number of ways:","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/usage/"},"url":"https://jekyllrb.com/docs/usage/"}</script>
|
|
36
29
|
<!-- End Jekyll SEO tag -->
|
|
37
30
|
|
|
38
31
|
<!--[if lt IE 9]>
|
|
@@ -62,7 +55,7 @@
|
|
|
62
55
|
<a href="/help/">Help</a>
|
|
63
56
|
</li>
|
|
64
57
|
<li>
|
|
65
|
-
<a href="https://github.com/jekyll/jekyll"
|
|
58
|
+
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
|
66
59
|
</li>
|
|
67
60
|
</ul>
|
|
68
61
|
|
|
@@ -94,7 +87,7 @@
|
|
|
94
87
|
<a href="/help/">Help</a>
|
|
95
88
|
</li>
|
|
96
89
|
<li>
|
|
97
|
-
<a href="https://github.com/jekyll/jekyll"
|
|
90
|
+
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
|
98
91
|
</li>
|
|
99
92
|
</ul>
|
|
100
93
|
|
|
@@ -126,6 +119,10 @@
|
|
|
126
119
|
|
|
127
120
|
|
|
128
121
|
|
|
122
|
+
<option value="/docs/windows/">Jekyll on Windows</option>
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
129
126
|
<option value="/docs/usage/">Basic Usage</option>
|
|
130
127
|
|
|
131
128
|
|
|
@@ -414,13 +411,16 @@ in your <code class="highlighter-rouge">_config.yml</code> file:</p>
|
|
|
414
411
|
|
|
415
412
|
|
|
416
413
|
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
417
417
|
|
|
418
418
|
<div class="section-nav">
|
|
419
419
|
<div class="left align-right">
|
|
420
420
|
|
|
421
421
|
|
|
422
422
|
|
|
423
|
-
<a href="/docs/
|
|
423
|
+
<a href="/docs/windows/" class="prev">Back</a>
|
|
424
424
|
|
|
425
425
|
</div>
|
|
426
426
|
<div class="right align-left">
|
|
@@ -456,6 +456,10 @@ in your <code class="highlighter-rouge">_config.yml</code> file:</p>
|
|
|
456
456
|
|
|
457
457
|
|
|
458
458
|
|
|
459
|
+
<li class=""><a href="/docs/windows/">Jekyll on Windows</a></li>
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
|
|
459
463
|
<li class="current"><a href="/docs/usage/">Basic Usage</a></li>
|
|
460
464
|
|
|
461
465
|
|
|
@@ -4,35 +4,28 @@
|
|
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
7
|
-
<meta name="generator" content="Jekyll v3.
|
|
7
|
+
<meta name="generator" content="Jekyll v3.5.1">
|
|
8
8
|
<link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites">
|
|
9
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
10
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
|
|
11
11
|
<link rel="stylesheet" href="/css/screen.css">
|
|
12
12
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
|
13
|
-
<!-- Begin Jekyll SEO tag v2.
|
|
14
|
-
<title>Variables
|
|
13
|
+
<!-- Begin Jekyll SEO tag v2.2.3 -->
|
|
14
|
+
<title>Variables | Jekyll • Simple, blog-aware, static sites</title>
|
|
15
15
|
<meta property="og:title" content="Variables">
|
|
16
|
+
<meta property="og:locale" content="en_US">
|
|
16
17
|
<meta name="description" content="Jekyll traverses your site looking for files to process. Any files with YAML front matter are subject to processing. For each of these files, Jekyll makes a variety of data available via the Liquid templating system. The following is a reference of the available data.">
|
|
17
18
|
<meta property="og:description" content="Jekyll traverses your site looking for files to process. Any files with YAML front matter are subject to processing. For each of these files, Jekyll makes a variety of data available via the Liquid templating system. The following is a reference of the available data.">
|
|
18
19
|
<link rel="canonical" href="https://jekyllrb.com/docs/variables/">
|
|
19
20
|
<meta property="og:url" content="https://jekyllrb.com/docs/variables/">
|
|
20
21
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites">
|
|
21
22
|
<meta property="og:type" content="article">
|
|
22
|
-
<meta property="article:published_time" content="2017-
|
|
23
|
+
<meta property="article:published_time" content="2017-07-17T13:16:40-07:00">
|
|
23
24
|
<meta name="twitter:card" content="summary">
|
|
24
25
|
<meta name="twitter:site" content="@jekyllrb">
|
|
25
26
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
|
|
26
27
|
<script type="application/ld+json">
|
|
27
|
-
{"@context":
|
|
28
|
-
"@type": "BlogPosting",
|
|
29
|
-
"headline": "Variables",
|
|
30
|
-
"datePublished": "2017-03-22T08:08:47-07:00",
|
|
31
|
-
"description": "Jekyll traverses your site looking for files to process. Any files with YAML front matter are subject to processing. For each of these files, Jekyll makes a variety of data available via the Liquid templating system. The following is a reference of the available data.",
|
|
32
|
-
"publisher": {"@type": "Organization",
|
|
33
|
-
"logo": {"@type": "ImageObject",
|
|
34
|
-
"url": "https://jekyllrb.com/img/logo-2x.png"}},
|
|
35
|
-
"url": "https://jekyllrb.com/docs/variables/"}</script>
|
|
28
|
+
{"@context":"http://schema.org","@type":"BlogPosting","headline":"Variables","datePublished":"2017-07-17T13:16:40-07:00","dateModified":"2017-07-17T13:16:40-07:00","description":"Jekyll traverses your site looking for files to process. Any files with YAML front matter are subject to processing. For each of these files, Jekyll makes a variety of data available via the Liquid templating system. The following is a reference of the available data.","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/variables/"},"url":"https://jekyllrb.com/docs/variables/"}</script>
|
|
36
29
|
<!-- End Jekyll SEO tag -->
|
|
37
30
|
|
|
38
31
|
<!--[if lt IE 9]>
|
|
@@ -62,7 +55,7 @@
|
|
|
62
55
|
<a href="/help/">Help</a>
|
|
63
56
|
</li>
|
|
64
57
|
<li>
|
|
65
|
-
<a href="https://github.com/jekyll/jekyll"
|
|
58
|
+
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
|
66
59
|
</li>
|
|
67
60
|
</ul>
|
|
68
61
|
|
|
@@ -94,7 +87,7 @@
|
|
|
94
87
|
<a href="/help/">Help</a>
|
|
95
88
|
</li>
|
|
96
89
|
<li>
|
|
97
|
-
<a href="https://github.com/jekyll/jekyll"
|
|
90
|
+
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
|
98
91
|
</li>
|
|
99
92
|
</ul>
|
|
100
93
|
|
|
@@ -126,6 +119,10 @@
|
|
|
126
119
|
|
|
127
120
|
|
|
128
121
|
|
|
122
|
+
<option value="/docs/windows/">Jekyll on Windows</option>
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
129
126
|
<option value="/docs/usage/">Basic Usage</option>
|
|
130
127
|
|
|
131
128
|
|
|
@@ -728,6 +725,9 @@ following is a reference of the available data.</p>
|
|
|
728
725
|
|
|
729
726
|
|
|
730
727
|
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
|
|
731
731
|
|
|
732
732
|
|
|
733
733
|
|
|
@@ -773,6 +773,10 @@ following is a reference of the available data.</p>
|
|
|
773
773
|
|
|
774
774
|
|
|
775
775
|
|
|
776
|
+
<li class=""><a href="/docs/windows/">Jekyll on Windows</a></li>
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
|
|
776
780
|
<li class=""><a href="/docs/usage/">Basic Usage</a></li>
|
|
777
781
|
|
|
778
782
|
|
|
@@ -4,35 +4,28 @@
|
|
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
7
|
-
<meta name="generator" content="Jekyll v3.
|
|
7
|
+
<meta name="generator" content="Jekyll v3.5.1">
|
|
8
8
|
<link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites">
|
|
9
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
10
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
|
|
11
11
|
<link rel="stylesheet" href="/css/screen.css">
|
|
12
12
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
|
13
|
-
<!-- Begin Jekyll SEO tag v2.
|
|
14
|
-
<title>Jekyll on Windows
|
|
13
|
+
<!-- Begin Jekyll SEO tag v2.2.3 -->
|
|
14
|
+
<title>Jekyll on Windows | Jekyll • Simple, blog-aware, static sites</title>
|
|
15
15
|
<meta property="og:title" content="Jekyll on Windows">
|
|
16
|
+
<meta property="og:locale" content="en_US">
|
|
16
17
|
<meta name="description" content="While Windows is not an officially-supported platform, it can be used to run Jekyll with the proper tweaks. This page aims to collect some of the general knowledge and lessons that have been unearthed by Windows users.">
|
|
17
18
|
<meta property="og:description" content="While Windows is not an officially-supported platform, it can be used to run Jekyll with the proper tweaks. This page aims to collect some of the general knowledge and lessons that have been unearthed by Windows users.">
|
|
18
19
|
<link rel="canonical" href="https://jekyllrb.com/docs/windows/">
|
|
19
20
|
<meta property="og:url" content="https://jekyllrb.com/docs/windows/">
|
|
20
21
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites">
|
|
21
22
|
<meta property="og:type" content="article">
|
|
22
|
-
<meta property="article:published_time" content="2017-
|
|
23
|
+
<meta property="article:published_time" content="2017-07-17T13:16:40-07:00">
|
|
23
24
|
<meta name="twitter:card" content="summary">
|
|
24
25
|
<meta name="twitter:site" content="@jekyllrb">
|
|
25
26
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
|
|
26
27
|
<script type="application/ld+json">
|
|
27
|
-
{"@context":
|
|
28
|
-
"@type": "BlogPosting",
|
|
29
|
-
"headline": "Jekyll on Windows",
|
|
30
|
-
"datePublished": "2017-03-22T08:08:47-07:00",
|
|
31
|
-
"description": "While Windows is not an officially-supported platform, it can be used to run Jekyll with the proper tweaks. This page aims to collect some of the general knowledge and lessons that have been unearthed by Windows users.",
|
|
32
|
-
"publisher": {"@type": "Organization",
|
|
33
|
-
"logo": {"@type": "ImageObject",
|
|
34
|
-
"url": "https://jekyllrb.com/img/logo-2x.png"}},
|
|
35
|
-
"url": "https://jekyllrb.com/docs/windows/"}</script>
|
|
28
|
+
{"@context":"http://schema.org","@type":"BlogPosting","headline":"Jekyll on Windows","datePublished":"2017-07-17T13:16:40-07:00","dateModified":"2017-07-17T13:16:40-07:00","description":"While Windows is not an officially-supported platform, it can be used to run Jekyll with the proper tweaks. This page aims to collect some of the general knowledge and lessons that have been unearthed by Windows users.","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/windows/"},"url":"https://jekyllrb.com/docs/windows/"}</script>
|
|
36
29
|
<!-- End Jekyll SEO tag -->
|
|
37
30
|
|
|
38
31
|
<!--[if lt IE 9]>
|
|
@@ -62,7 +55,7 @@
|
|
|
62
55
|
<a href="/help/">Help</a>
|
|
63
56
|
</li>
|
|
64
57
|
<li>
|
|
65
|
-
<a href="https://github.com/jekyll/jekyll"
|
|
58
|
+
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
|
66
59
|
</li>
|
|
67
60
|
</ul>
|
|
68
61
|
|
|
@@ -94,7 +87,7 @@
|
|
|
94
87
|
<a href="/help/">Help</a>
|
|
95
88
|
</li>
|
|
96
89
|
<li>
|
|
97
|
-
<a href="https://github.com/jekyll/jekyll"
|
|
90
|
+
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
|
98
91
|
</li>
|
|
99
92
|
</ul>
|
|
100
93
|
|
|
@@ -126,6 +119,10 @@
|
|
|
126
119
|
|
|
127
120
|
|
|
128
121
|
|
|
122
|
+
<option value="/docs/windows/">Jekyll on Windows</option>
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
129
126
|
<option value="/docs/usage/">Basic Usage</option>
|
|
130
127
|
|
|
131
128
|
|
|
@@ -290,69 +287,99 @@
|
|
|
290
287
|
<a href="https://github.com/jekyll/jekyll/edit/master/docs/_docs/windows.md"><i class="fa fa-pencil"></i> Improve this page</a>
|
|
291
288
|
</div>
|
|
292
289
|
<h1>Jekyll on Windows</h1>
|
|
293
|
-
<p>While Windows is not an officially-supported platform, it can be used to run
|
|
294
|
-
Jekyll with the proper tweaks. This page aims to collect some of the general
|
|
295
|
-
knowledge and lessons that have been unearthed by Windows users.</p>
|
|
290
|
+
<p>While Windows is not an officially-supported platform, it can be used to run Jekyll with the proper tweaks. This page aims to collect some of the general knowledge and lessons that have been unearthed by Windows users.</p>
|
|
296
291
|
|
|
297
|
-
<h2 id="
|
|
292
|
+
<h2 id="installing-jekyll">Installing Jekyll</h2>
|
|
298
293
|
|
|
299
|
-
<p>
|
|
294
|
+
<p>If you are using Windows 10 Anniversary Update, the easiest way to run Jekyll is by <a href="https://msdn.microsoft.com/en-us/commandline/wsl/install_guide">installing</a> the new Bash on Ubuntu on Windows.</p>
|
|
300
295
|
|
|
301
|
-
<
|
|
302
|
-
<li>Install a package manager for Windows called <a href="https://chocolatey.org/install">Chocolatey</a>
|
|
303
|
-
</li>
|
|
304
|
-
<li>Install Ruby via Chocolatey: <code class="highlighter-rouge">choco install ruby -y</code>
|
|
305
|
-
</li>
|
|
306
|
-
<li>Reopen a command prompt and install Jekyll: <code class="highlighter-rouge">gem install jekyll</code>
|
|
307
|
-
</li>
|
|
308
|
-
</ol>
|
|
296
|
+
<h3 id="installation-via-bash-on-windows-10">Installation via Bash on Windows 10</h3>
|
|
309
297
|
|
|
310
|
-
<p>
|
|
298
|
+
<p><em>Note:</em> You must have <a href="https://msdn.microsoft.com/en-us/commandline/wsl/about">Bash on Ubuntu on Windows</a> enabled.</p>
|
|
311
299
|
|
|
312
|
-
<p>
|
|
300
|
+
<p>First let’s make sure all our packages / repositories are up to date. Open a new Command Prompt instance, and type the following:</p>
|
|
313
301
|
|
|
314
|
-
<
|
|
302
|
+
<div class="highlighter-rouge">
|
|
303
|
+
<pre class="highlight"><code>bash
|
|
304
|
+
</code></pre>
|
|
305
|
+
</div>
|
|
306
|
+
<p>Your Command Prompt instance should now be a Bash instance. Now we must update our repo lists and packages.</p>
|
|
315
307
|
|
|
316
|
-
<
|
|
317
|
-
|
|
318
|
-
|
|
308
|
+
<div class="highlighter-rouge">
|
|
309
|
+
<pre class="highlight"><code>sudo apt-get update -y && sudo apt-get upgrade -y
|
|
310
|
+
</code></pre>
|
|
311
|
+
</div>
|
|
312
|
+
<p>Now we can install Ruby. To do this we will use a repository from <a href="https://www.brightbox.com/docs/ruby/ubuntu/">BrightBox</a>, which hosts optimized versions of Ruby for Ubuntu.</p>
|
|
319
313
|
|
|
320
|
-
<
|
|
321
|
-
|
|
322
|
-
|
|
314
|
+
<div class="highlighter-rouge">
|
|
315
|
+
<pre class="highlight"><code>sudo apt-add-repository ppa:brightbox/ruby-ng
|
|
316
|
+
sudo apt-get update
|
|
317
|
+
sudo apt-get install ruby2.3 ruby2.3-dev build-essential
|
|
318
|
+
</code></pre>
|
|
319
|
+
</div>
|
|
323
320
|
|
|
324
|
-
<
|
|
325
|
-
|
|
321
|
+
<p>Next let’s update our Ruby gems:</p>
|
|
322
|
+
|
|
323
|
+
<div class="highlighter-rouge">
|
|
324
|
+
<pre class="highlight"><code>sudo gem update
|
|
326
325
|
</code></pre>
|
|
327
326
|
</div>
|
|
328
327
|
|
|
329
|
-
<
|
|
328
|
+
<p>Now all that is left to do is install Jekyll.</p>
|
|
330
329
|
|
|
331
|
-
<
|
|
332
|
-
|
|
330
|
+
<div class="highlighter-rouge">
|
|
331
|
+
<pre class="highlight"><code>sudo gem install jekyll bundler
|
|
332
|
+
</code></pre>
|
|
333
|
+
</div>
|
|
333
334
|
|
|
334
|
-
<p>
|
|
335
|
-
While ‘new’ blogs created with Jekyll v3.4 and greater, will have the following added to their ‘Gemfile’ by default, existing sites <em>will</em> have to update their ‘Gemfile’ (and installed) to enable development on Windows:</p>
|
|
335
|
+
<p>Check if Jekyll installed properly by running:</p>
|
|
336
336
|
|
|
337
|
-
<div class="
|
|
338
|
-
<pre class="highlight"><code
|
|
339
|
-
<span class="n">gem</span> <span class="s1">'tzinfo-data'</span><span class="p">,</span> <span class="ss">platforms: </span><span class="p">[</span><span class="ss">:mingw</span><span class="p">,</span> <span class="ss">:mswin</span><span class="p">,</span> <span class="ss">:x64_mingw</span><span class="p">,</span> <span class="ss">:jruby</span><span class="p">]</span>
|
|
337
|
+
<div class="highlighter-rouge">
|
|
338
|
+
<pre class="highlight"><code>jekyll -v
|
|
340
339
|
</code></pre>
|
|
341
340
|
</div>
|
|
342
341
|
|
|
343
|
-
<
|
|
342
|
+
<p><strong>And that’s it!</strong></p>
|
|
344
343
|
|
|
345
|
-
<p>
|
|
346
|
-
<code class="highlighter-rouge">--watch</code> switch is specified during a build or serve. While <code class="highlighter-rouge">listen</code> has
|
|
347
|
-
built-in support for UNIX systems, it requires an extra gem for compatibility
|
|
348
|
-
with Windows. Add the following to the Gemfile for your site:</p>
|
|
344
|
+
<p>To start a new project named <code class="highlighter-rouge">my_blog</code>, just run:</p>
|
|
349
345
|
|
|
350
|
-
<div class="
|
|
351
|
-
<pre class="highlight"><code
|
|
346
|
+
<div class="highlighter-rouge">
|
|
347
|
+
<pre class="highlight"><code>jekyll new my_blog
|
|
352
348
|
</code></pre>
|
|
353
349
|
</div>
|
|
354
350
|
|
|
355
|
-
<
|
|
351
|
+
<p>You can make sure time management is working properly by inspecting your <code class="highlighter-rouge">_posts</code> folder. You should see a markdown file with the current date in the filename.</p>
|
|
352
|
+
|
|
353
|
+
<p><strong>Note:</strong> Bash on Ubuntu on Windows is still under development, so you may run into issues.</p>
|
|
354
|
+
|
|
355
|
+
<h3 id="installation-via-rubyinstaller">Installation via RubyInstaller</h3>
|
|
356
|
+
|
|
357
|
+
<p><a href="https://rubyinstaller.org/">RubyInstaller</a> is a self-contained Windows-based installer that includes the Ruby language, an execution environment, important documentation, and more.</p>
|
|
358
|
+
|
|
359
|
+
<ol>
|
|
360
|
+
<li>Download and Install a package manager version from <a href="https://rubyinstaller.org/downloads/">RubyInstaller Downloads</a>.</li>
|
|
361
|
+
<li>Install Jekyll and Bundler via a command prompt window: <code class="highlighter-rouge">gem install jekyll bundler</code>
|
|
362
|
+
</li>
|
|
363
|
+
<li>Check if Jekyll installed properly: <code class="highlighter-rouge">jekyll -v</code>
|
|
364
|
+
</li>
|
|
365
|
+
</ol>
|
|
366
|
+
|
|
367
|
+
<h3 id="installation-via-chocolatey">Installation via Chocolatey</h3>
|
|
368
|
+
|
|
369
|
+
<p>A quick way to install Jekyll using Chocolatey is to follow the <a href="https://davidburela.wordpress.com/2015/11/28/easily-install-jekyll-on-windows-with-3-command-prompt-entries-and-chocolatey/">installation instructions by David Burela</a>:</p>
|
|
370
|
+
|
|
371
|
+
<ol>
|
|
372
|
+
<li>Install a package manager for Windows called <a href="https://chocolatey.org/install" title="Package manager for Windows">Chocolatey</a>
|
|
373
|
+
</li>
|
|
374
|
+
<li>Install Ruby via Chocolatey: <code class="highlighter-rouge">choco install ruby -y</code>
|
|
375
|
+
</li>
|
|
376
|
+
<li>Reopen a command prompt and install Jekyll: <code class="highlighter-rouge">gem install jekyll</code>
|
|
377
|
+
</li>
|
|
378
|
+
</ol>
|
|
379
|
+
|
|
380
|
+
<p>Updates in the infrastructure of Ruby may cause SSL errors when attempting to use <code class="highlighter-rouge">gem install</code> with versions of the RubyGems package older than 2.6. (The RubyGems package installed via the Chocolatey tool is version 2.3) If you have installed an older version, you can update the RubyGems package using the directions <a href="http://guides.rubygems.org/ssl-certificate-update/#installing-using-update-packages">here</a>.</p>
|
|
381
|
+
|
|
382
|
+
<h3 id="installing-github-pages-via-chocolatey">Installing <em>github-pages</em> via Chocolatey</h3>
|
|
356
383
|
|
|
357
384
|
<p>This section is part of an article written by <a href="https://jwillmer.de/blog/tutorial/how-to-install-jekyll-and-pages-gem-on-windows-10-x46" title="Installation instructions by Jens Willmer">Jens Willmer</a>. To follow the instructions you need to have <a href="https://chocolatey.org/install" title="Package manager for Windows">Chocolatey</a> installed on your system. If you already have a version of Ruby installed you need to uninstall it before you can continue.</p>
|
|
358
385
|
|
|
@@ -427,110 +454,61 @@ with Windows. Add the following to the Gemfile for your site:</p>
|
|
|
427
454
|
</li>
|
|
428
455
|
</ul>
|
|
429
456
|
|
|
430
|
-
<p>After this process you should have github-pages installed on your system and you can host your blog again with <code class="highlighter-rouge">jekyll s</code>.
|
|
457
|
+
<p>After this process you should have github-pages installed on your system and you can host your blog again with <code class="highlighter-rouge">jekyll s</code>.
|
|
431
458
|
There will be a warning on startup that you should include <code class="highlighter-rouge">gem 'wdm', '>= 0.1.0' if Gem.win_platform?</code> to your <code class="highlighter-rouge">Gemfile</code> but I could not get <code class="highlighter-rouge">jekyll s</code> working if I include that line so for the moment I ignore that warning.</p>
|
|
432
459
|
|
|
433
460
|
<p>In the future the installation process of the github-pages should be as simple as the setup of the blog. But as long as the new version of the Nokogiri (<a href="https://github.com/sparklemotion/nokogiri/releases" title="Nokogiri Releases">v1.6.8</a>) is not stable and referenced, it is work to get it up and running on Windows.</p>
|
|
434
461
|
|
|
462
|
+
<hr>
|
|
435
463
|
|
|
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
|
-
|
|
464
|
+
<p>For a more conventional way of installing Jekyll you can follow this <a href="https://labs.sverrirs.com/jekyll/">complete guide to install Jekyll 3 on Windows by Sverrir Sigmundarson</a>.</p>
|
|
471
465
|
|
|
472
|
-
|
|
473
|
-
|
|
466
|
+
<p>Optionally you can use <a href="https://github.com/KeJunMao/fastjekyll#autoinstall-jekyll-for-windows">Autoinstall Jekyll for Windows</a>.</p>
|
|
474
467
|
|
|
475
|
-
|
|
476
|
-
|
|
468
|
+
<hr>
|
|
477
469
|
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
470
|
+
<h2 id="encoding">Encoding</h2>
|
|
483
471
|
|
|
484
|
-
|
|
485
|
-
|
|
472
|
+
<p>If you use UTF-8 encoding, make sure that no <code class="highlighter-rouge">BOM</code> header characters exist in your files or very, very bad things will happen to
|
|
473
|
+
Jekyll. This is especially relevant when you’re running Jekyll on Windows.</p>
|
|
486
474
|
|
|
487
|
-
|
|
488
|
-
|
|
475
|
+
<p>Additionally, you might need to change the code page of the console window to UTF-8 in case you get a “Liquid Exception: Incompatible character encoding” error during the site generation process. It can be done with the following command:</p>
|
|
489
476
|
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
477
|
+
<div class="language-sh highlighter-rouge">
|
|
478
|
+
<pre class="highlight"><code><span class="gp">$ </span>chcp 65001
|
|
479
|
+
</code></pre>
|
|
480
|
+
</div>
|
|
495
481
|
|
|
496
|
-
|
|
497
|
-
|
|
482
|
+
<h2 id="time-zone-management">Time-Zone Management</h2>
|
|
498
483
|
|
|
499
|
-
|
|
500
|
-
|
|
484
|
+
<p>Since Windows doesn’t have a native source of zoneinfo data, the Ruby Interpreter would not understand IANA Timezones and hence using them had the <code class="highlighter-rouge">TZ</code> environment variable default to UTC/GMT 00:00.
|
|
485
|
+
Though Windows users could alternatively define their blog’s timezone by setting the key to use POSIX format of defining timezones, it wasn’t as user-friendly when it came to having the clock altered to changing DST-rules.</p>
|
|
501
486
|
|
|
502
|
-
|
|
503
|
-
|
|
487
|
+
<p>Jekyll now uses a rubygem to internally configure Timezone based on established <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones">IANA Timezone Database</a>.
|
|
488
|
+
While ‘new’ blogs created with Jekyll v3.4 and greater, will have the following added to their ‘Gemfile’ by default, existing sites <em>will</em> have to update their ‘Gemfile’ (and installed) to enable development on Windows:</p>
|
|
504
489
|
|
|
505
|
-
|
|
506
|
-
|
|
490
|
+
<div class="language-ruby highlighter-rouge">
|
|
491
|
+
<pre class="highlight"><code><span class="c1"># Windows does not include zoneinfo files, so bundle the tzinfo-data gem</span>
|
|
492
|
+
<span class="n">gem</span> <span class="s1">'tzinfo-data'</span><span class="p">,</span> <span class="ss">platforms: </span><span class="p">[</span><span class="ss">:mingw</span><span class="p">,</span> <span class="ss">:mswin</span><span class="p">,</span> <span class="ss">:x64_mingw</span><span class="p">,</span> <span class="ss">:jruby</span><span class="p">]</span>
|
|
493
|
+
</code></pre>
|
|
494
|
+
</div>
|
|
507
495
|
|
|
508
|
-
|
|
509
|
-
|
|
496
|
+
<h2 id="auto-regeneration">Auto Regeneration</h2>
|
|
510
497
|
|
|
511
|
-
|
|
512
|
-
|
|
498
|
+
<p>As of v1.3.0, Jekyll uses the <code class="highlighter-rouge">listen</code> gem to watch for changes when the <code class="highlighter-rouge">--watch</code> switch is specified during a build or serve. While <code class="highlighter-rouge">listen</code> has built-in support for UNIX systems, it may require an extra gem for compatibility with Windows.</p>
|
|
513
499
|
|
|
514
|
-
|
|
515
|
-
|
|
500
|
+
<p>Add the following to the Gemfile for your site if you have issues with auto-regeneration on Windows alone:</p>
|
|
516
501
|
|
|
517
|
-
|
|
518
|
-
|
|
502
|
+
<div class="language-ruby highlighter-rouge">
|
|
503
|
+
<pre class="highlight"><code><span class="n">gem</span> <span class="s1">'wdm'</span><span class="p">,</span> <span class="s1">'~> 0.1.0'</span> <span class="k">if</span> <span class="no">Gem</span><span class="p">.</span><span class="nf">win_platform?</span>
|
|
504
|
+
</code></pre>
|
|
505
|
+
</div>
|
|
519
506
|
|
|
520
|
-
|
|
521
|
-
|
|
507
|
+
|
|
522
508
|
|
|
523
|
-
|
|
524
|
-
|
|
525
509
|
|
|
526
|
-
|
|
527
|
-
|
|
528
510
|
|
|
529
|
-
|
|
530
|
-
|
|
531
511
|
|
|
532
|
-
|
|
533
|
-
|
|
534
512
|
|
|
535
513
|
|
|
536
514
|
|
|
@@ -543,7 +521,24 @@ There will be a warning on startup that you should include <code class="highligh
|
|
|
543
521
|
|
|
544
522
|
|
|
545
523
|
|
|
546
|
-
|
|
524
|
+
<div class="section-nav">
|
|
525
|
+
<div class="left align-right">
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
<a href="/docs/installation/" class="prev">Back</a>
|
|
530
|
+
|
|
531
|
+
</div>
|
|
532
|
+
<div class="right align-left">
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
<a href="/docs/usage/" class="next">Next</a>
|
|
537
|
+
|
|
538
|
+
</div>
|
|
539
|
+
</div>
|
|
540
|
+
<div class="clear"></div>
|
|
541
|
+
|
|
547
542
|
</article>
|
|
548
543
|
</div>
|
|
549
544
|
|
|
@@ -567,6 +562,10 @@ There will be a warning on startup that you should include <code class="highligh
|
|
|
567
562
|
|
|
568
563
|
|
|
569
564
|
|
|
565
|
+
<li class="current"><a href="/docs/windows/">Jekyll on Windows</a></li>
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
570
569
|
<li class=""><a href="/docs/usage/">Basic Usage</a></li>
|
|
571
570
|
|
|
572
571
|
|