jekyll-docs 3.4.3 → 3.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-docs.rb +1 -1
- data/site/404.html +5 -11
- data/site/community/index.html +9 -15
- data/site/css/screen.css +1 -1468
- data/site/docs/assets/index.html +20 -16
- data/site/docs/collections/index.html +115 -109
- data/site/docs/conduct/index.html +19 -15
- data/site/docs/configuration/index.html +39 -23
- data/site/docs/continuous-integration/buddyworks/index.html +728 -0
- data/site/docs/continuous-integration/circleci/index.html +19 -15
- data/site/docs/continuous-integration/index.html +20 -15
- data/site/docs/continuous-integration/travis-ci/index.html +21 -18
- data/site/docs/contributing/index.html +20 -16
- data/site/docs/datafiles/index.html +23 -15
- data/site/docs/deployment-methods/index.html +24 -20
- data/site/docs/drafts/index.html +19 -15
- data/site/docs/extras/index.html +31 -16
- data/site/docs/frontmatter/index.html +28 -15
- data/site/docs/github-pages/index.html +21 -17
- data/site/docs/history/index.html +521 -315
- data/site/docs/home/index.html +16 -15
- data/site/docs/includes/index.html +21 -17
- data/site/docs/installation/index.html +41 -31
- data/site/docs/maintaining/affinity-team-captain/index.html +19 -15
- data/site/docs/maintaining/avoiding-burnout/index.html +19 -15
- data/site/docs/maintaining/becoming-a-maintainer/index.html +19 -15
- data/site/docs/maintaining/index.html +19 -15
- data/site/docs/maintaining/merging-a-pull-request/index.html +19 -15
- data/site/docs/maintaining/reviewing-a-pull-request/index.html +19 -15
- data/site/docs/maintaining/special-labels/index.html +23 -15
- data/site/docs/maintaining/triaging-an-issue/index.html +20 -16
- data/site/docs/migrations/index.html +19 -15
- data/site/docs/pages/index.html +19 -15
- data/site/docs/pagination/index.html +19 -15
- data/site/docs/permalinks/index.html +19 -15
- data/site/docs/plugins/index.html +36 -23
- data/site/docs/posts/index.html +23 -19
- data/site/docs/quickstart/index.html +18 -17
- data/site/docs/resources/index.html +19 -15
- data/site/docs/sites/index.html +22 -15
- data/site/docs/static-files/index.html +52 -15
- data/site/docs/structure/index.html +19 -15
- data/site/docs/templates/index.html +29 -25
- data/site/docs/themes/index.html +65 -39
- data/site/docs/troubleshooting/index.html +41 -19
- data/site/docs/upgrading/0-to-2/index.html +19 -15
- data/site/docs/upgrading/2-to-3/index.html +20 -16
- data/site/docs/upgrading/index.html +22 -15
- data/site/docs/usage/index.html +20 -16
- data/site/docs/variables/index.html +19 -15
- data/site/docs/windows/index.html +135 -136
- data/site/feed.xml +228 -180
- data/site/help/index.html +11 -13
- data/site/img/jekylllayoutconcept.png +0 -0
- data/site/index.html +7 -14
- data/site/latest_version.txt +1 -1
- data/site/news/2013/05/05/jekyll-1-0-0-released/index.html +33 -19
- data/site/news/2013/05/08/jekyll-1-0-1-released/index.html +33 -19
- data/site/news/2013/05/12/jekyll-1-0-2-released/index.html +33 -19
- data/site/news/2013/06/07/jekyll-1-0-3-released/index.html +33 -19
- data/site/news/2013/07/14/jekyll-1-1-0-released/index.html +33 -19
- data/site/news/2013/07/24/jekyll-1-1-1-released/index.html +33 -19
- data/site/news/2013/07/25/jekyll-1-0-4-released/index.html +33 -19
- data/site/news/2013/07/25/jekyll-1-1-2-released/index.html +33 -19
- data/site/news/2013/09/06/jekyll-1-2-0-released/index.html +33 -19
- data/site/news/2013/09/14/jekyll-1-2-1-released/index.html +33 -19
- data/site/news/2013/10/28/jekyll-1-3-0-rc1-released/index.html +33 -19
- data/site/news/2013/11/04/jekyll-1-3-0-released/index.html +33 -19
- data/site/news/2013/11/26/jekyll-1-3-1-released/index.html +33 -19
- data/site/news/2013/12/07/jekyll-1-4-0-released/index.html +33 -19
- data/site/news/2013/12/09/jekyll-1-4-1-released/index.html +33 -19
- data/site/news/2013/12/16/jekyll-1-4-2-released/index.html +33 -19
- data/site/news/2014/01/13/jekyll-1-4-3-released/index.html +33 -19
- data/site/news/2014/03/24/jekyll-1-5-0-released/index.html +33 -19
- data/site/news/2014/03/27/jekyll-1-5-1-released/index.html +33 -19
- data/site/news/2014/05/06/jekyll-turns-2-0-0/index.html +33 -19
- data/site/news/2014/05/08/jekyll-2-0-3-released/index.html +33 -19
- data/site/news/2014/06/04/jekyll-stickers-1-dollar-stickermule/index.html +35 -21
- data/site/news/2014/06/28/jekyll-turns-21-i-mean-2-1-0/index.html +33 -19
- data/site/news/2014/07/01/jekyll-2-1-1-released/index.html +33 -19
- data/site/news/2014/07/29/jekyll-2-2-0-released/index.html +33 -19
- data/site/news/2014/08/10/jekyll-2-3-0-released/index.html +33 -19
- data/site/news/2014/09/09/jekyll-2-4-0-released/index.html +33 -19
- data/site/news/2014/11/05/jekylls-midlife-crisis-jekyll-turns-2-5-0/index.html +33 -19
- data/site/news/2014/11/09/jekyll-2-5-1-released/index.html +33 -19
- data/site/news/2014/11/12/jekyll-2-5-2-released/index.html +33 -19
- data/site/news/2014/12/17/alfredxing-welcome-to-jekyll-core/index.html +33 -19
- data/site/news/2014/12/22/jekyll-2-5-3-released/index.html +33 -19
- data/site/news/2015/01/20/jekyll-meet-and-greet/index.html +33 -19
- data/site/news/2015/01/24/jekyll-3-0-0-beta1-released/index.html +33 -19
- data/site/news/2015/02/26/introducing-jekyll-talk/index.html +33 -19
- data/site/news/2015/10/26/jekyll-3-0-released/index.html +33 -19
- data/site/news/2015/11/17/jekyll-3-0-1-released/index.html +33 -19
- data/site/news/2016/01/20/jekyll-3-0-2-released/index.html +33 -19
- data/site/news/2016/01/24/jekyll-3-1-0-released/index.html +33 -19
- data/site/news/2016/01/28/jekyll-3-1-1-released/index.html +33 -19
- data/site/news/2016/02/08/jekyll-3-0-3-released/index.html +33 -19
- data/site/news/2016/02/19/jekyll-3-1-2-released/index.html +33 -19
- data/site/news/2016/03/10/making-it-easier-to-contribute-to-jekyll/index.html +33 -19
- data/site/news/2016/04/19/jekyll-3-0-4-released/index.html +33 -19
- data/site/news/2016/04/19/jekyll-3-1-3-released/index.html +33 -19
- data/site/news/2016/04/26/jekyll-3-0-5-released/index.html +33 -19
- data/site/news/2016/05/18/jekyll-3-1-4-released/index.html +33 -19
- data/site/news/2016/05/18/jekyll-3-1-5-released/index.html +33 -19
- data/site/news/2016/05/19/jekyll-3-1-6-released/index.html +33 -19
- data/site/news/2016/06/03/update-on-jekyll-s-google-summer-of-code-projects/index.html +33 -19
- data/site/news/2016/07/26/jekyll-3-2-0-released/index.html +35 -21
- data/site/news/2016/08/02/jekyll-3-2-1-released/index.html +34 -20
- data/site/news/2016/08/24/jekyll-admin-initial-release/index.html +33 -19
- data/site/news/2016/10/06/jekyll-3-3-is-here/index.html +35 -21
- data/site/news/2016/11/14/jekyll-3-3-1-released/index.html +34 -20
- data/site/news/2017/01/18/jekyll-3-4-0-released/index.html +36 -22
- data/site/news/2017/03/02/jekyll-3-4-1-released/index.html +651 -0
- data/site/news/2017/03/09/jekyll-3-4-2-released/index.html +592 -0
- data/site/news/2017/03/21/jekyll-3-4-3-released/index.html +588 -0
- data/site/news/2017/06/15/jekyll-3-5-0-released/index.html +581 -0
- data/site/news/2017/07/17/jekyll-3-5-1-released/index.html +561 -0
- data/site/news/index.html +405 -22
- data/site/news/releases/index.html +405 -22
- data/site/philosophy.html +46 -0
- data/site/sitemap.xml +95 -48
- data/site/tutorials/convert-site-to-jekyll/index.html +851 -0
- data/site/tutorials/custom-404-page/index.html +366 -0
- data/site/tutorials/home/index.html +323 -0
- data/site/tutorials/index.html +10 -0
- data/site/tutorials/navigation/index.html +908 -0
- data/site/tutorials/orderofinterpretation/index.html +459 -0
- metadata +20 -7
- data/site/feed.xslt.xml +0 -4
data/site/docs/sites/index.html
CHANGED
@@ -4,35 +4,28 @@
|
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
7
|
-
<meta name="generator" content="Jekyll v3.
|
7
|
+
<meta name="generator" content="Jekyll v3.5.1">
|
8
8
|
<link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites">
|
9
9
|
<link rel="alternate" type="application/atom+xml" title="Recent commits to Jekyll’s master branch" href="https://github.com/jekyll/jekyll/commits/master.atom">
|
10
10
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
|
11
11
|
<link rel="stylesheet" href="/css/screen.css">
|
12
12
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
13
|
-
<!-- Begin Jekyll SEO tag v2.
|
14
|
-
<title>Sites using Jekyll
|
13
|
+
<!-- Begin Jekyll SEO tag v2.2.3 -->
|
14
|
+
<title>Sites using Jekyll | Jekyll • Simple, blog-aware, static sites</title>
|
15
15
|
<meta property="og:title" content="Sites using Jekyll">
|
16
|
+
<meta property="og:locale" content="en_US">
|
16
17
|
<meta name="description" content="It’s interesting to see what designs and features others have come up with. Below are some Jekyll-powered blogs which were hand-picked for learning purposes.">
|
17
18
|
<meta property="og:description" content="It’s interesting to see what designs and features others have come up with. Below are some Jekyll-powered blogs which were hand-picked for learning purposes.">
|
18
19
|
<link rel="canonical" href="https://jekyllrb.com/docs/sites/">
|
19
20
|
<meta property="og:url" content="https://jekyllrb.com/docs/sites/">
|
20
21
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites">
|
21
22
|
<meta property="og:type" content="article">
|
22
|
-
<meta property="article:published_time" content="2017-
|
23
|
+
<meta property="article:published_time" content="2017-07-17T13:16:40-07:00">
|
23
24
|
<meta name="twitter:card" content="summary">
|
24
25
|
<meta name="twitter:site" content="@jekyllrb">
|
25
26
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
|
26
27
|
<script type="application/ld+json">
|
27
|
-
{"@context":
|
28
|
-
"@type": "BlogPosting",
|
29
|
-
"headline": "Sites using Jekyll",
|
30
|
-
"datePublished": "2017-03-22T08:08:47-07:00",
|
31
|
-
"description": "It’s interesting to see what designs and features others have come up with. Below are some Jekyll-powered blogs which were hand-picked for learning purposes.",
|
32
|
-
"publisher": {"@type": "Organization",
|
33
|
-
"logo": {"@type": "ImageObject",
|
34
|
-
"url": "https://jekyllrb.com/img/logo-2x.png"}},
|
35
|
-
"url": "https://jekyllrb.com/docs/sites/"}</script>
|
28
|
+
{"@context":"http://schema.org","@type":"BlogPosting","headline":"Sites using Jekyll","datePublished":"2017-07-17T13:16:40-07:00","dateModified":"2017-07-17T13:16:40-07:00","description":"It’s interesting to see what designs and features others have come up with. Below are some Jekyll-powered blogs which were hand-picked for learning purposes.","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/sites/"},"url":"https://jekyllrb.com/docs/sites/"}</script>
|
36
29
|
<!-- End Jekyll SEO tag -->
|
37
30
|
|
38
31
|
<!--[if lt IE 9]>
|
@@ -62,7 +55,7 @@
|
|
62
55
|
<a href="/help/">Help</a>
|
63
56
|
</li>
|
64
57
|
<li>
|
65
|
-
<a href="https://github.com/jekyll/jekyll"
|
58
|
+
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
66
59
|
</li>
|
67
60
|
</ul>
|
68
61
|
|
@@ -94,7 +87,7 @@
|
|
94
87
|
<a href="/help/">Help</a>
|
95
88
|
</li>
|
96
89
|
<li>
|
97
|
-
<a href="https://github.com/jekyll/jekyll"
|
90
|
+
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
98
91
|
</li>
|
99
92
|
</ul>
|
100
93
|
|
@@ -126,6 +119,10 @@
|
|
126
119
|
|
127
120
|
|
128
121
|
|
122
|
+
<option value="/docs/windows/">Jekyll on Windows</option>
|
123
|
+
|
124
|
+
|
125
|
+
|
129
126
|
<option value="/docs/usage/">Basic Usage</option>
|
130
127
|
|
131
128
|
|
@@ -304,6 +301,9 @@ learning purposes.</p>
|
|
304
301
|
<li>
|
305
302
|
<a href="https://rsms.me/">Rasmus Andersson</a>
|
306
303
|
(<a href="https://github.com/rsms/rsms.github.com">source</a>)</li>
|
304
|
+
<li>
|
305
|
+
<a href="https://mvvmcross.github.io/MvvmCross/">MvvmCross</a>
|
306
|
+
(<a href="https://github.com/MvvmCross/MvvmCross/tree/master/docs">source</a>)</li>
|
307
307
|
</ul>
|
308
308
|
|
309
309
|
<p>If you would like to explore more examples, you can find a list of sites
|
@@ -395,6 +395,9 @@ and their sources on the <a href="https://github.com/jekyll/jekyll/wiki/Sites">
|
|
395
395
|
|
396
396
|
|
397
397
|
|
398
|
+
|
399
|
+
|
400
|
+
|
398
401
|
|
399
402
|
|
400
403
|
|
@@ -440,6 +443,10 @@ and their sources on the <a href="https://github.com/jekyll/jekyll/wiki/Sites">
|
|
440
443
|
|
441
444
|
|
442
445
|
|
446
|
+
<li class=""><a href="/docs/windows/">Jekyll on Windows</a></li>
|
447
|
+
|
448
|
+
|
449
|
+
|
443
450
|
<li class=""><a href="/docs/usage/">Basic Usage</a></li>
|
444
451
|
|
445
452
|
|
@@ -4,35 +4,28 @@
|
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
7
|
-
<meta name="generator" content="Jekyll v3.
|
7
|
+
<meta name="generator" content="Jekyll v3.5.1">
|
8
8
|
<link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites">
|
9
9
|
<link rel="alternate" type="application/atom+xml" title="Recent commits to Jekyll’s master branch" href="https://github.com/jekyll/jekyll/commits/master.atom">
|
10
10
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
|
11
11
|
<link rel="stylesheet" href="/css/screen.css">
|
12
12
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
13
|
-
<!-- Begin Jekyll SEO tag v2.
|
14
|
-
<title>Static Files
|
13
|
+
<!-- Begin Jekyll SEO tag v2.2.3 -->
|
14
|
+
<title>Static Files | Jekyll • Simple, blog-aware, static sites</title>
|
15
15
|
<meta property="og:title" content="Static Files">
|
16
|
+
<meta property="og:locale" content="en_US">
|
16
17
|
<meta name="description" content="In addition to renderable and convertible content, we also have static files.">
|
17
18
|
<meta property="og:description" content="In addition to renderable and convertible content, we also have static files.">
|
18
19
|
<link rel="canonical" href="https://jekyllrb.com/docs/static-files/">
|
19
20
|
<meta property="og:url" content="https://jekyllrb.com/docs/static-files/">
|
20
21
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites">
|
21
22
|
<meta property="og:type" content="article">
|
22
|
-
<meta property="article:published_time" content="2017-
|
23
|
+
<meta property="article:published_time" content="2017-07-17T13:16:40-07:00">
|
23
24
|
<meta name="twitter:card" content="summary">
|
24
25
|
<meta name="twitter:site" content="@jekyllrb">
|
25
26
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
|
26
27
|
<script type="application/ld+json">
|
27
|
-
{"@context":
|
28
|
-
"@type": "BlogPosting",
|
29
|
-
"headline": "Static Files",
|
30
|
-
"datePublished": "2017-03-22T08:08:47-07:00",
|
31
|
-
"description": "In addition to renderable and convertible content, we also have static files.",
|
32
|
-
"publisher": {"@type": "Organization",
|
33
|
-
"logo": {"@type": "ImageObject",
|
34
|
-
"url": "https://jekyllrb.com/img/logo-2x.png"}},
|
35
|
-
"url": "https://jekyllrb.com/docs/static-files/"}</script>
|
28
|
+
{"@context":"http://schema.org","@type":"BlogPosting","headline":"Static Files","datePublished":"2017-07-17T13:16:40-07:00","dateModified":"2017-07-17T13:16:40-07:00","description":"In addition to renderable and convertible content, we also have static files.","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/static-files/"},"url":"https://jekyllrb.com/docs/static-files/"}</script>
|
36
29
|
<!-- End Jekyll SEO tag -->
|
37
30
|
|
38
31
|
<!--[if lt IE 9]>
|
@@ -62,7 +55,7 @@
|
|
62
55
|
<a href="/help/">Help</a>
|
63
56
|
</li>
|
64
57
|
<li>
|
65
|
-
<a href="https://github.com/jekyll/jekyll"
|
58
|
+
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
66
59
|
</li>
|
67
60
|
</ul>
|
68
61
|
|
@@ -94,7 +87,7 @@
|
|
94
87
|
<a href="/help/">Help</a>
|
95
88
|
</li>
|
96
89
|
<li>
|
97
|
-
<a href="https://github.com/jekyll/jekyll"
|
90
|
+
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
98
91
|
</li>
|
99
92
|
</ul>
|
100
93
|
|
@@ -126,6 +119,10 @@
|
|
126
119
|
|
127
120
|
|
128
121
|
|
122
|
+
<option value="/docs/windows/">Jekyll on Windows</option>
|
123
|
+
|
124
|
+
|
125
|
+
|
129
126
|
<option value="/docs/usage/">Basic Usage</option>
|
130
127
|
|
131
128
|
|
@@ -353,6 +350,39 @@ following metadata:</p>
|
|
353
350
|
</table>
|
354
351
|
</div>
|
355
352
|
|
353
|
+
<p>Note that in the above table, <code class="highlighter-rouge">file</code> can be anything. It’s simply an arbitrarily set variable used in your own logic (such as in a for loop). It isn’t a global site or page variable.</p>
|
354
|
+
|
355
|
+
<h2 id="add-front-matter-to-static-files">Add front matter to static files</h2>
|
356
|
+
|
357
|
+
<p>Although you can’t directly add front matter values to static files, you can set front matter values through the <a href="../configuration/#front-matter-defaults">defaults property</a> in your configuration file. When Jekyll builds the site, it will use the front matter values you set.</p>
|
358
|
+
|
359
|
+
<p>Here’s an example:</p>
|
360
|
+
|
361
|
+
<p>In your <code class="highlighter-rouge">_config.yml</code> file, add the following values to the <code class="highlighter-rouge">defaults</code> property:</p>
|
362
|
+
|
363
|
+
<div class="language-yaml highlighter-rouge">
|
364
|
+
<pre class="highlight"><code><span class="s">defaults</span><span class="pi">:</span>
|
365
|
+
<span class="pi">-</span> <span class="s">scope</span><span class="pi">:</span>
|
366
|
+
<span class="s">path</span><span class="pi">:</span> <span class="s2">"</span><span class="s">assets/img"</span>
|
367
|
+
<span class="s">values</span><span class="pi">:</span>
|
368
|
+
<span class="s">image</span><span class="pi">:</span> <span class="s">true</span>
|
369
|
+
</code></pre>
|
370
|
+
</div>
|
371
|
+
|
372
|
+
<p>This assumes that your Jekyll site has a folder path of <code class="highlighter-rouge">assets/img</code> where you have images (static files) stored. When Jekyll builds the site, it will treat each image as if it had the front matter value of <code class="highlighter-rouge">image: true</code>.</p>
|
373
|
+
|
374
|
+
<p>Suppose you want to list all your image assets as contained in <code class="highlighter-rouge">assets/img</code>. You could use this for loop to look in the <code class="highlighter-rouge">static_files</code> object and get all static files that have this front matter property:</p>
|
375
|
+
|
376
|
+
<div class="language-liquid highlighter-rouge">
|
377
|
+
<pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">assign</span><span class="w"> </span><span class="nv">image_files</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">static_files</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">"image"</span><span class="p">,</span><span class="w"> </span><span class="kc">true</span><span class="w"> </span><span class="p">%}</span>
|
378
|
+
<span class="p">{%</span><span class="w"> </span><span class="nt">for</span><span class="w"> </span>myimage<span class="w"> </span>in<span class="w"> </span>image_files<span class="w"> </span><span class="p">%}</span>
|
379
|
+
<span class="p">{{</span><span class="w"> </span><span class="nv">myimage</span><span class="p">.</span><span class="nv">path</span><span class="w"> </span><span class="p">}}</span>
|
380
|
+
<span class="p">{%</span><span class="w"> </span><span class="nt">endfor</span><span class="w"> </span><span class="p">%}</span>
|
381
|
+
</code></pre>
|
382
|
+
</div>
|
383
|
+
|
384
|
+
<p>When you build your site, the output will list the path to each file that meets this front matter condition.</p>
|
385
|
+
|
356
386
|
|
357
387
|
|
358
388
|
|
@@ -387,6 +417,9 @@ following metadata:</p>
|
|
387
417
|
|
388
418
|
|
389
419
|
|
420
|
+
|
421
|
+
|
422
|
+
|
390
423
|
|
391
424
|
|
392
425
|
|
@@ -432,6 +465,10 @@ following metadata:</p>
|
|
432
465
|
|
433
466
|
|
434
467
|
|
468
|
+
<li class=""><a href="/docs/windows/">Jekyll on Windows</a></li>
|
469
|
+
|
470
|
+
|
471
|
+
|
435
472
|
<li class=""><a href="/docs/usage/">Basic Usage</a></li>
|
436
473
|
|
437
474
|
|
@@ -4,35 +4,28 @@
|
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
7
|
-
<meta name="generator" content="Jekyll v3.
|
7
|
+
<meta name="generator" content="Jekyll v3.5.1">
|
8
8
|
<link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites">
|
9
9
|
<link rel="alternate" type="application/atom+xml" title="Recent commits to Jekyll’s master branch" href="https://github.com/jekyll/jekyll/commits/master.atom">
|
10
10
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
|
11
11
|
<link rel="stylesheet" href="/css/screen.css">
|
12
12
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
13
|
-
<!-- Begin Jekyll SEO tag v2.
|
14
|
-
<title>Directory structure
|
13
|
+
<!-- Begin Jekyll SEO tag v2.2.3 -->
|
14
|
+
<title>Directory structure | Jekyll • Simple, blog-aware, static sites</title>
|
15
15
|
<meta property="og:title" content="Directory structure">
|
16
|
+
<meta property="og:locale" content="en_US">
|
16
17
|
<meta name="description" content="Jekyll is, at its core, a text transformation engine. The concept behind the system is this: you give it text written in your favorite markup language, be that Markdown, Textile, or just plain HTML, and it churns that through a layout or a series of layout files. Throughout that process you can tweak how you want the site URLs to look, what data gets displayed in the layout, and more. This is all done through editing text files; the static web site is the final product.">
|
17
18
|
<meta property="og:description" content="Jekyll is, at its core, a text transformation engine. The concept behind the system is this: you give it text written in your favorite markup language, be that Markdown, Textile, or just plain HTML, and it churns that through a layout or a series of layout files. Throughout that process you can tweak how you want the site URLs to look, what data gets displayed in the layout, and more. This is all done through editing text files; the static web site is the final product.">
|
18
19
|
<link rel="canonical" href="https://jekyllrb.com/docs/structure/">
|
19
20
|
<meta property="og:url" content="https://jekyllrb.com/docs/structure/">
|
20
21
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites">
|
21
22
|
<meta property="og:type" content="article">
|
22
|
-
<meta property="article:published_time" content="2017-
|
23
|
+
<meta property="article:published_time" content="2017-07-17T13:16:40-07:00">
|
23
24
|
<meta name="twitter:card" content="summary">
|
24
25
|
<meta name="twitter:site" content="@jekyllrb">
|
25
26
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
|
26
27
|
<script type="application/ld+json">
|
27
|
-
{"@context":
|
28
|
-
"@type": "BlogPosting",
|
29
|
-
"headline": "Directory structure",
|
30
|
-
"datePublished": "2017-03-22T08:08:47-07:00",
|
31
|
-
"description": "Jekyll is, at its core, a text transformation engine. The concept behind the system is this: you give it text written in your favorite markup language, be that Markdown, Textile, or just plain HTML, and it churns that through a layout or a series of layout files. Throughout that process you can tweak how you want the site URLs to look, what data gets displayed in the layout, and more. This is all done through editing text files; the static web site is the final product.",
|
32
|
-
"publisher": {"@type": "Organization",
|
33
|
-
"logo": {"@type": "ImageObject",
|
34
|
-
"url": "https://jekyllrb.com/img/logo-2x.png"}},
|
35
|
-
"url": "https://jekyllrb.com/docs/structure/"}</script>
|
28
|
+
{"@context":"http://schema.org","@type":"BlogPosting","headline":"Directory structure","datePublished":"2017-07-17T13:16:40-07:00","dateModified":"2017-07-17T13:16:40-07:00","description":"Jekyll is, at its core, a text transformation engine. The concept behind the system is this: you give it text written in your favorite markup language, be that Markdown, Textile, or just plain HTML, and it churns that through a layout or a series of layout files. Throughout that process you can tweak how you want the site URLs to look, what data gets displayed in the layout, and more. This is all done through editing text files; the static web site is the final product.","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/structure/"},"url":"https://jekyllrb.com/docs/structure/"}</script>
|
36
29
|
<!-- End Jekyll SEO tag -->
|
37
30
|
|
38
31
|
<!--[if lt IE 9]>
|
@@ -62,7 +55,7 @@
|
|
62
55
|
<a href="/help/">Help</a>
|
63
56
|
</li>
|
64
57
|
<li>
|
65
|
-
<a href="https://github.com/jekyll/jekyll"
|
58
|
+
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
66
59
|
</li>
|
67
60
|
</ul>
|
68
61
|
|
@@ -94,7 +87,7 @@
|
|
94
87
|
<a href="/help/">Help</a>
|
95
88
|
</li>
|
96
89
|
<li>
|
97
|
-
<a href="https://github.com/jekyll/jekyll"
|
90
|
+
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
98
91
|
</li>
|
99
92
|
</ul>
|
100
93
|
|
@@ -126,6 +119,10 @@
|
|
126
119
|
|
127
120
|
|
128
121
|
|
122
|
+
<option value="/docs/windows/">Jekyll on Windows</option>
|
123
|
+
|
124
|
+
|
125
|
+
|
129
126
|
<option value="/docs/usage/">Basic Usage</option>
|
130
127
|
|
131
128
|
|
@@ -520,6 +517,9 @@ product.</p>
|
|
520
517
|
|
521
518
|
|
522
519
|
|
520
|
+
|
521
|
+
|
522
|
+
|
523
523
|
|
524
524
|
|
525
525
|
|
@@ -565,6 +565,10 @@ product.</p>
|
|
565
565
|
|
566
566
|
|
567
567
|
|
568
|
+
<li class=""><a href="/docs/windows/">Jekyll on Windows</a></li>
|
569
|
+
|
570
|
+
|
571
|
+
|
568
572
|
<li class=""><a href="/docs/usage/">Basic Usage</a></li>
|
569
573
|
|
570
574
|
|
@@ -4,35 +4,28 @@
|
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
7
|
-
<meta name="generator" content="Jekyll v3.
|
7
|
+
<meta name="generator" content="Jekyll v3.5.1">
|
8
8
|
<link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites">
|
9
9
|
<link rel="alternate" type="application/atom+xml" title="Recent commits to Jekyll’s master branch" href="https://github.com/jekyll/jekyll/commits/master.atom">
|
10
10
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
|
11
11
|
<link rel="stylesheet" href="/css/screen.css">
|
12
12
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
13
|
-
<!-- Begin Jekyll SEO tag v2.
|
14
|
-
<title>Templates
|
13
|
+
<!-- Begin Jekyll SEO tag v2.2.3 -->
|
14
|
+
<title>Templates | Jekyll • Simple, blog-aware, static sites</title>
|
15
15
|
<meta property="og:title" content="Templates">
|
16
|
+
<meta property="og:locale" content="en_US">
|
16
17
|
<meta name="description" content="Jekyll uses the Liquid templating language to process templates. All of the standard Liquid tags and filters are supported. Jekyll even adds a few handy filters and tags of its own to make common tasks easier.">
|
17
18
|
<meta property="og:description" content="Jekyll uses the Liquid templating language to process templates. All of the standard Liquid tags and filters are supported. Jekyll even adds a few handy filters and tags of its own to make common tasks easier.">
|
18
19
|
<link rel="canonical" href="https://jekyllrb.com/docs/templates/">
|
19
20
|
<meta property="og:url" content="https://jekyllrb.com/docs/templates/">
|
20
21
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites">
|
21
22
|
<meta property="og:type" content="article">
|
22
|
-
<meta property="article:published_time" content="2017-
|
23
|
+
<meta property="article:published_time" content="2017-07-17T13:16:40-07:00">
|
23
24
|
<meta name="twitter:card" content="summary">
|
24
25
|
<meta name="twitter:site" content="@jekyllrb">
|
25
26
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
|
26
27
|
<script type="application/ld+json">
|
27
|
-
{"@context":
|
28
|
-
"@type": "BlogPosting",
|
29
|
-
"headline": "Templates",
|
30
|
-
"datePublished": "2017-03-22T08:08:47-07:00",
|
31
|
-
"description": "Jekyll uses the Liquid templating language to process templates. All of the standard Liquid tags and filters are supported. Jekyll even adds a few handy filters and tags of its own to make common tasks easier.",
|
32
|
-
"publisher": {"@type": "Organization",
|
33
|
-
"logo": {"@type": "ImageObject",
|
34
|
-
"url": "https://jekyllrb.com/img/logo-2x.png"}},
|
35
|
-
"url": "https://jekyllrb.com/docs/templates/"}</script>
|
28
|
+
{"@context":"http://schema.org","@type":"BlogPosting","headline":"Templates","datePublished":"2017-07-17T13:16:40-07:00","dateModified":"2017-07-17T13:16:40-07:00","description":"Jekyll uses the Liquid templating language to process templates. All of the standard Liquid tags and filters are supported. Jekyll even adds a few handy filters and tags of its own to make common tasks easier.","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/templates/"},"url":"https://jekyllrb.com/docs/templates/"}</script>
|
36
29
|
<!-- End Jekyll SEO tag -->
|
37
30
|
|
38
31
|
<!--[if lt IE 9]>
|
@@ -62,7 +55,7 @@
|
|
62
55
|
<a href="/help/">Help</a>
|
63
56
|
</li>
|
64
57
|
<li>
|
65
|
-
<a href="https://github.com/jekyll/jekyll"
|
58
|
+
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
66
59
|
</li>
|
67
60
|
</ul>
|
68
61
|
|
@@ -94,7 +87,7 @@
|
|
94
87
|
<a href="/help/">Help</a>
|
95
88
|
</li>
|
96
89
|
<li>
|
97
|
-
<a href="https://github.com/jekyll/jekyll"
|
90
|
+
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
98
91
|
</li>
|
99
92
|
</ul>
|
100
93
|
|
@@ -126,6 +119,10 @@
|
|
126
119
|
|
127
120
|
|
128
121
|
|
122
|
+
<option value="/docs/windows/">Jekyll on Windows</option>
|
123
|
+
|
124
|
+
|
125
|
+
|
129
126
|
<option value="/docs/usage/">Basic Usage</option>
|
130
127
|
|
131
128
|
|
@@ -291,8 +288,8 @@
|
|
291
288
|
</div>
|
292
289
|
<h1>Templates</h1>
|
293
290
|
<p>Jekyll uses the <a href="https://shopify.github.io/liquid/">Liquid</a> templating language to
|
294
|
-
process templates. All of the standard Liquid <a href="https://shopify.github.io/liquid/tags/">tags</a> and
|
295
|
-
<a href="https://shopify.github.io/liquid/filters/">filters</a> are
|
291
|
+
process templates. All of the standard Liquid <a href="https://shopify.github.io/liquid/tags/control-flow/">tags</a> and
|
292
|
+
<a href="https://shopify.github.io/liquid/filters/abs/">filters</a> are
|
296
293
|
supported. Jekyll even adds a few handy filters and tags of its own to make
|
297
294
|
common tasks easier.</p>
|
298
295
|
|
@@ -467,15 +464,15 @@ common tasks easier.</p>
|
|
467
464
|
<p class="name"><strong>CGI Escape</strong></p>
|
468
465
|
<p>
|
469
466
|
CGI escape a string for use in a URL. Replaces any special characters
|
470
|
-
with appropriate
|
467
|
+
with appropriate <code>%XX</code> replacements. CGI escape normally replaces a space with a plus <code>+</code> sign.
|
471
468
|
</p>
|
472
469
|
</td>
|
473
470
|
<td class="align-center">
|
474
471
|
<p>
|
475
|
-
<code class="filter">{{ "foo,bar;baz?" | cgi_escape }}</code>
|
472
|
+
<code class="filter">{{ "foo, bar; baz?" | cgi_escape }}</code>
|
476
473
|
</p>
|
477
474
|
<p>
|
478
|
-
<code class="output">foo%
|
475
|
+
<code class="output">foo%2C+bar%3B+baz%3F</code>
|
479
476
|
</p>
|
480
477
|
</td>
|
481
478
|
</tr>
|
@@ -483,15 +480,15 @@ common tasks easier.</p>
|
|
483
480
|
<td>
|
484
481
|
<p class="name"><strong>URI Escape</strong></p>
|
485
482
|
<p>
|
486
|
-
URI escape a
|
483
|
+
Percent encodes any special characters in a URI. URI escape normally replaces a space with <code>%20</code>. <a href="https://en.wikipedia.org/wiki/Percent-encoding#Types_of_URI_characters">Reserved characters</a> will not be escaped.
|
487
484
|
</p>
|
488
485
|
</td>
|
489
486
|
<td class="align-center">
|
490
487
|
<p>
|
491
|
-
<code class="filter">{{ "foo, bar
|
488
|
+
<code class="filter">{{ "http://foo.com/?q=foo, \bar?" | uri_escape }}</code>
|
492
489
|
</p>
|
493
490
|
<p>
|
494
|
-
<code class="output">foo,%
|
491
|
+
<code class="output">http://foo.com/?q=foo,%20%5Cbar?</code>
|
495
492
|
</p>
|
496
493
|
</td>
|
497
494
|
</tr>
|
@@ -845,7 +842,7 @@ with public or secret gists:</p>
|
|
845
842
|
|
846
843
|
<p>The path to the post, page, or collection is defined as the path relative to the root directory (where your config file is) to the file, not the path from your existing page to the other page.</p>
|
847
844
|
|
848
|
-
<p>For example, suppose you’re creating a link <code class="highlighter-rouge">page_a.md</code> (stored in <code class="highlighter-rouge">pages/folder1/folder2</code>) to <code class="highlighter-rouge">page_b.md</code> (stored in <code class="highlighter-rouge">pages/folder1</code>). Your path in the link would not be <code class="highlighter-rouge">../page_b.html</code>. Instead, it would be <code class="highlighter-rouge">/pages/folder1/page_b.md</code>.</p>
|
845
|
+
<p>For example, suppose you’re creating a link in <code class="highlighter-rouge">page_a.md</code> (stored in <code class="highlighter-rouge">pages/folder1/folder2</code>) to <code class="highlighter-rouge">page_b.md</code> (stored in <code class="highlighter-rouge">pages/folder1</code>). Your path in the link would not be <code class="highlighter-rouge">../page_b.html</code>. Instead, it would be <code class="highlighter-rouge">/pages/folder1/page_b.md</code>.</p>
|
849
846
|
|
850
847
|
<p>If you’re unsure of the path, add <code class="highlighter-rouge"><span class="p">{</span><span class="err">{</span><span class="w"> </span><span class="err">page.path</span><span class="w"> </span><span class="p">}</span><span class="err">}</span></code> to the page and it will display the path.</p>
|
851
848
|
|
@@ -855,7 +852,7 @@ with public or secret gists:</p>
|
|
855
852
|
|
856
853
|
<h3 id="linking-to-posts">Linking to posts</h3>
|
857
854
|
|
858
|
-
<p>If you want
|
855
|
+
<p>If you want to include a link to a post on your site, the <code class="highlighter-rouge">post_url</code> tag will generate the correct permalink URL for the post you specify.</p>
|
859
856
|
|
860
857
|
<div class="language-liquid highlighter-rouge">
|
861
858
|
<pre class="highlight"><code>
|
@@ -936,6 +933,9 @@ with public or secret gists:</p>
|
|
936
933
|
|
937
934
|
|
938
935
|
|
936
|
+
|
937
|
+
|
938
|
+
|
939
939
|
|
940
940
|
|
941
941
|
|
@@ -981,6 +981,10 @@ with public or secret gists:</p>
|
|
981
981
|
|
982
982
|
|
983
983
|
|
984
|
+
<li class=""><a href="/docs/windows/">Jekyll on Windows</a></li>
|
985
|
+
|
986
|
+
|
987
|
+
|
984
988
|
<li class=""><a href="/docs/usage/">Basic Usage</a></li>
|
985
989
|
|
986
990
|
|