jekyll-docs 3.8.5 → 3.9.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 +5 -4
- data/site/docs/assets/index.html +22 -21
- data/site/docs/code_of_conduct/index.html +8 -7
- data/site/docs/collections/index.html +44 -43
- data/site/docs/conduct/index.html +8 -7
- data/site/docs/configuration/index.html +68 -67
- data/site/docs/continuous-integration/buddyworks/index.html +10 -9
- data/site/docs/continuous-integration/circleci/index.html +13 -12
- data/site/docs/continuous-integration/index.html +8 -7
- data/site/docs/continuous-integration/travis-ci/index.html +32 -31
- data/site/docs/contributing/index.html +34 -33
- data/site/docs/datafiles/index.html +24 -23
- data/site/docs/deployment-methods/index.html +30 -29
- data/site/docs/drafts/index.html +11 -10
- data/site/docs/extras/index.html +9 -8
- data/site/docs/frontmatter/index.html +8 -7
- data/site/docs/github-pages/index.html +19 -18
- data/site/docs/history/index.html +674 -645
- data/site/docs/home/index.html +8 -7
- data/site/docs/includes/index.html +44 -43
- data/site/docs/installation/index.html +16 -15
- data/site/docs/maintaining/affinity-team-captain/index.html +11 -10
- data/site/docs/maintaining/avoiding-burnout/index.html +8 -7
- data/site/docs/maintaining/becoming-a-maintainer/index.html +9 -8
- data/site/docs/maintaining/index.html +8 -7
- data/site/docs/maintaining/merging-a-pull-request/index.html +23 -22
- data/site/docs/maintaining/releasing-a-new-version/index.html +19 -18
- data/site/docs/maintaining/reviewing-a-pull-request/index.html +10 -9
- data/site/docs/maintaining/special-labels/index.html +14 -13
- data/site/docs/maintaining/triaging-an-issue/index.html +12 -11
- data/site/docs/migrations/index.html +9 -8
- data/site/docs/pages/index.html +12 -11
- data/site/docs/pagination/index.html +25 -24
- data/site/docs/permalinks/index.html +33 -32
- data/site/docs/plugins/index.html +57 -56
- data/site/docs/posts/index.html +37 -36
- data/site/docs/quickstart/index.html +18 -17
- data/site/docs/resources/index.html +9 -8
- data/site/docs/sites/index.html +8 -7
- data/site/docs/static-files/index.html +14 -13
- data/site/docs/structure/index.html +8 -7
- data/site/docs/support/index.html +9 -8
- data/site/docs/templates/index.html +44 -43
- data/site/docs/themes/index.html +63 -62
- data/site/docs/troubleshooting/index.html +48 -47
- data/site/docs/upgrading/0-to-2/index.html +51 -50
- data/site/docs/upgrading/2-to-3/index.html +35 -34
- data/site/docs/upgrading/index.html +11 -10
- data/site/docs/usage/index.html +15 -14
- data/site/docs/variables/index.html +8 -7
- data/site/docs/windows/index.html +29 -28
- data/site/feed.xml +45 -41
- data/site/help/index.html +7 -6
- data/site/index.html +7 -6
- data/site/jekyllconf/index.html +9 -8
- data/site/latest_version.txt +1 -1
- data/site/news/2013/05/05/jekyll-1-0-0-released/index.html +16 -10
- data/site/news/2013/05/08/jekyll-1-0-1-released/index.html +18 -12
- data/site/news/2013/05/12/jekyll-1-0-2-released/index.html +19 -13
- data/site/news/2013/06/07/jekyll-1-0-3-released/index.html +20 -14
- data/site/news/2013/07/14/jekyll-1-1-0-released/index.html +19 -13
- data/site/news/2013/07/24/jekyll-1-1-1-released/index.html +16 -10
- data/site/news/2013/07/25/jekyll-1-0-4-released/index.html +18 -12
- data/site/news/2013/07/25/jekyll-1-1-2-released/index.html +18 -12
- data/site/news/2013/09/06/jekyll-1-2-0-released/index.html +21 -15
- data/site/news/2013/09/14/jekyll-1-2-1-released/index.html +19 -13
- data/site/news/2013/10/28/jekyll-1-3-0-rc1-released/index.html +16 -10
- data/site/news/2013/11/04/jekyll-1-3-0-released/index.html +25 -19
- data/site/news/2013/11/26/jekyll-1-3-1-released/index.html +17 -11
- data/site/news/2013/12/07/jekyll-1-4-0-released/index.html +17 -11
- data/site/news/2013/12/09/jekyll-1-4-1-released/index.html +16 -10
- data/site/news/2013/12/16/jekyll-1-4-2-released/index.html +18 -12
- data/site/news/2014/01/13/jekyll-1-4-3-released/index.html +17 -11
- data/site/news/2014/03/24/jekyll-1-5-0-released/index.html +17 -11
- data/site/news/2014/03/27/jekyll-1-5-1-released/index.html +17 -11
- data/site/news/2014/05/06/jekyll-turns-2-0-0/index.html +20 -14
- data/site/news/2014/05/08/jekyll-2-0-3-released/index.html +16 -10
- data/site/news/2014/06/04/jekyll-stickers-1-dollar-stickermule/index.html +16 -10
- data/site/news/2014/06/28/jekyll-turns-21-i-mean-2-1-0/index.html +21 -15
- data/site/news/2014/07/01/jekyll-2-1-1-released/index.html +18 -12
- data/site/news/2014/07/29/jekyll-2-2-0-released/index.html +17 -11
- data/site/news/2014/08/10/jekyll-2-3-0-released/index.html +24 -18
- data/site/news/2014/09/09/jekyll-2-4-0-released/index.html +23 -17
- data/site/news/2014/11/05/jekylls-midlife-crisis-jekyll-turns-2-5-0/index.html +22 -16
- data/site/news/2014/11/09/jekyll-2-5-1-released/index.html +16 -10
- data/site/news/2014/11/12/jekyll-2-5-2-released/index.html +18 -12
- data/site/news/2014/12/17/alfredxing-welcome-to-jekyll-core/index.html +16 -10
- data/site/news/2014/12/22/jekyll-2-5-3-released/index.html +16 -10
- data/site/news/2015/01/20/jekyll-meet-and-greet/index.html +16 -10
- data/site/news/2015/01/24/jekyll-3-0-0-beta1-released/index.html +16 -10
- data/site/news/2015/02/26/introducing-jekyll-talk/index.html +16 -10
- data/site/news/2015/10/26/jekyll-3-0-released/index.html +21 -15
- data/site/news/2015/11/17/jekyll-3-0-1-released/index.html +20 -14
- data/site/news/2016/01/20/jekyll-3-0-2-released/index.html +18 -12
- data/site/news/2016/01/24/jekyll-3-1-0-released/index.html +21 -15
- data/site/news/2016/01/28/jekyll-3-1-1-released/index.html +21 -15
- data/site/news/2016/02/08/jekyll-3-0-3-released/index.html +17 -11
- data/site/news/2016/02/19/jekyll-3-1-2-released/index.html +18 -12
- data/site/news/2016/03/10/making-it-easier-to-contribute-to-jekyll/index.html +16 -10
- data/site/news/2016/04/19/jekyll-3-0-4-released/index.html +17 -11
- data/site/news/2016/04/19/jekyll-3-1-3-released/index.html +17 -11
- data/site/news/2016/04/26/jekyll-3-0-5-released/index.html +16 -10
- data/site/news/2016/05/18/jekyll-3-1-4-released/index.html +22 -16
- data/site/news/2016/05/18/jekyll-3-1-5-released/index.html +17 -11
- data/site/news/2016/05/19/jekyll-3-1-6-released/index.html +17 -11
- data/site/news/2016/06/03/update-on-jekyll-s-google-summer-of-code-projects/index.html +16 -10
- data/site/news/2016/07/26/jekyll-3-2-0-released/index.html +20 -14
- data/site/news/2016/08/02/jekyll-3-2-1-released/index.html +17 -11
- data/site/news/2016/08/24/jekyll-admin-initial-release/index.html +16 -10
- data/site/news/2016/10/06/jekyll-3-3-is-here/index.html +42 -36
- data/site/news/2016/11/14/jekyll-3-3-1-released/index.html +17 -11
- data/site/news/2017/01/18/jekyll-3-4-0-released/index.html +18 -12
- data/site/news/2017/03/02/jekyll-3-4-1-released/index.html +17 -11
- data/site/news/2017/03/09/jekyll-3-4-2-released/index.html +21 -15
- data/site/news/2017/03/21/jekyll-3-4-3-released/index.html +26 -20
- data/site/news/2017/06/15/jekyll-3-5-0-released/index.html +25 -19
- data/site/news/2017/07/17/jekyll-3-5-1-released/index.html +18 -12
- data/site/news/2017/08/12/jekyll-3-5-2-released/index.html +21 -15
- data/site/news/2017/09/21/jekyll-3-6-0-released/index.html +17 -11
- data/site/news/2017/10/19/diversity-open-source/index.html +18 -12
- data/site/news/2017/10/21/jekyll-3-6-2-released/index.html +18 -12
- data/site/news/2018/01/02/jekyll-3-7-0-released/index.html +21 -15
- data/site/news/2018/01/25/jekyll-3-7-2-released/index.html +26 -20
- data/site/news/2018/02/19/meet-jekyll-s-new-lead-developer/index.html +16 -10
- data/site/news/2018/02/24/jekyll-3-7-3-released/index.html +22 -16
- data/site/news/2018/05/01/jekyll-3-8-1-released/index.html +19 -13
- data/site/news/2018/05/19/jekyll-3-8-2-released/index.html +17 -11
- data/site/news/2018/06/05/jekyll-3-8-3-released/index.html +19 -13
- data/site/news/2019/07/02/jekyll-3-8-6-released/index.html +623 -0
- data/site/news/index.html +263 -218
- data/site/news/releases/index.html +261 -216
- data/site/philosophy.html +1 -1
- data/site/sitemap.xml +61 -57
- data/site/team/index.html +7 -6
- data/site/tutorials/convert-site-to-jekyll/index.html +97 -96
- data/site/tutorials/custom-404-page/index.html +16 -15
- data/site/tutorials/home/index.html +10 -9
- data/site/tutorials/navigation/index.html +102 -101
- data/site/tutorials/orderofinterpretation/index.html +32 -31
- data/site/tutorials/using-jekyll-with-bundler/index.html +19 -18
- data/site/tutorials/video-walkthroughs/index.html +8 -7
- metadata +10 -24
data/site/docs/home/index.html
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta charset="UTF-8">
|
5
5
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
-
<meta name="generator" content="Jekyll v3.
|
6
|
+
<meta name="generator" content="Jekyll v3.9.0">
|
7
7
|
<link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites" />
|
8
8
|
<link rel="alternate" type="application/atom+xml" title="Recent commits to Jekyll’s master branch" href="https://github.com/jekyll/jekyll/commits/master.atom">
|
9
9
|
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>
|
@@ -11,9 +11,9 @@
|
|
11
11
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
12
12
|
<link rel="stylesheet" href="/css/screen.css">
|
13
13
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
14
|
-
<!-- Begin Jekyll SEO tag v2.
|
14
|
+
<!-- Begin Jekyll SEO tag v2.6.1 -->
|
15
15
|
<title>Welcome | Jekyll • Simple, blog-aware, static sites</title>
|
16
|
-
<meta name="generator" content="Jekyll v3.
|
16
|
+
<meta name="generator" content="Jekyll v3.9.0" />
|
17
17
|
<meta property="og:title" content="Welcome" />
|
18
18
|
<meta property="og:locale" content="en_US" />
|
19
19
|
<meta name="description" content="This site aims to be a comprehensive guide to Jekyll. We’ll cover topics such as getting your site up and running, creating and managing content, customizing your build, and deploying." />
|
@@ -22,12 +22,13 @@
|
|
22
22
|
<meta property="og:url" content="https://jekyllrb.com/docs/home/" />
|
23
23
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites" />
|
24
24
|
<meta property="og:type" content="article" />
|
25
|
-
<meta property="article:published_time" content="
|
25
|
+
<meta property="article:published_time" content="2020-08-05T11:55:36-07:00" />
|
26
26
|
<meta name="twitter:card" content="summary" />
|
27
|
+
<meta property="twitter:title" content="Welcome" />
|
27
28
|
<meta name="twitter:site" content="@jekyllrb" />
|
28
29
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY" />
|
29
30
|
<script type="application/ld+json">
|
30
|
-
{"headline":"Welcome","dateModified":"
|
31
|
+
{"url":"https://jekyllrb.com/docs/home/","headline":"Welcome","dateModified":"2020-08-05T11:55:36-07:00","datePublished":"2020-08-05T11:55:36-07:00","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"description":"This site aims to be a comprehensive guide to Jekyll. We’ll cover topics such as getting your site up and running, creating and managing content, customizing your build, and deploying.","mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/home/"},"@type":"BlogPosting","@context":"https://schema.org"}</script>
|
31
32
|
<!-- End Jekyll SEO tag -->
|
32
33
|
|
33
34
|
<!--[if lt IE 9]>
|
@@ -72,7 +73,7 @@
|
|
72
73
|
<div class="meta hide-on-mobiles">
|
73
74
|
<ul>
|
74
75
|
<li>
|
75
|
-
<a href="https://github.com/jekyll/jekyll/releases/tag/v3.
|
76
|
+
<a href="https://github.com/jekyll/jekyll/releases/tag/v3.9.0">v3.9.0</a>
|
76
77
|
</li>
|
77
78
|
<li>
|
78
79
|
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
@@ -553,7 +554,7 @@
|
|
553
554
|
<footer>
|
554
555
|
<div class="grid">
|
555
556
|
<div class="unit one-third center-on-mobiles">
|
556
|
-
<p>The contents of this website are <br />©
|
557
|
+
<p>The contents of this website are <br />© 2020 under the terms of the <a href="https://github.com/jekyll/jekyll/blob/master/LICENSE">MIT License</a>.</p>
|
557
558
|
</div>
|
558
559
|
<div class="unit two-thirds align-right center-on-mobiles">
|
559
560
|
<p>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta charset="UTF-8">
|
5
5
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
-
<meta name="generator" content="Jekyll v3.
|
6
|
+
<meta name="generator" content="Jekyll v3.9.0">
|
7
7
|
<link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites" />
|
8
8
|
<link rel="alternate" type="application/atom+xml" title="Recent commits to Jekyll’s master branch" href="https://github.com/jekyll/jekyll/commits/master.atom">
|
9
9
|
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>
|
@@ -11,9 +11,9 @@
|
|
11
11
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
12
12
|
<link rel="stylesheet" href="/css/screen.css">
|
13
13
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
14
|
-
<!-- Begin Jekyll SEO tag v2.
|
14
|
+
<!-- Begin Jekyll SEO tag v2.6.1 -->
|
15
15
|
<title>Includes | Jekyll • Simple, blog-aware, static sites</title>
|
16
|
-
<meta name="generator" content="Jekyll v3.
|
16
|
+
<meta name="generator" content="Jekyll v3.9.0" />
|
17
17
|
<meta property="og:title" content="Includes" />
|
18
18
|
<meta property="og:locale" content="en_US" />
|
19
19
|
<meta name="description" content="The include tag allows you to include the content from another file stored in the _includes folder:" />
|
@@ -22,12 +22,13 @@
|
|
22
22
|
<meta property="og:url" content="https://jekyllrb.com/docs/includes/" />
|
23
23
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites" />
|
24
24
|
<meta property="og:type" content="article" />
|
25
|
-
<meta property="article:published_time" content="
|
25
|
+
<meta property="article:published_time" content="2020-08-05T11:55:36-07:00" />
|
26
26
|
<meta name="twitter:card" content="summary" />
|
27
|
+
<meta property="twitter:title" content="Includes" />
|
27
28
|
<meta name="twitter:site" content="@jekyllrb" />
|
28
29
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY" />
|
29
30
|
<script type="application/ld+json">
|
30
|
-
{"headline":"Includes","dateModified":"
|
31
|
+
{"url":"https://jekyllrb.com/docs/includes/","headline":"Includes","dateModified":"2020-08-05T11:55:36-07:00","datePublished":"2020-08-05T11:55:36-07:00","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"description":"The include tag allows you to include the content from another file stored in the _includes folder:","mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/includes/"},"@type":"BlogPosting","@context":"https://schema.org"}</script>
|
31
32
|
<!-- End Jekyll SEO tag -->
|
32
33
|
|
33
34
|
<!--[if lt IE 9]>
|
@@ -72,7 +73,7 @@
|
|
72
73
|
<div class="meta hide-on-mobiles">
|
73
74
|
<ul>
|
74
75
|
<li>
|
75
|
-
<a href="https://github.com/jekyll/jekyll/releases/tag/v3.
|
76
|
+
<a href="https://github.com/jekyll/jekyll/releases/tag/v3.9.0">v3.9.0</a>
|
76
77
|
</li>
|
77
78
|
<li>
|
78
79
|
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
@@ -294,28 +295,28 @@
|
|
294
295
|
<a href="https://github.com/jekyll/jekyll/edit/master/docs/_docs/includes.md"><i class="fa fa-pencil"></i> Improve this page</a>
|
295
296
|
</div>
|
296
297
|
<h1>Includes</h1>
|
297
|
-
<p>The <code class="highlighter-rouge">include</code> tag allows you to include the content from another file stored in the <code class="highlighter-rouge">_includes</code> folder:</p>
|
298
|
+
<p>The <code class="language-plaintext highlighter-rouge">include</code> tag allows you to include the content from another file stored in the <code class="language-plaintext highlighter-rouge">_includes</code> folder:</p>
|
298
299
|
|
299
|
-
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">include</span><span class="w"> </span
|
300
|
+
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">include</span><span class="w"> </span>footer.html<span class="w"> </span><span class="p">%}</span>
|
300
301
|
</code></pre></div></div>
|
301
302
|
|
302
|
-
<p>Jekyll will look for the referenced file (in this case, <code class="highlighter-rouge">footer.html</code>) in the <code class="highlighter-rouge">_includes</code> directory at the root of your source directory and insert its contents.</p>
|
303
|
+
<p>Jekyll will look for the referenced file (in this case, <code class="language-plaintext highlighter-rouge">footer.html</code>) in the <code class="language-plaintext highlighter-rouge">_includes</code> directory at the root of your source directory and insert its contents.</p>
|
303
304
|
|
304
305
|
<h3 id="including-files-relative-to-another-file">Including files relative to another file</h3>
|
305
306
|
|
306
|
-
<p>You can choose to include file fragments relative to the current file by using the <code class="highlighter-rouge">include_relative</code> tag:</p>
|
307
|
+
<p>You can choose to include file fragments relative to the current file by using the <code class="language-plaintext highlighter-rouge">include_relative</code> tag:</p>
|
307
308
|
|
308
|
-
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">
|
309
|
+
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">include_relative</span><span class="w"> </span>somedir/footer.html<span class="w"> </span><span class="p">%}</span>
|
309
310
|
</code></pre></div></div>
|
310
311
|
|
311
|
-
<p>You won’t need to place your included content within the <code class="highlighter-rouge">_includes</code> directory. Instead,
|
312
|
+
<p>You won’t need to place your included content within the <code class="language-plaintext highlighter-rouge">_includes</code> directory. Instead,
|
312
313
|
the inclusion is specifically relative to the file where the tag is being used. For example,
|
313
|
-
if <code class="highlighter-rouge">_posts/2014-09-03-my-file.markdown</code> uses the <code class="highlighter-rouge">include_relative</code> tag, the included file
|
314
|
-
must be within the <code class="highlighter-rouge">_posts</code> directory or one of its subdirectories.</p>
|
314
|
+
if <code class="language-plaintext highlighter-rouge">_posts/2014-09-03-my-file.markdown</code> uses the <code class="language-plaintext highlighter-rouge">include_relative</code> tag, the included file
|
315
|
+
must be within the <code class="language-plaintext highlighter-rouge">_posts</code> directory or one of its subdirectories.</p>
|
315
316
|
|
316
|
-
<p>Note that you cannot use the <code class="highlighter-rouge">../</code> syntax to specify an include location that refers to a higher-level directory.</p>
|
317
|
+
<p>Note that you cannot use the <code class="language-plaintext highlighter-rouge">../</code> syntax to specify an include location that refers to a higher-level directory.</p>
|
317
318
|
|
318
|
-
<p>All the other capabilities of the <code class="highlighter-rouge">include</code> tag are available to the <code class="highlighter-rouge">include_relative</code> tag,
|
319
|
+
<p>All the other capabilities of the <code class="language-plaintext highlighter-rouge">include</code> tag are available to the <code class="language-plaintext highlighter-rouge">include_relative</code> tag,
|
319
320
|
such as variables.</p>
|
320
321
|
|
321
322
|
<h3 id="using-variables-names-for-the-include-file">Using variables names for the include file</h3>
|
@@ -330,14 +331,14 @@ such as variables.</p>
|
|
330
331
|
|
331
332
|
<p>You could then reference that variable in your include:</p>
|
332
333
|
|
333
|
-
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">include</span><span class="w"> </span>{{
|
334
|
+
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">include</span><span class="w"> </span><span class="p">{{</span><span class="w"> </span><span class="nv">page</span><span class="p">.</span><span class="nv">my_variable</span><span class="w"> </span><span class="p">}}</span><span class="w"> </span><span class="p">%}</span>
|
334
335
|
</code></pre></div></div>
|
335
336
|
|
336
|
-
<p>In this example, the include would insert the file <code class="highlighter-rouge">footer_company_a.html</code> from the <code class="highlighter-rouge">_includes/footer_company_a.html</code> directory.</p>
|
337
|
+
<p>In this example, the include would insert the file <code class="language-plaintext highlighter-rouge">footer_company_a.html</code> from the <code class="language-plaintext highlighter-rouge">_includes/footer_company_a.html</code> directory.</p>
|
337
338
|
|
338
339
|
<h3 id="passing-parameters-to-includes">Passing parameters to includes</h3>
|
339
340
|
|
340
|
-
<p>You can also pass parameters to an include. For example, suppose you have a file called <code class="highlighter-rouge">note.html</code> in your <code class="highlighter-rouge">_includes</code> folder that contains this formatting:</p>
|
341
|
+
<p>You can also pass parameters to an include. For example, suppose you have a file called <code class="language-plaintext highlighter-rouge">note.html</code> in your <code class="language-plaintext highlighter-rouge">_includes</code> folder that contains this formatting:</p>
|
341
342
|
|
342
343
|
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><div markdown="span" class="alert alert-info" role="alert">
|
343
344
|
<i class="fa fa-info-circle"></i> <b>Note:</b>
|
@@ -345,12 +346,12 @@ such as variables.</p>
|
|
345
346
|
</div>
|
346
347
|
</code></pre></div></div>
|
347
348
|
|
348
|
-
<p>The <code class="highlighter-rouge">{{ include.content }}</code> is a parameter that gets populated when you call the include and specify a value for that parameter, like this:</p>
|
349
|
+
<p>The <code class="language-plaintext highlighter-rouge">{{ include.content }}</code> is a parameter that gets populated when you call the include and specify a value for that parameter, like this:</p>
|
349
350
|
|
350
|
-
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">include</span><span class="w"> </span
|
351
|
+
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">include</span><span class="w"> </span>note.html<span class="w"> </span><span class="na">content</span><span class="o">=</span><span class="s2">"This is my sample note."</span><span class="w"> </span><span class="p">%}</span>
|
351
352
|
</code></pre></div></div>
|
352
353
|
|
353
|
-
<p>The value of <code class="highlighter-rouge">content</code> (which is <code class="highlighter-rouge">This is my sample note</code>) will be inserted into the <code class="highlighter-rouge">{{ include.content }}</code> parameter.</p>
|
354
|
+
<p>The value of <code class="language-plaintext highlighter-rouge">content</code> (which is <code class="language-plaintext highlighter-rouge">This is my sample note</code>) will be inserted into the <code class="language-plaintext highlighter-rouge">{{ include.content }}</code> parameter.</p>
|
354
355
|
|
355
356
|
<p>Passing parameters to includes is especially helpful when you want to hide away complex formatting from your Markdown content.</p>
|
356
357
|
|
@@ -368,7 +369,7 @@ such as variables.</p>
|
|
368
369
|
|
369
370
|
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><figure>
|
370
371
|
<a href="<span class="p">{{</span><span class="w"> </span><span class="nv">include</span><span class="p">.</span><span class="nv">url</span><span class="w"> </span><span class="p">}}</span>">
|
371
|
-
<img src="<span class="p">{{</span><span class="w"> </span><span class="nv">include</span><span class="p">.</span><span class="nv">file</span><span class="w"> </span><span class="p">}}</span>" style="max-width: <span class="p">{{</span><span class="w"> </span><span class="nv">include</span><span class="p">.</span><span class="nv">max
|
372
|
+
<img src="<span class="p">{{</span><span class="w"> </span><span class="nv">include</span><span class="p">.</span><span class="nv">file</span><span class="w"> </span><span class="p">}}</span>" style="max-width: <span class="p">{{</span><span class="w"> </span><span class="nv">include</span><span class="p">.</span><span class="nv">max-width</span><span class="w"> </span><span class="p">}}</span>;"
|
372
373
|
alt="<span class="p">{{</span><span class="w"> </span><span class="nv">include</span><span class="p">.</span><span class="nv">alt</span><span class="w"> </span><span class="p">}}</span>"/>
|
373
374
|
<figcaption><span class="p">{{</span><span class="w"> </span><span class="nv">include</span><span class="p">.</span><span class="nv">caption</span><span class="w"> </span><span class="p">}}</span></figcaption>
|
374
375
|
</figure>
|
@@ -377,16 +378,16 @@ such as variables.</p>
|
|
377
378
|
<p>This include contains 5 parameters:</p>
|
378
379
|
|
379
380
|
<ul>
|
380
|
-
<li><code class="highlighter-rouge">url</code></li>
|
381
|
-
<li><code class="highlighter-rouge">max-width</code></li>
|
382
|
-
<li><code class="highlighter-rouge">file</code></li>
|
383
|
-
<li><code class="highlighter-rouge">alt</code></li>
|
384
|
-
<li><code class="highlighter-rouge">caption</code></li>
|
381
|
+
<li><code class="language-plaintext highlighter-rouge">url</code></li>
|
382
|
+
<li><code class="language-plaintext highlighter-rouge">max-width</code></li>
|
383
|
+
<li><code class="language-plaintext highlighter-rouge">file</code></li>
|
384
|
+
<li><code class="language-plaintext highlighter-rouge">alt</code></li>
|
385
|
+
<li><code class="language-plaintext highlighter-rouge">caption</code></li>
|
385
386
|
</ul>
|
386
387
|
|
387
|
-
<p>Here’s an example that passes all the parameters to this include (the include file is named <code class="highlighter-rouge">image.html</code>):</p>
|
388
|
+
<p>Here’s an example that passes all the parameters to this include (the include file is named <code class="language-plaintext highlighter-rouge">image.html</code>):</p>
|
388
389
|
|
389
|
-
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">include</span><span class="w"> </span
|
390
|
+
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">include</span><span class="w"> </span>image.html<span class="w"> </span><span class="na">url</span><span class="o">=</span><span class="s2">"http://jekyllrb.com"</span><span class="err">
|
390
391
|
</span><span class="na">max-width</span><span class="o">=</span><span class="s2">"200px"</span><span class="w"> </span><span class="na">file</span><span class="o">=</span><span class="s2">"logo.png"</span><span class="w"> </span><span class="na">alt</span><span class="o">=</span><span class="s2">"Jekyll logo"</span><span class="err">
|
391
392
|
</span><span class="na">caption</span><span class="o">=</span><span class="s2">"This is the Jekyll logo."</span><span class="w"> </span><span class="p">%}</span>
|
392
393
|
</code></pre></div></div>
|
@@ -399,27 +400,27 @@ such as variables.</p>
|
|
399
400
|
|
400
401
|
<h3 id="passing-parameter-variables-to-includes">Passing parameter variables to includes</h3>
|
401
402
|
|
402
|
-
<p>Suppose the parameter you want to pass to the include is a variable rather than a string. For example, you might be using <code class="highlighter-rouge">{{ site.product_name }}</code> to refer to every instance of your product rather than the actual hard-coded name. (In this case, your <code class="highlighter-rouge">_config.yml</code> file would have a key called <code class="highlighter-rouge">product_name</code> with a value of your product’s name.)</p>
|
403
|
+
<p>Suppose the parameter you want to pass to the include is a variable rather than a string. For example, you might be using <code class="language-plaintext highlighter-rouge">{{ site.product_name }}</code> to refer to every instance of your product rather than the actual hard-coded name. (In this case, your <code class="language-plaintext highlighter-rouge">_config.yml</code> file would have a key called <code class="language-plaintext highlighter-rouge">product_name</code> with a value of your product’s name.)</p>
|
403
404
|
|
404
|
-
<p>The string you pass to your include parameter can’t contain curly braces. For example, you can’t pass a parameter that contains this: <code class="highlighter-rouge">"The latest version of {{ site.product_name }} is now available."</code></p>
|
405
|
+
<p>The string you pass to your include parameter can’t contain curly braces. For example, you can’t pass a parameter that contains this: <code class="language-plaintext highlighter-rouge">"The latest version of {{ site.product_name }} is now available."</code></p>
|
405
406
|
|
406
|
-
<p>If you want to include this variable in your parameter that you pass to an include, you need to store the entire parameter as a variable before passing it to the include. You can use <code class="highlighter-rouge">capture</code> tags to create the variable:</p>
|
407
|
+
<p>If you want to include this variable in your parameter that you pass to an include, you need to store the entire parameter as a variable before passing it to the include. You can use <code class="language-plaintext highlighter-rouge">capture</code> tags to create the variable:</p>
|
407
408
|
|
408
|
-
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">capture</span><span class="w"> </span><span class="
|
409
|
+
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">capture</span><span class="w"> </span><span class="nv">download_note</span><span class="w"> </span><span class="p">%}</span>
|
409
410
|
The latest version of <span class="p">{{</span><span class="w"> </span><span class="nv">site</span><span class="p">.</span><span class="nv">product_name</span><span class="w"> </span><span class="p">}}</span> is now available.
|
410
411
|
<span class="p">{%</span><span class="w"> </span><span class="nt">endcapture</span><span class="w"> </span><span class="p">%}</span>
|
411
412
|
</code></pre></div></div>
|
412
413
|
|
413
414
|
<p>Then pass this captured variable into the parameter for the include. Omit the quotation marks around the parameter content because it’s no longer a string (it’s a variable):</p>
|
414
415
|
|
415
|
-
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">include</span><span class="w"> </span
|
416
|
+
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">include</span><span class="w"> </span>note.html<span class="w"> </span><span class="na">content</span><span class="o">=</span><span class="nv">download_note</span><span class="w"> </span><span class="p">%}</span>
|
416
417
|
</code></pre></div></div>
|
417
418
|
|
418
419
|
<h3 id="passing-references-to-yaml-files-as-parameter-values">Passing references to YAML files as parameter values</h3>
|
419
420
|
|
420
|
-
<p>Instead of passing string variables to the include, you can pass a reference to a YAML data file stored in the <code class="highlighter-rouge">_data</code> folder.</p>
|
421
|
+
<p>Instead of passing string variables to the include, you can pass a reference to a YAML data file stored in the <code class="language-plaintext highlighter-rouge">_data</code> folder.</p>
|
421
422
|
|
422
|
-
<p>Here’s an example. In the <code class="highlighter-rouge">_data</code> folder, suppose you have a YAML file called <code class="highlighter-rouge">profiles.yml</code>. Its content looks like this:</p>
|
423
|
+
<p>Here’s an example. In the <code class="language-plaintext highlighter-rouge">_data</code> folder, suppose you have a YAML file called <code class="language-plaintext highlighter-rouge">profiles.yml</code>. Its content looks like this:</p>
|
423
424
|
|
424
425
|
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="pi">-</span> <span class="na">name</span><span class="pi">:</span> <span class="s">John Doe</span>
|
425
426
|
<span class="na">login_age</span><span class="pi">:</span> <span class="s">old</span>
|
@@ -430,21 +431,21 @@ The latest version of <span class="p">{{</span><span class="w"> </span><span cla
|
|
430
431
|
<span class="na">image</span><span class="pi">:</span> <span class="s">janedoe.jpg</span>
|
431
432
|
</code></pre></div></div>
|
432
433
|
|
433
|
-
<p>In the <code class="highlighter-rouge">_includes</code> folder, assume you have a file called <code class="highlighter-rouge">spotlight.html</code> with this code:</p>
|
434
|
+
<p>In the <code class="language-plaintext highlighter-rouge">_includes</code> folder, assume you have a file called <code class="language-plaintext highlighter-rouge">spotlight.html</code> with this code:</p>
|
434
435
|
|
435
|
-
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">for</span><span class="w"> </span>person
|
436
|
+
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">for</span><span class="w"> </span><span class="nv">person</span><span class="w"> </span><span class="nt">in</span><span class="w"> </span><span class="nv">include.participants</span><span class="w"> </span><span class="p">%}</span>
|
436
437
|
<span class="p">{%</span><span class="w"> </span><span class="kr">if</span><span class="w"> </span><span class="nv">person</span><span class="p">.</span><span class="nv">login_age</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="s2">"new"</span><span class="w"> </span><span class="p">%}</span>
|
437
438
|
<span class="p">{{</span><span class="w"> </span><span class="nv">person</span><span class="p">.</span><span class="nv">name</span><span class="w"> </span><span class="p">}}</span>
|
438
439
|
<span class="p">{%</span><span class="w"> </span><span class="kr">endif</span><span class="w"> </span><span class="p">%}</span>
|
439
440
|
<span class="p">{%</span><span class="w"> </span><span class="nt">endfor</span><span class="w"> </span><span class="p">%}</span>
|
440
441
|
</code></pre></div></div>
|
441
442
|
|
442
|
-
<p>Now when you insert the <code class="highlighter-rouge">spotlight.html</code> include file, you can submit the YAML file as a parameter:</p>
|
443
|
+
<p>Now when you insert the <code class="language-plaintext highlighter-rouge">spotlight.html</code> include file, you can submit the YAML file as a parameter:</p>
|
443
444
|
|
444
|
-
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">include</span><span class="w"> </span
|
445
|
+
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">include</span><span class="w"> </span>spotlight.html<span class="w"> </span><span class="na">participants</span><span class="o">=</span>site.data.profiles<span class="w"> </span><span class="p">%}</span>
|
445
446
|
</code></pre></div></div>
|
446
447
|
|
447
|
-
<p>In this instance, <code class="highlighter-rouge">site.data.profiles</code> gets inserted in place of <code class="highlighter-rouge">include.participants</code> in the include file, and the Liquid logic processes. The result will be <code class="highlighter-rouge">Jane Doe</code>.</p>
|
448
|
+
<p>In this instance, <code class="language-plaintext highlighter-rouge">site.data.profiles</code> gets inserted in place of <code class="language-plaintext highlighter-rouge">include.participants</code> in the include file, and the Liquid logic processes. The result will be <code class="language-plaintext highlighter-rouge">Jane Doe</code>.</p>
|
448
449
|
|
449
450
|
|
450
451
|
|
@@ -725,7 +726,7 @@ The latest version of <span class="p">{{</span><span class="w"> </span><span cla
|
|
725
726
|
<footer>
|
726
727
|
<div class="grid">
|
727
728
|
<div class="unit one-third center-on-mobiles">
|
728
|
-
<p>The contents of this website are <br />©
|
729
|
+
<p>The contents of this website are <br />© 2020 under the terms of the <a href="https://github.com/jekyll/jekyll/blob/master/LICENSE">MIT License</a>.</p>
|
729
730
|
</div>
|
730
731
|
<div class="unit two-thirds align-right center-on-mobiles">
|
731
732
|
<p>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta charset="UTF-8">
|
5
5
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
-
<meta name="generator" content="Jekyll v3.
|
6
|
+
<meta name="generator" content="Jekyll v3.9.0">
|
7
7
|
<link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites" />
|
8
8
|
<link rel="alternate" type="application/atom+xml" title="Recent commits to Jekyll’s master branch" href="https://github.com/jekyll/jekyll/commits/master.atom">
|
9
9
|
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>
|
@@ -11,9 +11,9 @@
|
|
11
11
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
12
12
|
<link rel="stylesheet" href="/css/screen.css">
|
13
13
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
14
|
-
<!-- Begin Jekyll SEO tag v2.
|
14
|
+
<!-- Begin Jekyll SEO tag v2.6.1 -->
|
15
15
|
<title>Installation | Jekyll • Simple, blog-aware, static sites</title>
|
16
|
-
<meta name="generator" content="Jekyll v3.
|
16
|
+
<meta name="generator" content="Jekyll v3.9.0" />
|
17
17
|
<meta property="og:title" content="Installation" />
|
18
18
|
<meta property="og:locale" content="en_US" />
|
19
19
|
<meta name="description" content="Official guide to install Jekyll on macOS, GNU/Linux or Windows." />
|
@@ -22,12 +22,13 @@
|
|
22
22
|
<meta property="og:url" content="https://jekyllrb.com/docs/installation/" />
|
23
23
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites" />
|
24
24
|
<meta property="og:type" content="article" />
|
25
|
-
<meta property="article:published_time" content="
|
25
|
+
<meta property="article:published_time" content="2020-08-05T11:55:36-07:00" />
|
26
26
|
<meta name="twitter:card" content="summary" />
|
27
|
+
<meta property="twitter:title" content="Installation" />
|
27
28
|
<meta name="twitter:site" content="@jekyllrb" />
|
28
29
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY" />
|
29
30
|
<script type="application/ld+json">
|
30
|
-
{"headline":"Installation","dateModified":"
|
31
|
+
{"url":"https://jekyllrb.com/docs/installation/","headline":"Installation","dateModified":"2020-08-05T11:55:36-07:00","datePublished":"2020-08-05T11:55:36-07:00","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"description":"Official guide to install Jekyll on macOS, GNU/Linux or Windows.","mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/installation/"},"@type":"BlogPosting","@context":"https://schema.org"}</script>
|
31
32
|
<!-- End Jekyll SEO tag -->
|
32
33
|
|
33
34
|
<!--[if lt IE 9]>
|
@@ -72,7 +73,7 @@
|
|
72
73
|
<div class="meta hide-on-mobiles">
|
73
74
|
<ul>
|
74
75
|
<li>
|
75
|
-
<a href="https://github.com/jekyll/jekyll/releases/tag/v3.
|
76
|
+
<a href="https://github.com/jekyll/jekyll/releases/tag/v3.9.0">v3.9.0</a>
|
76
77
|
</li>
|
77
78
|
<li>
|
78
79
|
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
@@ -308,9 +309,9 @@
|
|
308
309
|
<p>Before you start, make sure your system has the following:</p>
|
309
310
|
|
310
311
|
<ul>
|
311
|
-
<li><a href="https://www.ruby-lang.org/en/downloads/">Ruby</a> version 2.2.5 or above, including all development headers (ruby installation can be checked by running <code class="highlighter-rouge">ruby -v</code>)</li>
|
312
|
-
<li><a href="https://rubygems.org/pages/download">RubyGems</a> (which you can check by running <code class="highlighter-rouge">gem -v</code>)</li>
|
313
|
-
<li><a href="https://gcc.gnu.org/install/">GCC</a> and <a href="https://www.gnu.org/software/make/">Make</a> (in case your system doesn’t have them installed, which you can check by running <code class="highlighter-rouge">gcc -v</code>,<code class="highlighter-rouge">g++ -v</code> and <code class="highlighter-rouge">make -v</code> in your system’s command line interface)</li>
|
312
|
+
<li><a href="https://www.ruby-lang.org/en/downloads/">Ruby</a> version 2.2.5 or above, including all development headers (ruby installation can be checked by running <code class="language-plaintext highlighter-rouge">ruby -v</code>)</li>
|
313
|
+
<li><a href="https://rubygems.org/pages/download">RubyGems</a> (which you can check by running <code class="language-plaintext highlighter-rouge">gem -v</code>)</li>
|
314
|
+
<li><a href="https://gcc.gnu.org/install/">GCC</a> and <a href="https://www.gnu.org/software/make/">Make</a> (in case your system doesn’t have them installed, which you can check by running <code class="language-plaintext highlighter-rouge">gcc -v</code>,<code class="language-plaintext highlighter-rouge">g++ -v</code> and <code class="language-plaintext highlighter-rouge">make -v</code> in your system’s command line interface)</li>
|
314
315
|
</ul>
|
315
316
|
|
316
317
|
<h2 id="macOS">Install on macOS</h2>
|
@@ -335,7 +336,7 @@
|
|
335
336
|
<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code>gem <span class="nb">install </span>bundler jekyll
|
336
337
|
</code></pre></div></div>
|
337
338
|
|
338
|
-
<p>That’s it, you’re ready to go, either by installing our <a href="https://github.com/jekyll/minima">default minimal blog theme</a> with <code class="highlighter-rouge">jekyll new jekyll-website</code> or by starting from scratch:</p>
|
339
|
+
<p>That’s it, you’re ready to go, either by installing our <a href="https://github.com/jekyll/minima">default minimal blog theme</a> with <code class="language-plaintext highlighter-rouge">jekyll new jekyll-website</code> or by starting from scratch:</p>
|
339
340
|
|
340
341
|
<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nb">mkdir </span>jekyll-website
|
341
342
|
<span class="nb">cd </span>jekyll-website
|
@@ -356,7 +357,7 @@ bundle <span class="nb">install</span>
|
|
356
357
|
|
357
358
|
<p>If you wish to install the latest version of Ruby and get faster builds, we recommend to do it via <a href="https://brew.sh">Homebrew</a> a handy package manager for macOS.</p>
|
358
359
|
|
359
|
-
<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code>/usr/bin/ruby <span class="nt">-e</span> <span class="s2">"</span><span class="
|
360
|
+
<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code>/usr/bin/ruby <span class="nt">-e</span> <span class="s2">"</span><span class="si">$(</span>curl <span class="nt">-fsSL</span> https://raw.githubusercontent.com/Homebrew/install/master/install<span class="si">)</span><span class="s2">"</span>
|
360
361
|
brew <span class="nb">install </span>ruby
|
361
362
|
ruby <span class="nt">-v</span>
|
362
363
|
ruby 2.5.1p57 <span class="o">(</span>2018-03-29 revision 63029<span class="o">)</span> <span class="o">[</span>x86_64-darwin17]
|
@@ -406,7 +407,7 @@ ruby 2.5.1p57 <span class="o">(</span>2018-03-29 revision 63029<span class="o">)
|
|
406
407
|
gem list jekyll
|
407
408
|
</code></pre></div></div>
|
408
409
|
|
409
|
-
<p>You can use RubyGems to find <a href="https://rubygems.org/gems/jekyll">the current version of Jekyll</a>. Another way to check if you have the latest version is to run the command <code class="highlighter-rouge">gem outdated</code>. This will provide a list of all the gems on your system that need to be updated. If you aren’t running the latest version, run this command:</p>
|
410
|
+
<p>You can use RubyGems to find <a href="https://rubygems.org/gems/jekyll">the current version of Jekyll</a>. Another way to check if you have the latest version is to run the command <code class="language-plaintext highlighter-rouge">gem outdated</code>. This will provide a list of all the gems on your system that need to be updated. If you aren’t running the latest version, run this command:</p>
|
410
411
|
|
411
412
|
<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code>bundle update jekyll
|
412
413
|
</code></pre></div></div>
|
@@ -418,7 +419,7 @@ gem list jekyll
|
|
418
419
|
|
419
420
|
<p>To upgrade to latest Rubygems, run:</p>
|
420
421
|
|
421
|
-
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>gem update --system
|
422
|
+
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>gem update --system
|
422
423
|
</code></pre></div></div>
|
423
424
|
|
424
425
|
<p>Refer to our <a href="../upgrading/">upgrading section</a> to upgrade from Jekyll 2.x or 1.x.</p>
|
@@ -432,7 +433,7 @@ installed properly and run:</p>
|
|
432
433
|
</code></pre></div></div>
|
433
434
|
|
434
435
|
<p>This will install the latest pre-release. If you want a particular pre-release,
|
435
|
-
use the <code class="highlighter-rouge">-v</code> switch to indicate the version you’d like to install:</p>
|
436
|
+
use the <code class="language-plaintext highlighter-rouge">-v</code> switch to indicate the version you’d like to install:</p>
|
436
437
|
|
437
438
|
<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code>gem <span class="nb">install </span>jekyll <span class="nt">-v</span> <span class="s1">'2.0.0.alpha.1'</span>
|
438
439
|
</code></pre></div></div>
|
@@ -681,7 +682,7 @@ bundle <span class="nb">exec </span>rake build
|
|
681
682
|
<footer>
|
682
683
|
<div class="grid">
|
683
684
|
<div class="unit one-third center-on-mobiles">
|
684
|
-
<p>The contents of this website are <br />©
|
685
|
+
<p>The contents of this website are <br />© 2020 under the terms of the <a href="https://github.com/jekyll/jekyll/blob/master/LICENSE">MIT License</a>.</p>
|
685
686
|
</div>
|
686
687
|
<div class="unit two-thirds align-right center-on-mobiles">
|
687
688
|
<p>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta charset="UTF-8">
|
5
5
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
-
<meta name="generator" content="Jekyll v3.
|
6
|
+
<meta name="generator" content="Jekyll v3.9.0">
|
7
7
|
<link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites" />
|
8
8
|
<link rel="alternate" type="application/atom+xml" title="Recent commits to Jekyll’s master branch" href="https://github.com/jekyll/jekyll/commits/master.atom">
|
9
9
|
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>
|
@@ -11,9 +11,9 @@
|
|
11
11
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
12
12
|
<link rel="stylesheet" href="/css/screen.css">
|
13
13
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
14
|
-
<!-- Begin Jekyll SEO tag v2.
|
14
|
+
<!-- Begin Jekyll SEO tag v2.6.1 -->
|
15
15
|
<title>Affinity Team Captains | Jekyll • Simple, blog-aware, static sites</title>
|
16
|
-
<meta name="generator" content="Jekyll v3.
|
16
|
+
<meta name="generator" content="Jekyll v3.9.0" />
|
17
17
|
<meta property="og:title" content="Affinity Team Captains" />
|
18
18
|
<meta property="og:locale" content="en_US" />
|
19
19
|
<meta name="description" content="This guide is for affinity team captains. These special people are team maintainers of one of our affinity teams and help triage and evaluate the issues and contributions of others. You may find what is written here interesting, but it’s definitely not for everyone." />
|
@@ -22,12 +22,13 @@
|
|
22
22
|
<meta property="og:url" content="https://jekyllrb.com/docs/maintaining/affinity-team-captain/" />
|
23
23
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites" />
|
24
24
|
<meta property="og:type" content="article" />
|
25
|
-
<meta property="article:published_time" content="
|
25
|
+
<meta property="article:published_time" content="2020-08-05T11:55:36-07:00" />
|
26
26
|
<meta name="twitter:card" content="summary" />
|
27
|
+
<meta property="twitter:title" content="Affinity Team Captains" />
|
27
28
|
<meta name="twitter:site" content="@jekyllrb" />
|
28
29
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY" />
|
29
30
|
<script type="application/ld+json">
|
30
|
-
{"headline":"Affinity Team Captains","dateModified":"
|
31
|
+
{"url":"https://jekyllrb.com/docs/maintaining/affinity-team-captain/","headline":"Affinity Team Captains","dateModified":"2020-08-05T11:55:36-07:00","datePublished":"2020-08-05T11:55:36-07:00","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"description":"This guide is for affinity team captains. These special people are team maintainers of one of our affinity teams and help triage and evaluate the issues and contributions of others. You may find what is written here interesting, but it’s definitely not for everyone.","mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/maintaining/affinity-team-captain/"},"@type":"BlogPosting","@context":"https://schema.org"}</script>
|
31
32
|
<!-- End Jekyll SEO tag -->
|
32
33
|
|
33
34
|
<!--[if lt IE 9]>
|
@@ -72,7 +73,7 @@
|
|
72
73
|
<div class="meta hide-on-mobiles">
|
73
74
|
<ul>
|
74
75
|
<li>
|
75
|
-
<a href="https://github.com/jekyll/jekyll/releases/tag/v3.
|
76
|
+
<a href="https://github.com/jekyll/jekyll/releases/tag/v3.9.0">v3.9.0</a>
|
76
77
|
</li>
|
77
78
|
<li>
|
78
79
|
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
@@ -302,11 +303,11 @@
|
|
302
303
|
|
303
304
|
<h2 id="responsibilities-of-team-captains">Responsibilities of Team Captains</h2>
|
304
305
|
|
305
|
-
<p>Each affinity team has a few captains who manage the issues and pull requests for that team. When an issue or PR is opened with a <code class="highlighter-rouge">/cc</code> for a given affinity team, <a href="https://github.com/jekyllbot" class="user-mention">@jekyllbot</a> automatically assigns a random affinity team captain to the issue to triage it. They have access to add labels, reassign the issue, give LGTM’s, and so forth. While they do not merge PR’s today, they are still asked to review PR’s for parts of the codebase under their purview.</p>
|
306
|
+
<p>Each affinity team has a few captains who manage the issues and pull requests for that team. When an issue or PR is opened with a <code class="language-plaintext highlighter-rouge">/cc</code> for a given affinity team, <a href="https://github.com/jekyllbot" class="user-mention">@jekyllbot</a> automatically assigns a random affinity team captain to the issue to triage it. They have access to add labels, reassign the issue, give LGTM’s, and so forth. While they do not merge PR’s today, they are still asked to review PR’s for parts of the codebase under their purview.</p>
|
306
307
|
|
307
308
|
<h2 id="how-do-i-become-a-team-captain">How do I become a team captain?</h2>
|
308
309
|
|
309
|
-
<p>Just ask! Feel free to open an issue on <code class="highlighter-rouge">jekyll/jekyll</code> and add <code class="highlighter-rouge">/cc @jekyll/core</code>. We can add you. <img class="emoji" title=":smile:" alt=":smile:" src="https://
|
310
|
+
<p>Just ask! Feel free to open an issue on <code class="language-plaintext highlighter-rouge">jekyll/jekyll</code> and add <code class="language-plaintext highlighter-rouge">/cc @jekyll/core</code>. We can add you. <img class="emoji" title=":smile:" alt=":smile:" src="https://github.githubassets.com/images/icons/emoji/unicode/1f604.png" height="20" width="20"></p>
|
310
311
|
|
311
312
|
<p>Alternatively, you can email or otherwise reach out to <a href="https://github.com/parkr">@parkr</a> directly if you prefer the more private route.</p>
|
312
313
|
|
@@ -314,7 +315,7 @@
|
|
314
315
|
|
315
316
|
<p>No sweat at all! Email <a href="https://github.com/parkr">@parkr</a> and ask to be removed. Alternatively, you should be able to go to your team’s page on GitHub.com (go to https://github.com/jekyll, click “Teams”, click the link to your team) and change your status to either “member” or leave the team.</p>
|
316
317
|
|
317
|
-
<p>We realize that being a captain is no easy feat so we want to make it a great experience. As always, communicate as much as you can with us about what is working, and what isn’t. Thanks for dedicating some time to Jekyll! <img class="emoji" title=":sparkles:" alt=":sparkles:" src="https://
|
318
|
+
<p>We realize that being a captain is no easy feat so we want to make it a great experience. As always, communicate as much as you can with us about what is working, and what isn’t. Thanks for dedicating some time to Jekyll! <img class="emoji" title=":sparkles:" alt=":sparkles:" src="https://github.githubassets.com/images/icons/emoji/unicode/2728.png" height="20" width="20"></p>
|
318
319
|
|
319
320
|
|
320
321
|
|
@@ -630,7 +631,7 @@
|
|
630
631
|
<footer>
|
631
632
|
<div class="grid">
|
632
633
|
<div class="unit one-third center-on-mobiles">
|
633
|
-
<p>The contents of this website are <br>©
|
634
|
+
<p>The contents of this website are <br>© 2020 under the terms of the <a href="https://github.com/jekyll/jekyll/blob/master/LICENSE">MIT License</a>.</p>
|
634
635
|
</div>
|
635
636
|
<div class="unit two-thirds align-right center-on-mobiles">
|
636
637
|
<p>
|