jekyll-docs 3.5.2 → 3.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/site/404.html +3 -3
- data/site/community/index.html +5 -5
- data/site/docs/assets/index.html +14 -22
- data/site/docs/code_of_conduct/index.html +730 -0
- data/site/docs/collections/index.html +65 -80
- data/site/docs/conduct/index.html +4 -4
- data/site/docs/configuration/index.html +130 -156
- data/site/docs/continuous-integration/buddyworks/index.html +14 -16
- data/site/docs/continuous-integration/circleci/index.html +13 -21
- data/site/docs/continuous-integration/index.html +5 -5
- data/site/docs/continuous-integration/travis-ci/index.html +45 -73
- data/site/docs/contributing/index.html +10 -10
- data/site/docs/datafiles/index.html +37 -53
- data/site/docs/deployment-methods/index.html +54 -64
- data/site/docs/drafts/index.html +6 -8
- data/site/docs/extras/index.html +8 -12
- data/site/docs/frontmatter/index.html +10 -14
- data/site/docs/github-pages/index.html +10 -14
- data/site/docs/history/index.html +539 -440
- data/site/docs/home/index.html +4 -4
- data/site/docs/includes/index.html +42 -70
- data/site/docs/installation/index.html +23 -37
- data/site/docs/maintaining/affinity-team-captain/index.html +4 -4
- data/site/docs/maintaining/avoiding-burnout/index.html +4 -4
- data/site/docs/maintaining/becoming-a-maintainer/index.html +4 -4
- data/site/docs/maintaining/index.html +4 -4
- data/site/docs/maintaining/merging-a-pull-request/index.html +6 -8
- data/site/docs/maintaining/reviewing-a-pull-request/index.html +4 -4
- data/site/docs/maintaining/special-labels/index.html +4 -4
- data/site/docs/maintaining/triaging-an-issue/index.html +4 -4
- data/site/docs/migrations/index.html +4 -4
- data/site/docs/pages/index.html +8 -12
- data/site/docs/pagination/index.html +13 -21
- data/site/docs/permalinks/index.html +43 -34
- data/site/docs/plugins/index.html +51 -79
- data/site/docs/posts/index.html +26 -48
- data/site/docs/quickstart/index.html +6 -8
- data/site/docs/resources/index.html +45 -21
- data/site/docs/sites/index.html +4 -4
- data/site/docs/static-files/index.html +12 -16
- data/site/docs/structure/index.html +6 -8
- data/site/docs/templates/index.html +36 -68
- data/site/docs/themes/index.html +32 -49
- data/site/docs/troubleshooting/index.html +44 -82
- data/site/docs/upgrading/0-to-2/index.html +7 -9
- data/site/docs/upgrading/2-to-3/index.html +19 -31
- data/site/docs/upgrading/index.html +4 -4
- data/site/docs/usage/index.html +20 -30
- data/site/docs/variables/index.html +26 -10
- data/site/docs/windows/index.html +36 -58
- data/site/feed.xml +47 -53
- data/site/help/index.html +3 -3
- data/site/index.html +3 -3
- data/site/latest_version.txt +1 -1
- data/site/news/2013/05/05/jekyll-1-0-0-released/index.html +16 -8
- data/site/news/2013/05/08/jekyll-1-0-1-released/index.html +16 -8
- data/site/news/2013/05/12/jekyll-1-0-2-released/index.html +16 -8
- data/site/news/2013/06/07/jekyll-1-0-3-released/index.html +16 -8
- data/site/news/2013/07/14/jekyll-1-1-0-released/index.html +16 -8
- data/site/news/2013/07/24/jekyll-1-1-1-released/index.html +16 -8
- data/site/news/2013/07/25/jekyll-1-0-4-released/index.html +16 -8
- data/site/news/2013/07/25/jekyll-1-1-2-released/index.html +16 -8
- data/site/news/2013/09/06/jekyll-1-2-0-released/index.html +16 -8
- data/site/news/2013/09/14/jekyll-1-2-1-released/index.html +16 -8
- data/site/news/2013/10/28/jekyll-1-3-0-rc1-released/index.html +16 -8
- data/site/news/2013/11/04/jekyll-1-3-0-released/index.html +16 -8
- data/site/news/2013/11/26/jekyll-1-3-1-released/index.html +16 -8
- data/site/news/2013/12/07/jekyll-1-4-0-released/index.html +16 -8
- data/site/news/2013/12/09/jekyll-1-4-1-released/index.html +16 -8
- data/site/news/2013/12/16/jekyll-1-4-2-released/index.html +16 -8
- data/site/news/2014/01/13/jekyll-1-4-3-released/index.html +16 -8
- data/site/news/2014/03/24/jekyll-1-5-0-released/index.html +16 -8
- data/site/news/2014/03/27/jekyll-1-5-1-released/index.html +16 -8
- data/site/news/2014/05/06/jekyll-turns-2-0-0/index.html +16 -8
- data/site/news/2014/05/08/jekyll-2-0-3-released/index.html +16 -8
- data/site/news/2014/06/04/jekyll-stickers-1-dollar-stickermule/index.html +16 -8
- data/site/news/2014/06/28/jekyll-turns-21-i-mean-2-1-0/index.html +16 -8
- data/site/news/2014/07/01/jekyll-2-1-1-released/index.html +16 -8
- data/site/news/2014/07/29/jekyll-2-2-0-released/index.html +16 -8
- data/site/news/2014/08/10/jekyll-2-3-0-released/index.html +16 -8
- data/site/news/2014/09/09/jekyll-2-4-0-released/index.html +16 -8
- data/site/news/2014/11/05/jekylls-midlife-crisis-jekyll-turns-2-5-0/index.html +16 -8
- data/site/news/2014/11/09/jekyll-2-5-1-released/index.html +16 -8
- data/site/news/2014/11/12/jekyll-2-5-2-released/index.html +16 -8
- data/site/news/2014/12/17/alfredxing-welcome-to-jekyll-core/index.html +16 -8
- data/site/news/2014/12/22/jekyll-2-5-3-released/index.html +16 -8
- data/site/news/2015/01/20/jekyll-meet-and-greet/index.html +16 -8
- data/site/news/2015/01/24/jekyll-3-0-0-beta1-released/index.html +17 -9
- data/site/news/2015/02/26/introducing-jekyll-talk/index.html +16 -8
- data/site/news/2015/10/26/jekyll-3-0-released/index.html +16 -8
- data/site/news/2015/11/17/jekyll-3-0-1-released/index.html +16 -8
- data/site/news/2016/01/20/jekyll-3-0-2-released/index.html +16 -8
- data/site/news/2016/01/24/jekyll-3-1-0-released/index.html +16 -8
- data/site/news/2016/01/28/jekyll-3-1-1-released/index.html +16 -8
- data/site/news/2016/02/08/jekyll-3-0-3-released/index.html +16 -8
- data/site/news/2016/02/19/jekyll-3-1-2-released/index.html +16 -8
- data/site/news/2016/03/10/making-it-easier-to-contribute-to-jekyll/index.html +16 -8
- data/site/news/2016/04/19/jekyll-3-0-4-released/index.html +20 -12
- data/site/news/2016/04/19/jekyll-3-1-3-released/index.html +16 -8
- data/site/news/2016/04/26/jekyll-3-0-5-released/index.html +16 -8
- data/site/news/2016/05/18/jekyll-3-1-4-released/index.html +16 -8
- data/site/news/2016/05/18/jekyll-3-1-5-released/index.html +16 -8
- data/site/news/2016/05/19/jekyll-3-1-6-released/index.html +16 -8
- data/site/news/2016/06/03/update-on-jekyll-s-google-summer-of-code-projects/index.html +16 -8
- data/site/news/2016/07/26/jekyll-3-2-0-released/index.html +16 -8
- data/site/news/2016/08/02/jekyll-3-2-1-released/index.html +16 -8
- data/site/news/2016/08/24/jekyll-admin-initial-release/index.html +16 -8
- data/site/news/2016/10/06/jekyll-3-3-is-here/index.html +16 -8
- data/site/news/2016/11/14/jekyll-3-3-1-released/index.html +16 -8
- data/site/news/2017/01/18/jekyll-3-4-0-released/index.html +16 -8
- data/site/news/2017/03/02/jekyll-3-4-1-released/index.html +27 -29
- data/site/news/2017/03/09/jekyll-3-4-2-released/index.html +23 -17
- data/site/news/2017/03/21/jekyll-3-4-3-released/index.html +20 -14
- data/site/news/2017/06/15/jekyll-3-5-0-released/index.html +21 -13
- data/site/news/2017/07/17/jekyll-3-5-1-released/index.html +18 -10
- data/site/news/2017/08/12/jekyll-3-5-2-released/index.html +573 -0
- data/site/news/2017/09/21/jekyll-3-6-0-released/index.html +565 -0
- data/site/news/index.html +122 -48
- data/site/news/releases/index.html +122 -48
- data/site/sitemap.xml +64 -52
- data/site/tutorials/convert-site-to-jekyll/index.html +80 -138
- data/site/tutorials/custom-404-page/index.html +13 -21
- data/site/tutorials/home/index.html +4 -4
- data/site/tutorials/navigation/index.html +144 -180
- data/site/tutorials/orderofinterpretation/index.html +27 -45
- metadata +8 -5
@@ -4,13 +4,13 @@
|
|
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.6.0">
|
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.
|
13
|
+
<!-- Begin Jekyll SEO tag v2.3.0 -->
|
14
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
16
|
<meta property="og:locale" content="en_US">
|
@@ -20,12 +20,12 @@
|
|
20
20
|
<meta property="og:url" content="https://jekyllrb.com/docs/upgrading/2-to-3/">
|
21
21
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites">
|
22
22
|
<meta property="og:type" content="article">
|
23
|
-
<meta property="article:published_time" content="2017-
|
23
|
+
<meta property="article:published_time" content="2017-10-24T08:07:43-07:00">
|
24
24
|
<meta name="twitter:card" content="summary">
|
25
25
|
<meta name="twitter:site" content="@jekyllrb">
|
26
26
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
|
27
27
|
<script type="application/ld+json">
|
28
|
-
{"
|
28
|
+
{"name":null,"description":"Upgrading from an older version of Jekyll? A few things have changed in 3.0 that you’ll want to know about.","url":"https://jekyllrb.com/docs/upgrading/2-to-3/","headline":"Upgrading from 2.x to 3.x","dateModified":"2017-10-24T08:07:43-07:00","datePublished":"2017-10-24T08:07:43-07:00","sameAs":null,"@type":"BlogPosting","author":null,"image":null,"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/upgrading/2-to-3/"},"@context":"http://schema.org"}</script>
|
29
29
|
<!-- End Jekyll SEO tag -->
|
30
30
|
|
31
31
|
<!--[if lt IE 9]>
|
@@ -292,10 +292,8 @@ that you’ll want to know about.</p>
|
|
292
292
|
|
293
293
|
<p>Before we dive in, go ahead and fetch the latest version of Jekyll:</p>
|
294
294
|
|
295
|
-
<div class="language-sh highlighter-rouge">
|
296
|
-
|
297
|
-
</code></pre>
|
298
|
-
</div>
|
295
|
+
<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>gem update jekyll
|
296
|
+
</code></pre></div></div>
|
299
297
|
|
300
298
|
<p>Please note: Jekyll 3.2 requires Ruby version >= 2.1</p>
|
301
299
|
|
@@ -326,12 +324,10 @@ A simple conversion must be made in your templates:</p>
|
|
326
324
|
|
327
325
|
<p>For <code class="highlighter-rouge">site.collections.myCollection</code> in Jekyll 2, you now do:</p>
|
328
326
|
|
329
|
-
<div class="language-liquid highlighter-rouge">
|
330
|
-
<pre class="highlight"><code>
|
327
|
+
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code>
|
331
328
|
<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>
|
332
329
|
|
333
|
-
</code></pre>
|
334
|
-
</div>
|
330
|
+
</code></pre></div></div>
|
335
331
|
|
336
332
|
<p>This is a bit cumbersome at first, but is easier than a big <code class="highlighter-rouge">for</code> loop.</p>
|
337
333
|
|
@@ -373,7 +369,7 @@ generate when running <code class="highlighter-rouge">jekyll build</code> or <co
|
|
373
369
|
the <code class="highlighter-rouge">page</code> variable in Liquid. This caused a lot of confusion in the way the data was
|
374
370
|
merged and some unexpected behaviour. In Jekyll 3, all layout data is accessible via <code class="highlighter-rouge">layout</code>
|
375
371
|
in Liquid. For example, if your layout has <code class="highlighter-rouge">class: my-layout</code> in its YAML front matter,
|
376
|
-
then the layout can access that via <code class="highlighter-rouge"
|
372
|
+
then the layout can access that via <code class="highlighter-rouge">{{ layout.class }}</code>.</p>
|
377
373
|
|
378
374
|
<h3 id="syntax-highlighter-changed">Syntax highlighter changed</h3>
|
379
375
|
|
@@ -391,19 +387,15 @@ go back to using Pygments, set <code class="highlighter-rouge">highlighter: pygm
|
|
391
387
|
created your site using Jekyll 2 and below, you may receive the following
|
392
388
|
error when trying to <strong>serve</strong> or <strong>build</strong>:</p>
|
393
389
|
|
394
|
-
<div class="language-text highlighter-rouge">
|
395
|
-
<pre class="highlight"><code>Since v3.0, permalinks for pages in subfolders must be relative to the site
|
390
|
+
<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Since v3.0, permalinks for pages in subfolders must be relative to the site
|
396
391
|
source directory, not the parent directory. Check
|
397
392
|
https://jekyllrb.com/docs/upgrading/ for more info.
|
398
|
-
</code></pre>
|
399
|
-
</div>
|
393
|
+
</code></pre></div></div>
|
400
394
|
|
401
395
|
<p>This can be fixed by removing the following line from your <code class="highlighter-rouge">_config.yml</code> file:</p>
|
402
396
|
|
403
|
-
<div class="language-yaml highlighter-rouge">
|
404
|
-
|
405
|
-
</code></pre>
|
406
|
-
</div>
|
397
|
+
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">relative_permalinks</span><span class="pi">:</span> <span class="no">true</span>
|
398
|
+
</code></pre></div></div>
|
407
399
|
|
408
400
|
<h3 id="permalinks-no-longer-automatically-add-a-trailing-slash">Permalinks no longer automatically add a trailing slash</h3>
|
409
401
|
|
@@ -413,21 +405,17 @@ https://jekyllrb.com/docs/upgrading/ for more info.
|
|
413
405
|
|
414
406
|
<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>
|
415
407
|
|
416
|
-
<div class="language-yaml highlighter-rouge">
|
417
|
-
<
|
418
|
-
<span class="s">date</span><span class="pi">:</span> <span class="s">2016-02-06 19:32:10</span>
|
408
|
+
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nn">---</span>
|
409
|
+
<span class="na">date</span><span class="pi">:</span> <span class="s">2016-02-06 19:32:10</span>
|
419
410
|
<span class="nn">---</span>
|
420
|
-
</code></pre>
|
421
|
-
</div>
|
411
|
+
</code></pre></div></div>
|
422
412
|
|
423
413
|
<p>to this (note the offset):</p>
|
424
414
|
|
425
|
-
<div class="language-yaml highlighter-rouge">
|
426
|
-
<
|
427
|
-
<span class="s">date</span><span class="pi">:</span> <span class="s">2016-02-06 19:32:10 -0800</span>
|
415
|
+
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nn">---</span>
|
416
|
+
<span class="na">date</span><span class="pi">:</span> <span class="s">2016-02-06 19:32:10 -0800</span>
|
428
417
|
<span class="nn">---</span>
|
429
|
-
</code></pre>
|
430
|
-
</div>
|
418
|
+
</code></pre></div></div>
|
431
419
|
|
432
420
|
<h3 id="my-categories-have-stopped-working">My categories have stopped working!</h3>
|
433
421
|
|
@@ -4,13 +4,13 @@
|
|
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.6.0">
|
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.
|
13
|
+
<!-- Begin Jekyll SEO tag v2.3.0 -->
|
14
14
|
<title>Upgrading | Jekyll • Simple, blog-aware, static sites</title>
|
15
15
|
<meta property="og:title" content="Upgrading">
|
16
16
|
<meta property="og:locale" content="en_US">
|
@@ -20,12 +20,12 @@
|
|
20
20
|
<meta property="og:url" content="https://jekyllrb.com/docs/upgrading/">
|
21
21
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites">
|
22
22
|
<meta property="og:type" content="article">
|
23
|
-
<meta property="article:published_time" content="2017-
|
23
|
+
<meta property="article:published_time" content="2017-10-24T08:07:43-07:00">
|
24
24
|
<meta name="twitter:card" content="summary">
|
25
25
|
<meta name="twitter:site" content="@jekyllrb">
|
26
26
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
|
27
27
|
<script type="application/ld+json">
|
28
|
-
{"
|
28
|
+
{"name":null,"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:","url":"https://jekyllrb.com/docs/upgrading/","headline":"Upgrading","dateModified":"2017-10-24T08:07:43-07:00","datePublished":"2017-10-24T08:07:43-07:00","sameAs":null,"@type":"BlogPosting","author":null,"image":null,"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/upgrading/"},"@context":"http://schema.org"}</script>
|
29
29
|
<!-- End Jekyll SEO tag -->
|
30
30
|
|
31
31
|
<!--[if lt IE 9]>
|
data/site/docs/usage/index.html
CHANGED
@@ -4,13 +4,13 @@
|
|
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.6.0">
|
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.
|
13
|
+
<!-- Begin Jekyll SEO tag v2.3.0 -->
|
14
14
|
<title>Basic Usage | Jekyll • Simple, blog-aware, static sites</title>
|
15
15
|
<meta property="og:title" content="Basic Usage">
|
16
16
|
<meta property="og:locale" content="en_US">
|
@@ -20,12 +20,12 @@
|
|
20
20
|
<meta property="og:url" content="https://jekyllrb.com/docs/usage/">
|
21
21
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites">
|
22
22
|
<meta property="og:type" content="article">
|
23
|
-
<meta property="article:published_time" content="2017-
|
23
|
+
<meta property="article:published_time" content="2017-10-24T08:07:43-07:00">
|
24
24
|
<meta name="twitter:card" content="summary">
|
25
25
|
<meta name="twitter:site" content="@jekyllrb">
|
26
26
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
|
27
27
|
<script type="application/ld+json">
|
28
|
-
{"
|
28
|
+
{"name":null,"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:","url":"https://jekyllrb.com/docs/usage/","headline":"Basic Usage","dateModified":"2017-10-24T08:07:43-07:00","datePublished":"2017-10-24T08:07:43-07:00","sameAs":null,"@type":"BlogPosting","author":null,"image":null,"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/usage/"},"@context":"http://schema.org"}</script>
|
29
29
|
<!-- End Jekyll SEO tag -->
|
30
30
|
|
31
31
|
<!--[if lt IE 9]>
|
@@ -290,21 +290,19 @@
|
|
290
290
|
<p>The Jekyll gem makes a <code class="highlighter-rouge">jekyll</code> executable available to you in your Terminal
|
291
291
|
window. You can use this command in a number of ways:</p>
|
292
292
|
|
293
|
-
<div class="language-sh highlighter-rouge">
|
294
|
-
<pre class="highlight"><code><span class="gp">$ </span>jekyll build
|
293
|
+
<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>jekyll build
|
295
294
|
<span class="c"># => The current folder will be generated into ./_site</span>
|
296
295
|
|
297
|
-
<span class="
|
296
|
+
<span class="nv">$ </span>jekyll build <span class="nt">--destination</span> <destination>
|
298
297
|
<span class="c"># => The current folder will be generated into <destination></span>
|
299
298
|
|
300
|
-
<span class="
|
299
|
+
<span class="nv">$ </span>jekyll build <span class="nt">--source</span> <<span class="nb">source</span><span class="o">></span> <span class="nt">--destination</span> <destination>
|
301
300
|
<span class="c"># => The <source> folder will be generated into <destination></span>
|
302
301
|
|
303
|
-
<span class="
|
302
|
+
<span class="nv">$ </span>jekyll build <span class="nt">--watch</span>
|
304
303
|
<span class="c"># => The current folder will be generated into ./_site,</span>
|
305
304
|
<span class="c"># watched for changes, and regenerated automatically.</span>
|
306
|
-
</code></pre>
|
307
|
-
</div>
|
305
|
+
</code></pre></div></div>
|
308
306
|
|
309
307
|
<div class="note info">
|
310
308
|
<h5>Changes to _config.yml are not included during automatic regeneration.</h5>
|
@@ -336,17 +334,15 @@ window. You can use this command in a number of ways:</p>
|
|
336
334
|
<p>Jekyll also comes with a built-in development server that will allow you to
|
337
335
|
preview what the generated site will look like in your browser locally.</p>
|
338
336
|
|
339
|
-
<div class="language-sh highlighter-rouge">
|
340
|
-
<pre class="highlight"><code><span class="gp">$ </span>jekyll serve
|
337
|
+
<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>jekyll serve
|
341
338
|
<span class="c"># => A development server will run at http://localhost:4000/</span>
|
342
339
|
<span class="c"># Auto-regeneration: enabled. Use `--no-watch` to disable.</span>
|
343
340
|
|
344
|
-
<span class="
|
341
|
+
<span class="nv">$ </span>jekyll serve <span class="nt">--detach</span>
|
345
342
|
<span class="c"># => Same as `jekyll serve` but will detach from the current terminal.</span>
|
346
343
|
<span class="c"># If you need to kill the server, you can `kill -9 1234` where "1234" is the PID.</span>
|
347
344
|
<span class="c"># If you cannot find the PID, then do, `ps aux | grep jekyll` and kill the instance.</span>
|
348
|
-
</code></pre>
|
349
|
-
</div>
|
345
|
+
</code></pre></div></div>
|
350
346
|
|
351
347
|
<div class="note info">
|
352
348
|
<h5>Be aware of default behavior</h5>
|
@@ -355,11 +351,9 @@ preview what the generated site will look like in your browser locally.</p>
|
|
355
351
|
</p>
|
356
352
|
</div>
|
357
353
|
|
358
|
-
<div class="language-sh highlighter-rouge">
|
359
|
-
<pre class="highlight"><code><span class="gp">$ </span>jekyll serve --no-watch
|
354
|
+
<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>jekyll serve <span class="nt">--no-watch</span>
|
360
355
|
<span class="c"># => Same as `jekyll serve` but will not watch for changes.</span>
|
361
|
-
</code></pre>
|
362
|
-
</div>
|
356
|
+
</code></pre></div></div>
|
363
357
|
|
364
358
|
<p>These are just a few of the available <a href="../configuration/">configuration options</a>.
|
365
359
|
Many configuration options can either be specified as flags on the command line,
|
@@ -368,19 +362,15 @@ file at the root of the source directory. Jekyll will automatically use the
|
|
368
362
|
options from this file when run. For example, if you place the following lines
|
369
363
|
in your <code class="highlighter-rouge">_config.yml</code> file:</p>
|
370
364
|
|
371
|
-
<div class="language-yaml highlighter-rouge">
|
372
|
-
<
|
373
|
-
|
374
|
-
</code></pre>
|
375
|
-
</div>
|
365
|
+
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">source</span><span class="pi">:</span> <span class="s">_source</span>
|
366
|
+
<span class="na">destination</span><span class="pi">:</span> <span class="s">_deploy</span>
|
367
|
+
</code></pre></div></div>
|
376
368
|
|
377
369
|
<p>Then the following two commands will be equivalent:</p>
|
378
370
|
|
379
|
-
<div class="language-sh highlighter-rouge">
|
380
|
-
<
|
381
|
-
|
382
|
-
</code></pre>
|
383
|
-
</div>
|
371
|
+
<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>jekyll build
|
372
|
+
<span class="nv">$ </span>jekyll build <span class="nt">--source</span> _source <span class="nt">--destination</span> _deploy
|
373
|
+
</code></pre></div></div>
|
384
374
|
|
385
375
|
<p>For more about the possible configuration options, see the
|
386
376
|
<a href="../configuration/">configuration</a> page.</p>
|
@@ -4,13 +4,13 @@
|
|
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.6.0">
|
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.
|
13
|
+
<!-- Begin Jekyll SEO tag v2.3.0 -->
|
14
14
|
<title>Variables | Jekyll • Simple, blog-aware, static sites</title>
|
15
15
|
<meta property="og:title" content="Variables">
|
16
16
|
<meta property="og:locale" content="en_US">
|
@@ -20,12 +20,12 @@
|
|
20
20
|
<meta property="og:url" content="https://jekyllrb.com/docs/variables/">
|
21
21
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites">
|
22
22
|
<meta property="og:type" content="article">
|
23
|
-
<meta property="article:published_time" content="2017-
|
23
|
+
<meta property="article:published_time" content="2017-10-24T08:07:43-07:00">
|
24
24
|
<meta name="twitter:card" content="summary">
|
25
25
|
<meta name="twitter:site" content="@jekyllrb">
|
26
26
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
|
27
27
|
<script type="application/ld+json">
|
28
|
-
{"
|
28
|
+
{"name":null,"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.","url":"https://jekyllrb.com/docs/variables/","headline":"Variables","dateModified":"2017-10-24T08:07:43-07:00","datePublished":"2017-10-24T08:07:43-07:00","sameAs":null,"@type":"BlogPosting","author":null,"image":null,"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/variables/"},"@context":"http://schema.org"}</script>
|
29
29
|
<!-- End Jekyll SEO tag -->
|
30
30
|
|
31
31
|
<!--[if lt IE 9]>
|
@@ -468,17 +468,32 @@ following is a reference of the available data.</p>
|
|
468
468
|
|
469
469
|
</p></td>
|
470
470
|
</tr>
|
471
|
+
<tr>
|
472
|
+
<td><p><code>site.url</code></p></td>
|
473
|
+
<td><p>
|
474
|
+
|
475
|
+
Contains the url of your site as it is configured in the <code>_config.yml</code>.
|
476
|
+
For example, if you have <code>url: http://mysite.com</code>
|
477
|
+
in your configuration file, then it will be accessible in Liquid as
|
478
|
+
<code>site.url</code>. For the development environment there is
|
479
|
+
<a href="/news/#3-siteurl-is-set-by-the-development-server">an exception</a>,
|
480
|
+
if you are running <code>jekyll serve</code> in a development environment
|
481
|
+
<code>site.url</code> will be set to the value of <code>host</code>,
|
482
|
+
<code>port</code>, and SSL-related options. This defaults to
|
483
|
+
<code>url: http://localhost:4000</code>.
|
484
|
+
|
485
|
+
</p></td>
|
486
|
+
</tr>
|
471
487
|
<tr>
|
472
488
|
<td><p><code>site.[CONFIGURATION_DATA]</code></p></td>
|
473
489
|
<td><p>
|
474
490
|
|
475
491
|
All the variables set via the command line and your
|
476
492
|
<code>_config.yml</code> are available through the <code>site</code>
|
477
|
-
variable. For example, if you have <code>
|
478
|
-
in your configuration file, then
|
479
|
-
|
480
|
-
<code>
|
481
|
-
Jekyll to see changes to variables.
|
493
|
+
variable. For example, if you have <code>foo: bar</code>
|
494
|
+
in your configuration file, then it will be accessible in Liquid as <code>site.foo</code>.
|
495
|
+
Jekyll does not parse changes to <code>_config.yml</code> in
|
496
|
+
<code>watch</code> mode, you must restart Jekyll to see changes to variables.
|
482
497
|
|
483
498
|
</p></td>
|
484
499
|
</tr>
|
@@ -548,8 +563,9 @@ following is a reference of the available data.</p>
|
|
548
563
|
<td><p><code>page.id</code></p></td>
|
549
564
|
<td><p>
|
550
565
|
|
551
|
-
An identifier unique to
|
566
|
+
An identifier unique to a document in a Collection or a Post (useful in RSS feeds). e.g.
|
552
567
|
<code>/2008/12/14/my-post</code>
|
568
|
+
<code>/my-collection/my-document</code>
|
553
569
|
|
554
570
|
</p></td>
|
555
571
|
</tr>
|
@@ -4,13 +4,13 @@
|
|
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.6.0">
|
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.
|
13
|
+
<!-- Begin Jekyll SEO tag v2.3.0 -->
|
14
14
|
<title>Jekyll on Windows | Jekyll • Simple, blog-aware, static sites</title>
|
15
15
|
<meta property="og:title" content="Jekyll on Windows">
|
16
16
|
<meta property="og:locale" content="en_US">
|
@@ -20,12 +20,12 @@
|
|
20
20
|
<meta property="og:url" content="https://jekyllrb.com/docs/windows/">
|
21
21
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites">
|
22
22
|
<meta property="og:type" content="article">
|
23
|
-
<meta property="article:published_time" content="2017-
|
23
|
+
<meta property="article:published_time" content="2017-10-24T08:07:43-07:00">
|
24
24
|
<meta name="twitter:card" content="summary">
|
25
25
|
<meta name="twitter:site" content="@jekyllrb">
|
26
26
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
|
27
27
|
<script type="application/ld+json">
|
28
|
-
{"
|
28
|
+
{"name":null,"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.","url":"https://jekyllrb.com/docs/windows/","headline":"Jekyll on Windows","dateModified":"2017-10-24T08:07:43-07:00","datePublished":"2017-10-24T08:07:43-07:00","sameAs":null,"@type":"BlogPosting","author":null,"image":null,"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/windows/"},"@context":"http://schema.org"}</script>
|
29
29
|
<!-- End Jekyll SEO tag -->
|
30
30
|
|
31
31
|
<!--[if lt IE 9]>
|
@@ -299,54 +299,40 @@
|
|
299
299
|
|
300
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>
|
301
301
|
|
302
|
-
<div class="highlighter-rouge">
|
303
|
-
|
304
|
-
</code></pre>
|
305
|
-
</div>
|
302
|
+
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>bash
|
303
|
+
</code></pre></div></div>
|
306
304
|
<p>Your Command Prompt instance should now be a Bash instance. Now we must update our repo lists and packages.</p>
|
307
305
|
|
308
|
-
<div class="highlighter-rouge">
|
309
|
-
|
310
|
-
</code></pre>
|
311
|
-
</div>
|
306
|
+
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo apt-get update -y && sudo apt-get upgrade -y
|
307
|
+
</code></pre></div></div>
|
312
308
|
<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>
|
313
309
|
|
314
|
-
<div class="highlighter-rouge">
|
315
|
-
<pre class="highlight"><code>sudo apt-add-repository ppa:brightbox/ruby-ng
|
310
|
+
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo apt-add-repository ppa:brightbox/ruby-ng
|
316
311
|
sudo apt-get update
|
317
312
|
sudo apt-get install ruby2.3 ruby2.3-dev build-essential
|
318
|
-
</code></pre>
|
319
|
-
</div>
|
313
|
+
</code></pre></div></div>
|
320
314
|
|
321
315
|
<p>Next let’s update our Ruby gems:</p>
|
322
316
|
|
323
|
-
<div class="highlighter-rouge">
|
324
|
-
|
325
|
-
</code></pre>
|
326
|
-
</div>
|
317
|
+
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo gem update
|
318
|
+
</code></pre></div></div>
|
327
319
|
|
328
320
|
<p>Now all that is left to do is install Jekyll.</p>
|
329
321
|
|
330
|
-
<div class="highlighter-rouge">
|
331
|
-
|
332
|
-
</code></pre>
|
333
|
-
</div>
|
322
|
+
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo gem install jekyll bundler
|
323
|
+
</code></pre></div></div>
|
334
324
|
|
335
325
|
<p>Check if Jekyll installed properly by running:</p>
|
336
326
|
|
337
|
-
<div class="highlighter-rouge">
|
338
|
-
|
339
|
-
</code></pre>
|
340
|
-
</div>
|
327
|
+
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>jekyll -v
|
328
|
+
</code></pre></div></div>
|
341
329
|
|
342
330
|
<p><strong>And that’s it!</strong></p>
|
343
331
|
|
344
332
|
<p>To start a new project named <code class="highlighter-rouge">my_blog</code>, just run:</p>
|
345
333
|
|
346
|
-
<div class="highlighter-rouge">
|
347
|
-
|
348
|
-
</code></pre>
|
349
|
-
</div>
|
334
|
+
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>jekyll new my_blog
|
335
|
+
</code></pre></div></div>
|
350
336
|
|
351
337
|
<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
338
|
|
@@ -421,16 +407,14 @@ sudo apt-get install ruby2.3 ruby2.3-dev build-essential
|
|
421
407
|
|
422
408
|
<p><code class="language-ruby highlighter-rouge"><span class="n">choco</span> <span class="n">install</span> <span class="n">libiconv</span> <span class="o">-</span><span class="no">Source</span> <span class="s2">"https://www.nuget.org/api/v2/"</span></code></p>
|
423
409
|
|
424
|
-
<div class="language-ruby highlighter-rouge">
|
425
|
-
<
|
426
|
-
<span class="o">--</span><span class="n">with</span><span class="o">-</span><span class="n">xml2</span><span class="o">-</span><span class="
|
427
|
-
<span class="o">--</span><span class="n">with</span><span class="o">-</span><span class="n">
|
428
|
-
<span class="o">--</span><span class="n">with</span><span class="o">-</span><span class="n">iconv</span><span class="o">-</span><span class="
|
429
|
-
<span class="o">--</span><span class="n">with</span><span class="o">-</span><span class="n">
|
430
|
-
<span class="o">--</span><span class="n">with</span><span class="o">-</span><span class="n">xslt</span><span class="o">-</span><span class="
|
431
|
-
|
432
|
-
</code></pre>
|
433
|
-
</div>
|
410
|
+
<div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code> <span class="n">gem</span> <span class="n">install</span> <span class="n">nokogiri</span> <span class="o">--^</span>
|
411
|
+
<span class="o">--</span><span class="n">with</span><span class="o">-</span><span class="n">xml2</span><span class="o">-</span><span class="kp">include</span><span class="o">=</span><span class="no">C</span><span class="p">:\</span><span class="no">Chocolatey</span><span class="p">\</span><span class="n">lib</span><span class="p">\</span><span class="n">libxml2</span><span class="o">.</span><span class="mf">2.7</span><span class="o">.</span><span class="mf">8.7</span><span class="p">\</span><span class="n">build</span><span class="p">\</span><span class="n">native</span><span class="p">\</span><span class="kp">include</span><span class="o">^</span>
|
412
|
+
<span class="o">--</span><span class="n">with</span><span class="o">-</span><span class="n">xml2</span><span class="o">-</span><span class="n">lib</span><span class="o">=</span><span class="no">C</span><span class="p">:\</span><span class="no">Chocolatey</span><span class="p">\</span><span class="n">lib</span><span class="p">\</span><span class="n">libxml2</span><span class="p">.</span><span class="nf">redist</span><span class="o">.</span><span class="mf">2.7</span><span class="o">.</span><span class="mf">8.7</span><span class="p">\</span><span class="n">build</span><span class="p">\</span><span class="n">native</span><span class="p">\</span><span class="n">bin</span><span class="p">\</span><span class="n">v110</span><span class="p">\</span><span class="n">x64</span><span class="p">\</span><span class="no">Release</span><span class="p">\</span><span class="n">dynamic</span><span class="p">\</span><span class="n">cdecl</span><span class="o">^</span>
|
413
|
+
<span class="o">--</span><span class="n">with</span><span class="o">-</span><span class="n">iconv</span><span class="o">-</span><span class="kp">include</span><span class="o">=</span><span class="no">C</span><span class="p">:\</span><span class="no">Chocolatey</span><span class="p">\</span><span class="n">lib</span><span class="p">\</span><span class="n">libiconv</span><span class="o">.</span><span class="mf">1.14</span><span class="o">.</span><span class="mf">0.11</span><span class="p">\</span><span class="n">build</span><span class="p">\</span><span class="n">native</span><span class="p">\</span><span class="kp">include</span><span class="o">^</span>
|
414
|
+
<span class="o">--</span><span class="n">with</span><span class="o">-</span><span class="n">iconv</span><span class="o">-</span><span class="n">lib</span><span class="o">=</span><span class="no">C</span><span class="p">:\</span><span class="no">Chocolatey</span><span class="p">\</span><span class="n">lib</span><span class="p">\</span><span class="n">libiconv</span><span class="p">.</span><span class="nf">redist</span><span class="o">.</span><span class="mf">1.14</span><span class="o">.</span><span class="mf">0.11</span><span class="p">\</span><span class="n">build</span><span class="p">\</span><span class="n">native</span><span class="p">\</span><span class="n">bin</span><span class="p">\</span><span class="n">v110</span><span class="p">\</span><span class="n">x64</span><span class="p">\</span><span class="no">Release</span><span class="p">\</span><span class="n">dynamic</span><span class="p">\</span><span class="n">cdecl</span><span class="o">^</span>
|
415
|
+
<span class="o">--</span><span class="n">with</span><span class="o">-</span><span class="n">xslt</span><span class="o">-</span><span class="kp">include</span><span class="o">=</span><span class="no">C</span><span class="p">:\</span><span class="no">Chocolatey</span><span class="p">\</span><span class="n">lib</span><span class="p">\</span><span class="n">libxslt</span><span class="o">.</span><span class="mf">1.1</span><span class="o">.</span><span class="mf">28.0</span><span class="p">\</span><span class="n">build</span><span class="p">\</span><span class="n">native</span><span class="p">\</span><span class="kp">include</span><span class="o">^</span>
|
416
|
+
<span class="o">--</span><span class="n">with</span><span class="o">-</span><span class="n">xslt</span><span class="o">-</span><span class="n">lib</span><span class="o">=</span><span class="no">C</span><span class="p">:\</span><span class="no">Chocolatey</span><span class="p">\</span><span class="n">lib</span><span class="p">\</span><span class="n">libxslt</span><span class="p">.</span><span class="nf">redist</span><span class="o">.</span><span class="mf">1.1</span><span class="o">.</span><span class="mf">28.0</span><span class="p">\</span><span class="n">build</span><span class="p">\</span><span class="n">native</span><span class="p">\</span><span class="n">bin</span><span class="p">\</span><span class="n">v110</span><span class="p">\</span><span class="n">x64</span><span class="p">\</span><span class="no">Release</span><span class="p">\</span><span class="n">dynamic</span>
|
417
|
+
</code></pre></div></div>
|
434
418
|
|
435
419
|
<h4 id="install-github-pages">Install github-pages</h4>
|
436
420
|
|
@@ -441,11 +425,9 @@ sudo apt-get install ruby2.3 ruby2.3-dev build-essential
|
|
441
425
|
<li>Copy & paste the two lines into the file:</li>
|
442
426
|
</ul>
|
443
427
|
|
444
|
-
<div class="language-ruby highlighter-rouge">
|
445
|
-
<pre class="highlight"><code><span class="n">source</span> <span class="s1">'https://rubygems.org'</span>
|
428
|
+
<div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">source</span> <span class="s1">'https://rubygems.org'</span>
|
446
429
|
<span class="n">gem</span> <span class="s1">'github-pages'</span><span class="p">,</span> <span class="ss">group: :jekyll_plugins</span>
|
447
|
-
</code></pre>
|
448
|
-
</div>
|
430
|
+
</code></pre></div></div>
|
449
431
|
|
450
432
|
<ul>
|
451
433
|
<li>
|
@@ -474,10 +456,8 @@ Jekyll. This is especially relevant when you’re running Jekyll on Windows.</p>
|
|
474
456
|
|
475
457
|
<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>
|
476
458
|
|
477
|
-
<div class="language-sh highlighter-rouge">
|
478
|
-
|
479
|
-
</code></pre>
|
480
|
-
</div>
|
459
|
+
<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>chcp 65001
|
460
|
+
</code></pre></div></div>
|
481
461
|
|
482
462
|
<h2 id="time-zone-management">Time-Zone Management</h2>
|
483
463
|
|
@@ -487,11 +467,9 @@ Though Windows users could alternatively define their blog’s timezone by setti
|
|
487
467
|
<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
468
|
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>
|
489
469
|
|
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>
|
470
|
+
<div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1"># Windows does not include zoneinfo files, so bundle the tzinfo-data gem</span>
|
492
471
|
<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>
|
472
|
+
</code></pre></div></div>
|
495
473
|
|
496
474
|
<h2 id="auto-regeneration">Auto Regeneration</h2>
|
497
475
|
|
@@ -499,10 +477,10 @@ While ‘new’ blogs created with Jekyll v3.4 and greater, will have the follow
|
|
499
477
|
|
500
478
|
<p>Add the following to the Gemfile for your site if you have issues with auto-regeneration on Windows alone:</p>
|
501
479
|
|
502
|
-
<div class="language-ruby highlighter-rouge">
|
503
|
-
|
504
|
-
|
505
|
-
</
|
480
|
+
<div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">gem</span> <span class="s1">'wdm'</span><span class="p">,</span> <span class="s1">'~> 0.1.1'</span> <span class="k">if</span> <span class="no">Gem</span><span class="p">.</span><span class="nf">win_platform?</span>
|
481
|
+
</code></pre></div></div>
|
482
|
+
|
483
|
+
<p>You may first have to download and install the <a href="https://rubyinstaller.org/downloads/">Ruby DevKit</a> by following <a href="https://github.com/oneclick/rubyinstaller/wiki/Development-Kit">the instructions here</a>.</p>
|
506
484
|
|
507
485
|
|
508
486
|
|