jekyll-docs 3.8.1 → 3.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/site/404.html +5 -4
- data/site/community/index.html +1 -1
- data/site/conduct/index.html +1 -1
- data/site/docs/assets/index.html +35 -35
- 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 +81 -81
- 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 +47 -47
- 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 +32 -32
- data/site/docs/history/index.html +722 -656
- data/site/docs/home/index.html +8 -7
- data/site/docs/includes/index.html +44 -43
- data/site/docs/index.html +1 -1
- data/site/docs/installation/index.html +16 -15
- data/site/docs/maintaining/affinity-team-captain/index.html +24 -24
- data/site/docs/maintaining/avoiding-burnout/index.html +8 -7
- data/site/docs/maintaining/becoming-a-maintainer/index.html +22 -22
- data/site/docs/maintaining/index.html +8 -7
- data/site/docs/maintaining/merging-a-pull-request/index.html +36 -36
- data/site/docs/maintaining/releasing-a-new-version/index.html +32 -32
- data/site/docs/maintaining/reviewing-a-pull-request/index.html +23 -23
- data/site/docs/maintaining/special-labels/index.html +27 -27
- data/site/docs/maintaining/triaging-an-issue/index.html +25 -25
- 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 +70 -70
- data/site/docs/posts/index.html +50 -50
- 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 +76 -76
- 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 +53 -65
- data/site/github.html +1 -1
- data/site/help/index.html +19 -19
- data/site/index.html +7 -6
- data/site/issues.html +1 -1
- 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 +42 -29
- data/site/news/2013/05/08/jekyll-1-0-1-released/index.html +27 -13
- data/site/news/2013/05/12/jekyll-1-0-2-released/index.html +28 -14
- data/site/news/2013/06/07/jekyll-1-0-3-released/index.html +29 -15
- data/site/news/2013/07/14/jekyll-1-1-0-released/index.html +28 -14
- data/site/news/2013/07/24/jekyll-1-1-1-released/index.html +25 -11
- data/site/news/2013/07/25/jekyll-1-0-4-released/index.html +27 -13
- data/site/news/2013/07/25/jekyll-1-1-2-released/index.html +27 -13
- data/site/news/2013/09/06/jekyll-1-2-0-released/index.html +30 -16
- data/site/news/2013/09/14/jekyll-1-2-1-released/index.html +28 -14
- data/site/news/2013/10/28/jekyll-1-3-0-rc1-released/index.html +25 -11
- data/site/news/2013/11/04/jekyll-1-3-0-released/index.html +34 -20
- data/site/news/2013/11/26/jekyll-1-3-1-released/index.html +26 -12
- data/site/news/2013/12/07/jekyll-1-4-0-released/index.html +26 -12
- data/site/news/2013/12/09/jekyll-1-4-1-released/index.html +25 -11
- data/site/news/2013/12/16/jekyll-1-4-2-released/index.html +27 -13
- data/site/news/2014/01/13/jekyll-1-4-3-released/index.html +43 -30
- data/site/news/2014/03/24/jekyll-1-5-0-released/index.html +26 -12
- data/site/news/2014/03/27/jekyll-1-5-1-released/index.html +43 -30
- data/site/news/2014/05/06/jekyll-turns-2-0-0/index.html +46 -33
- data/site/news/2014/05/08/jekyll-2-0-3-released/index.html +25 -11
- data/site/news/2014/06/04/jekyll-stickers-1-dollar-stickermule/index.html +42 -29
- data/site/news/2014/06/28/jekyll-turns-21-i-mean-2-1-0/index.html +30 -16
- data/site/news/2014/07/01/jekyll-2-1-1-released/index.html +27 -13
- data/site/news/2014/07/29/jekyll-2-2-0-released/index.html +26 -12
- 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 +32 -18
- data/site/news/2014/11/05/jekylls-midlife-crisis-jekyll-turns-2-5-0/index.html +48 -35
- data/site/news/2014/11/09/jekyll-2-5-1-released/index.html +25 -11
- data/site/news/2014/11/12/jekyll-2-5-2-released/index.html +27 -13
- data/site/news/2014/12/17/alfredxing-welcome-to-jekyll-core/index.html +42 -29
- data/site/news/2014/12/22/jekyll-2-5-3-released/index.html +25 -11
- data/site/news/2015/01/20/jekyll-meet-and-greet/index.html +42 -29
- data/site/news/2015/01/24/jekyll-3-0-0-beta1-released/index.html +25 -11
- data/site/news/2015/02/26/introducing-jekyll-talk/index.html +42 -29
- data/site/news/2015/10/26/jekyll-3-0-released/index.html +30 -16
- data/site/news/2015/11/17/jekyll-3-0-1-released/index.html +29 -15
- data/site/news/2016/01/20/jekyll-3-0-2-released/index.html +27 -13
- data/site/news/2016/01/24/jekyll-3-1-0-released/index.html +30 -16
- data/site/news/2016/01/28/jekyll-3-1-1-released/index.html +47 -34
- data/site/news/2016/02/08/jekyll-3-0-3-released/index.html +26 -12
- data/site/news/2016/02/19/jekyll-3-1-2-released/index.html +27 -13
- data/site/news/2016/03/10/making-it-easier-to-contribute-to-jekyll/index.html +25 -11
- data/site/news/2016/04/19/jekyll-3-0-4-released/index.html +26 -12
- data/site/news/2016/04/19/jekyll-3-1-3-released/index.html +26 -12
- data/site/news/2016/04/26/jekyll-3-0-5-released/index.html +25 -11
- data/site/news/2016/05/18/jekyll-3-1-4-released/index.html +31 -17
- data/site/news/2016/05/18/jekyll-3-1-5-released/index.html +26 -12
- data/site/news/2016/05/19/jekyll-3-1-6-released/index.html +26 -12
- data/site/news/2016/06/03/update-on-jekyll-s-google-summer-of-code-projects/index.html +42 -29
- data/site/news/2016/07/26/jekyll-3-2-0-released/index.html +29 -15
- data/site/news/2016/08/02/jekyll-3-2-1-released/index.html +43 -30
- data/site/news/2016/08/24/jekyll-admin-initial-release/index.html +42 -29
- data/site/news/2016/10/06/jekyll-3-3-is-here/index.html +51 -37
- data/site/news/2016/11/14/jekyll-3-3-1-released/index.html +26 -12
- data/site/news/2017/01/18/jekyll-3-4-0-released/index.html +27 -13
- data/site/news/2017/03/02/jekyll-3-4-1-released/index.html +43 -30
- data/site/news/2017/03/09/jekyll-3-4-2-released/index.html +47 -34
- data/site/news/2017/03/21/jekyll-3-4-3-released/index.html +52 -39
- data/site/news/2017/06/15/jekyll-3-5-0-released/index.html +51 -38
- data/site/news/2017/07/17/jekyll-3-5-1-released/index.html +27 -13
- data/site/news/2017/08/12/jekyll-3-5-2-released/index.html +30 -16
- data/site/news/2017/09/21/jekyll-3-6-0-released/index.html +26 -12
- data/site/news/2017/10/19/diversity-open-source/index.html +27 -13
- data/site/news/2017/10/21/jekyll-3-6-2-released/index.html +45 -32
- data/site/news/2018/01/02/jekyll-3-7-0-released/index.html +48 -35
- data/site/news/2018/01/25/jekyll-3-7-2-released/index.html +53 -40
- data/site/news/2018/02/19/meet-jekyll-s-new-lead-developer/index.html +42 -29
- data/site/news/2018/02/24/jekyll-3-7-3-released/index.html +50 -37
- data/site/news/2018/05/01/jekyll-3-8-1-released/index.html +47 -34
- data/site/news/2018/05/19/jekyll-3-8-2-released/index.html +620 -0
- data/site/news/2018/06/05/jekyll-3-8-3-released/index.html +615 -0
- data/site/news/2019/07/02/jekyll-3-8-6-released/index.html +623 -0
- data/site/news/index.html +351 -230
- data/site/news/releases/index.html +349 -228
- data/site/philosophy.html +1 -1
- data/site/sitemap.xml +72 -60
- data/site/team/index.html +19 -19
- 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/index.html +1 -1
- 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 +13 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6096e03721a7c018cb1c286600bfbf8d2cc98e44765b0824bedd367f15d74b15
|
4
|
+
data.tar.gz: a3ce5932b9c350082fd17ef74efe0a5c02aed08056281b1dae9a917c408a6768
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9edb0379a1a674704cdb1c8f52d64cae26ec6879eb8aec644f8f35c86b1e90dc97b964b8c31174b142da73520d8ef09d071a07d55a56c5b1cb60142a733d702a
|
7
|
+
data.tar.gz: bfebaa7e1f792fc8b160348c2928cbe53e88727dab691cdd85a8e9e55c06591224b930b9b3ef5c5ba51b2e6bfd01ff3eb85b0e918776695d28692aba09adc43d
|
data/site/404.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>Jekyll • Simple, blog-aware, static sites | Transform your plain text into static websites and blogs</title>
|
16
|
-
<meta name="generator" content="Jekyll v3.
|
16
|
+
<meta name="generator" content="Jekyll v3.9.0" />
|
17
17
|
<meta property="og:title" content="Jekyll • Simple, blog-aware, static sites" />
|
18
18
|
<meta property="og:locale" content="en_US" />
|
19
19
|
<meta name="description" content="Transform your plain text into static websites and blogs" />
|
@@ -22,10 +22,11 @@
|
|
22
22
|
<meta property="og:url" content="https://jekyllrb.com/404.html" />
|
23
23
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites" />
|
24
24
|
<meta name="twitter:card" content="summary" />
|
25
|
+
<meta property="twitter:title" content="Jekyll • Simple, blog-aware, static sites" />
|
25
26
|
<meta name="twitter:site" content="@jekyllrb" />
|
26
27
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY" />
|
27
28
|
<script type="application/ld+json">
|
28
|
-
{"
|
29
|
+
{"url":"https://jekyllrb.com/404.html","headline":"Jekyll • Simple, blog-aware, static sites","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"description":"Transform your plain text into static websites and blogs","@type":"WebPage","@context":"https://schema.org"}</script>
|
29
30
|
<!-- End Jekyll SEO tag -->
|
30
31
|
|
31
32
|
<!--[if lt IE 9]>
|
data/site/community/index.html
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
<meta charset="utf-8">
|
4
4
|
<title>Redirecting…</title>
|
5
5
|
<link rel="canonical" href="https://jekyllrb.com/jekyllconf/">
|
6
|
+
<script>location="https://jekyllrb.com/jekyllconf/"</script>
|
6
7
|
<meta http-equiv="refresh" content="0; url=https://jekyllrb.com/jekyllconf/">
|
7
8
|
<meta name="robots" content="noindex">
|
8
9
|
<h1>Redirecting…</h1>
|
9
10
|
<a href="https://jekyllrb.com/jekyllconf/">Click here if you are not redirected.</a>
|
10
|
-
<script>location="https://jekyllrb.com/jekyllconf/"</script>
|
11
11
|
</html>
|
data/site/conduct/index.html
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
<meta charset="utf-8">
|
4
4
|
<title>Redirecting…</title>
|
5
5
|
<link rel="canonical" href="https://jekyllrb.com/docs/conduct/">
|
6
|
+
<script>location="https://jekyllrb.com/docs/conduct/"</script>
|
6
7
|
<meta http-equiv="refresh" content="0; url=https://jekyllrb.com/docs/conduct/">
|
7
8
|
<meta name="robots" content="noindex">
|
8
9
|
<h1>Redirecting…</h1>
|
9
10
|
<a href="https://jekyllrb.com/docs/conduct/">Click here if you are not redirected.</a>
|
10
|
-
<script>location="https://jekyllrb.com/docs/conduct/"</script>
|
11
11
|
</html>
|
data/site/docs/assets/index.html
CHANGED
@@ -1,34 +1,34 @@
|
|
1
1
|
<!DOCTYPE HTML>
|
2
2
|
<html lang="en-US">
|
3
3
|
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
4
|
<meta charset="UTF-8">
|
6
5
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
7
|
-
<meta name="generator" content="Jekyll v3.
|
8
|
-
<link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites"
|
6
|
+
<meta name="generator" content="Jekyll v3.9.0">
|
7
|
+
<link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites" />
|
9
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">
|
10
9
|
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>
|
11
10
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
|
12
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css"
|
11
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
13
12
|
<link rel="stylesheet" href="/css/screen.css">
|
14
13
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
15
|
-
<!-- Begin Jekyll SEO tag v2.
|
14
|
+
<!-- Begin Jekyll SEO tag v2.6.1 -->
|
16
15
|
<title>Assets | Jekyll • Simple, blog-aware, static sites</title>
|
17
|
-
<meta name="generator" content="Jekyll v3.
|
18
|
-
<meta property="og:title" content="Assets"
|
19
|
-
<meta property="og:locale" content="en_US"
|
20
|
-
<meta name="description" content="Jekyll provides built-in support for Sass and can work with CoffeeScript via a Ruby gem. In order to use them, you must first create a file with the proper extension name (one of .sass, .scss, or .coffee) and start the file with two lines of triple dashes, like this:"
|
21
|
-
<meta property="og:description" content="Jekyll provides built-in support for Sass and can work with CoffeeScript via a Ruby gem. In order to use them, you must first create a file with the proper extension name (one of .sass, .scss, or .coffee) and start the file with two lines of triple dashes, like this:"
|
22
|
-
<link rel="canonical" href="https://jekyllrb.com/docs/assets/"
|
23
|
-
<meta property="og:url" content="https://jekyllrb.com/docs/assets/"
|
24
|
-
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites"
|
25
|
-
<meta property="og:type" content="article"
|
26
|
-
<meta property="article:published_time" content="
|
27
|
-
<meta name="twitter:card" content="summary"
|
28
|
-
<meta
|
29
|
-
<meta name="
|
16
|
+
<meta name="generator" content="Jekyll v3.9.0" />
|
17
|
+
<meta property="og:title" content="Assets" />
|
18
|
+
<meta property="og:locale" content="en_US" />
|
19
|
+
<meta name="description" content="Jekyll provides built-in support for Sass and can work with CoffeeScript via a Ruby gem. In order to use them, you must first create a file with the proper extension name (one of .sass, .scss, or .coffee) and start the file with two lines of triple dashes, like this:" />
|
20
|
+
<meta property="og:description" content="Jekyll provides built-in support for Sass and can work with CoffeeScript via a Ruby gem. In order to use them, you must first create a file with the proper extension name (one of .sass, .scss, or .coffee) and start the file with two lines of triple dashes, like this:" />
|
21
|
+
<link rel="canonical" href="https://jekyllrb.com/docs/assets/" />
|
22
|
+
<meta property="og:url" content="https://jekyllrb.com/docs/assets/" />
|
23
|
+
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites" />
|
24
|
+
<meta property="og:type" content="article" />
|
25
|
+
<meta property="article:published_time" content="2020-08-05T11:55:36-07:00" />
|
26
|
+
<meta name="twitter:card" content="summary" />
|
27
|
+
<meta property="twitter:title" content="Assets" />
|
28
|
+
<meta name="twitter:site" content="@jekyllrb" />
|
29
|
+
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY" />
|
30
30
|
<script type="application/ld+json">
|
31
|
-
{"description":"Jekyll provides built-in support for Sass and can work with CoffeeScript via a Ruby gem. In order to use them, you must first create a file with the proper extension name (one of .sass, .scss, or .coffee) and start the file with two lines of triple dashes, like this:","
|
31
|
+
{"url":"https://jekyllrb.com/docs/assets/","headline":"Assets","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":"Jekyll provides built-in support for Sass and can work with CoffeeScript via a Ruby gem. In order to use them, you must first create a file with the proper extension name (one of .sass, .scss, or .coffee) and start the file with two lines of triple dashes, like this:","mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/assets/"},"@type":"BlogPosting","@context":"https://schema.org"}</script>
|
32
32
|
<!-- End Jekyll SEO tag -->
|
33
33
|
|
34
34
|
<!--[if lt IE 9]>
|
@@ -73,7 +73,7 @@
|
|
73
73
|
<div class="meta hide-on-mobiles">
|
74
74
|
<ul>
|
75
75
|
<li>
|
76
|
-
<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>
|
77
77
|
</li>
|
78
78
|
<li>
|
79
79
|
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
@@ -297,7 +297,7 @@
|
|
297
297
|
<h1>Assets</h1>
|
298
298
|
<p>Jekyll provides built-in support for Sass and can work with CoffeeScript via
|
299
299
|
a Ruby gem. In order to use them, you must first create a file with the
|
300
|
-
proper extension name (one of <code class="highlighter-rouge">.sass</code>, <code class="highlighter-rouge">.scss</code>, or <code class="highlighter-rouge">.coffee</code>) and <strong><em>start the
|
300
|
+
proper extension name (one of <code class="language-plaintext highlighter-rouge">.sass</code>, <code class="language-plaintext highlighter-rouge">.scss</code>, or <code class="language-plaintext highlighter-rouge">.coffee</code>) and <strong><em>start the
|
301
301
|
file with two lines of triple dashes</em></strong>, like this:</p>
|
302
302
|
|
303
303
|
<div class="language-sass highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">---</span>
|
@@ -310,9 +310,9 @@ file with two lines of triple dashes</em></strong>, like this:</p>
|
|
310
310
|
|
311
311
|
<p>Jekyll treats these files the same as a regular page, in that the output file
|
312
312
|
will be placed in the same directory that it came from. For instance, if you
|
313
|
-
have a file named <code class="highlighter-rouge">css/styles.scss</code> in your site’s source folder, Jekyll
|
313
|
+
have a file named <code class="language-plaintext highlighter-rouge">css/styles.scss</code> in your site’s source folder, Jekyll
|
314
314
|
will process it and put it in your site’s destination folder under
|
315
|
-
<code class="highlighter-rouge">css/styles.css</code>.</p>
|
315
|
+
<code class="language-plaintext highlighter-rouge">css/styles.css</code>.</p>
|
316
316
|
|
317
317
|
<div class="note info">
|
318
318
|
<h5>Jekyll processes all Liquid filters and tags in asset files</h5>
|
@@ -327,21 +327,21 @@ will process it and put it in your site’s destination folder under
|
|
327
327
|
|
328
328
|
<p>Jekyll allows you to customize your Sass conversion in certain ways.</p>
|
329
329
|
|
330
|
-
<p>Place all your partials in your <code class="highlighter-rouge">sass_dir</code>, which defaults to
|
331
|
-
<code class="highlighter-rouge"><source>/_sass</code>. Place your main SCSS or Sass files in the place you want
|
332
|
-
them to be in the output file, such as <code class="highlighter-rouge"><source>/css</code>. For an example, take
|
330
|
+
<p>Place all your partials in your <code class="language-plaintext highlighter-rouge">sass_dir</code>, which defaults to
|
331
|
+
<code class="language-plaintext highlighter-rouge"><source>/_sass</code>. Place your main SCSS or Sass files in the place you want
|
332
|
+
them to be in the output file, such as <code class="language-plaintext highlighter-rouge"><source>/css</code>. For an example, take
|
333
333
|
a look at <a href="https://github.com/jekyll/jekyll-sass-converter/tree/master/docs">this example site using Sass support in Jekyll</a>.</p>
|
334
334
|
|
335
|
-
<p>If you are using Sass <code class="highlighter-rouge">@import</code> statements, you’ll need to ensure that your
|
336
|
-
<code class="highlighter-rouge">sass_dir</code> is set to the base directory that contains your Sass files. You
|
335
|
+
<p>If you are using Sass <code class="language-plaintext highlighter-rouge">@import</code> statements, you’ll need to ensure that your
|
336
|
+
<code class="language-plaintext highlighter-rouge">sass_dir</code> is set to the base directory that contains your Sass files. You
|
337
337
|
can do that thusly:</p>
|
338
338
|
|
339
339
|
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">sass</span><span class="pi">:</span>
|
340
340
|
<span class="na">sass_dir</span><span class="pi">:</span> <span class="s">_sass</span>
|
341
341
|
</code></pre></div></div>
|
342
342
|
|
343
|
-
<p>The Sass converter will default the <code class="highlighter-rouge">sass_dir</code> configuration option to
|
344
|
-
<code class="highlighter-rouge">_sass</code>.</p>
|
343
|
+
<p>The Sass converter will default the <code class="language-plaintext highlighter-rouge">sass_dir</code> configuration option to
|
344
|
+
<code class="language-plaintext highlighter-rouge">_sass</code>.</p>
|
345
345
|
|
346
346
|
<div class="note info">
|
347
347
|
<h5>The <code>sass_dir</code> is only used by Sass</h5>
|
@@ -356,8 +356,8 @@ can do that thusly:</p>
|
|
356
356
|
</p>
|
357
357
|
</div>
|
358
358
|
|
359
|
-
<p>You may also specify the output style with the <code class="highlighter-rouge">style</code> option in your
|
360
|
-
<code class="highlighter-rouge">_config.yml</code> file:</p>
|
359
|
+
<p>You may also specify the output style with the <code class="language-plaintext highlighter-rouge">style</code> option in your
|
360
|
+
<code class="language-plaintext highlighter-rouge">_config.yml</code> file:</p>
|
361
361
|
|
362
362
|
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">sass</span><span class="pi">:</span>
|
363
363
|
<span class="na">style</span><span class="pi">:</span> <span class="s">compressed</span>
|
@@ -371,8 +371,8 @@ here, too.</p>
|
|
371
371
|
<p>To enable Coffeescript in Jekyll 3.0 and up you must</p>
|
372
372
|
|
373
373
|
<ul>
|
374
|
-
<li>Install the <code class="highlighter-rouge">jekyll-coffeescript</code> gem</li>
|
375
|
-
<li>Ensure that your <code class="highlighter-rouge">_config.yml</code> is up-to-date and includes the following:</li>
|
374
|
+
<li>Install the <code class="language-plaintext highlighter-rouge">jekyll-coffeescript</code> gem</li>
|
375
|
+
<li>Ensure that your <code class="language-plaintext highlighter-rouge">_config.yml</code> is up-to-date and includes the following:</li>
|
376
376
|
</ul>
|
377
377
|
|
378
378
|
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">plugins</span><span class="pi">:</span>
|
@@ -649,7 +649,7 @@ here, too.</p>
|
|
649
649
|
<footer>
|
650
650
|
<div class="grid">
|
651
651
|
<div class="unit one-third center-on-mobiles">
|
652
|
-
<p>The contents of this website are <br>©
|
652
|
+
<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>
|
653
653
|
</div>
|
654
654
|
<div class="unit two-thirds align-right center-on-mobiles">
|
655
655
|
<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>Code of Conduct | 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="Code of Conduct" />
|
18
18
|
<meta property="og:locale" content="en_US" />
|
19
19
|
<meta name="description" content="As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities." />
|
@@ -22,12 +22,13 @@
|
|
22
22
|
<meta property="og:url" content="https://jekyllrb.com/docs/code_of_conduct/" />
|
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="Code of Conduct" />
|
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
|
-
{"description":"As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.","
|
31
|
+
{"url":"https://jekyllrb.com/docs/code_of_conduct/","headline":"Code of Conduct","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":"As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.","mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/code_of_conduct/"},"@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>
|
@@ -654,7 +655,7 @@ version 1.3.0, available at
|
|
654
655
|
<footer>
|
655
656
|
<div class="grid">
|
656
657
|
<div class="unit one-third center-on-mobiles">
|
657
|
-
<p>The contents of this website are <br />©
|
658
|
+
<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>
|
658
659
|
</div>
|
659
660
|
<div class="unit two-thirds align-right center-on-mobiles">
|
660
661
|
<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>Collections | 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="Collections" />
|
18
18
|
<meta property="og:locale" content="en_US" />
|
19
19
|
<meta name="description" content="Not everything is a post or a page. Maybe you want to document the various methods in your open source project, members of a team, or talks at a conference. Collections allow you to define a new type of document that behave like Pages or Posts do normally, but also have their own unique properties and namespace." />
|
@@ -22,12 +22,13 @@
|
|
22
22
|
<meta property="og:url" content="https://jekyllrb.com/docs/collections/" />
|
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="Collections" />
|
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
|
-
{"description":"Not everything is a post or a page. Maybe you want to document the various methods in your open source project, members of a team, or talks at a conference. Collections allow you to define a new type of document that behave like Pages or Posts do normally, but also have their own unique properties and namespace.","
|
31
|
+
{"url":"https://jekyllrb.com/docs/collections/","headline":"Collections","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":"Not everything is a post or a page. Maybe you want to document the various methods in your open source project, members of a team, or talks at a conference. Collections allow you to define a new type of document that behave like Pages or Posts do normally, but also have their own unique properties and namespace.","mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/collections/"},"@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>
|
@@ -312,7 +313,7 @@ namespace.</p>
|
|
312
313
|
|
313
314
|
<h3 id="step1">Step 1: Tell Jekyll to read in your collection</h3>
|
314
315
|
|
315
|
-
<p>Add the following to your site’s <code class="highlighter-rouge">_config.yml</code> file, replacing <code class="highlighter-rouge">my_collection</code>
|
316
|
+
<p>Add the following to your site’s <code class="language-plaintext highlighter-rouge">_config.yml</code> file, replacing <code class="language-plaintext highlighter-rouge">my_collection</code>
|
316
317
|
with the name of your collection:</p>
|
317
318
|
|
318
319
|
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">collections</span><span class="pi">:</span>
|
@@ -354,9 +355,9 @@ with the name of your collection:</p>
|
|
354
355
|
|
355
356
|
<h3 id="step2">Step 2: Add your content</h3>
|
356
357
|
|
357
|
-
<p>Create a corresponding folder (e.g. <code class="highlighter-rouge"><source>/_my_collection</code>) and add
|
358
|
+
<p>Create a corresponding folder (e.g. <code class="language-plaintext highlighter-rouge"><source>/_my_collection</code>) and add
|
358
359
|
documents. YAML front matter is processed if the front matter exists, and everything
|
359
|
-
after the front matter is pushed into the document’s <code class="highlighter-rouge">content</code> attribute. If no YAML front
|
360
|
+
after the front matter is pushed into the document’s <code class="language-plaintext highlighter-rouge">content</code> attribute. If no YAML front
|
360
361
|
matter is provided, Jekyll will not generate the file in your collection.</p>
|
361
362
|
|
362
363
|
<div class="note info">
|
@@ -370,8 +371,8 @@ your <code>_config.yml</code> file, with the addition of the preceding <code>_</
|
|
370
371
|
<h3 id="step3">Step 3: Optionally render your collection’s documents into independent files</h3>
|
371
372
|
|
372
373
|
<p>If you’d like Jekyll to create a public-facing, rendered version of each
|
373
|
-
document in your collection, set the <code class="highlighter-rouge">output</code> key to <code class="highlighter-rouge">true</code> in your collection
|
374
|
-
metadata in your <code class="highlighter-rouge">_config.yml</code>:</p>
|
374
|
+
document in your collection, set the <code class="language-plaintext highlighter-rouge">output</code> key to <code class="language-plaintext highlighter-rouge">true</code> in your collection
|
375
|
+
metadata in your <code class="language-plaintext highlighter-rouge">_config.yml</code>:</p>
|
375
376
|
|
376
377
|
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">collections</span><span class="pi">:</span>
|
377
378
|
<span class="na">my_collection</span><span class="pi">:</span>
|
@@ -379,15 +380,15 @@ metadata in your <code class="highlighter-rouge">_config.yml</code>:</p>
|
|
379
380
|
</code></pre></div></div>
|
380
381
|
|
381
382
|
<p>This will produce a file for each document in the collection.
|
382
|
-
For example, if you have <code class="highlighter-rouge">_my_collection/some_subdir/some_doc.md</code>,
|
383
|
+
For example, if you have <code class="language-plaintext highlighter-rouge">_my_collection/some_subdir/some_doc.md</code>,
|
383
384
|
it will be rendered using Liquid and the Markdown converter of your
|
384
|
-
choice and written out to <code class="highlighter-rouge"><dest>/my_collection/some_subdir/some_doc.html</code>.</p>
|
385
|
+
choice and written out to <code class="language-plaintext highlighter-rouge"><dest>/my_collection/some_subdir/some_doc.html</code>.</p>
|
385
386
|
|
386
|
-
<p>If you wish a specific page to be shown when accessing <code class="highlighter-rouge">/my_collection/</code>,
|
387
|
-
simply add <code class="highlighter-rouge">permalink: /my_collection/index.html</code> to a page.
|
387
|
+
<p>If you wish a specific page to be shown when accessing <code class="language-plaintext highlighter-rouge">/my_collection/</code>,
|
388
|
+
simply add <code class="language-plaintext highlighter-rouge">permalink: /my_collection/index.html</code> to a page.
|
388
389
|
To list items from the collection, on that page or any other, you can use:</p>
|
389
390
|
|
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">for</span><span class="w"> </span>item
|
391
|
+
<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">item</span><span class="w"> </span><span class="nt">in</span><span class="w"> </span><span class="nv">site.my_collection</span><span class="w"> </span><span class="p">%}</span>
|
391
392
|
<h2><span class="p">{{</span><span class="w"> </span><span class="nv">item</span><span class="p">.</span><span class="nv">title</span><span class="w"> </span><span class="p">}}</span></h2>
|
392
393
|
<p><span class="p">{{</span><span class="w"> </span><span class="nv">item</span><span class="p">.</span><span class="nv">description</span><span class="w"> </span><span class="p">}}</span></p>
|
393
394
|
<p><a href="<span class="p">{{</span><span class="w"> </span><span class="nv">item</span><span class="p">.</span><span class="nv">url</span><span class="w"> </span><span class="p">}}</span>"><span class="p">{{</span><span class="w"> </span><span class="nv">item</span><span class="p">.</span><span class="nv">title</span><span class="w"> </span><span class="p">}}</span></a></p>
|
@@ -406,7 +407,7 @@ To list items from the collection, on that page or any other, you can use:</p>
|
|
406
407
|
<h2 id="permalinks">Configuring permalinks for collections</h2>
|
407
408
|
|
408
409
|
<p>If you wish to specify a custom pattern for the URLs where your Collection pages
|
409
|
-
will reside, you may do so with the <a href="../permalinks/"><code class="highlighter-rouge">permalink</code> property</a>:</p>
|
410
|
+
will reside, you may do so with the <a href="../permalinks/"><code class="language-plaintext highlighter-rouge">permalink</code> property</a>:</p>
|
410
411
|
|
411
412
|
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">collections</span><span class="pi">:</span>
|
412
413
|
<span class="na">my_collection</span><span class="pi">:</span>
|
@@ -418,19 +419,19 @@ will reside, you may do so with the <a href="../permalinks/"><code class="highli
|
|
418
419
|
|
419
420
|
<p>For a collection with the following source file structure,</p>
|
420
421
|
|
421
|
-
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>_my_collection/
|
422
|
+
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>_my_collection/
|
422
423
|
└── some_subdir
|
423
424
|
└── some_doc.md
|
424
425
|
</code></pre></div></div>
|
425
426
|
|
426
|
-
<p>each of the following <code class="highlighter-rouge">permalink</code> configurations will produce the document structure shown below it.</p>
|
427
|
+
<p>each of the following <code class="language-plaintext highlighter-rouge">permalink</code> configurations will produce the document structure shown below it.</p>
|
427
428
|
|
428
429
|
<ul>
|
429
430
|
<li>
|
430
431
|
<p><strong>Default</strong>
|
431
|
-
Same as <code class="highlighter-rouge">permalink: /:collection/:path</code>.</p>
|
432
|
+
Same as <code class="language-plaintext highlighter-rouge">permalink: /:collection/:path</code>.</p>
|
432
433
|
|
433
|
-
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>_site/
|
434
|
+
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>_site/
|
434
435
|
├── my_collection
|
435
436
|
│ └── some_subdir
|
436
437
|
│ └── some_doc.html
|
@@ -438,10 +439,10 @@ Same as <code class="highlighter-rouge">permalink: /:collection/:path</code>.</p
|
|
438
439
|
</code></pre></div> </div>
|
439
440
|
</li>
|
440
441
|
<li>
|
441
|
-
<p><code class="highlighter-rouge">permalink: pretty</code>
|
442
|
-
Same as <code class="highlighter-rouge">permalink: /:collection/:path/</code>.</p>
|
442
|
+
<p><code class="language-plaintext highlighter-rouge">permalink: pretty</code>
|
443
|
+
Same as <code class="language-plaintext highlighter-rouge">permalink: /:collection/:path/</code>.</p>
|
443
444
|
|
444
|
-
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>_site/
|
445
|
+
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>_site/
|
445
446
|
├── my_collection
|
446
447
|
│ └── some_subdir
|
447
448
|
│ └── some_doc
|
@@ -450,9 +451,9 @@ Same as <code class="highlighter-rouge">permalink: /:collection/:path/</code>.</
|
|
450
451
|
</code></pre></div> </div>
|
451
452
|
</li>
|
452
453
|
<li>
|
453
|
-
<p><code class="highlighter-rouge">permalink: /doc/:path</code></p>
|
454
|
+
<p><code class="language-plaintext highlighter-rouge">permalink: /doc/:path</code></p>
|
454
455
|
|
455
|
-
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>_site/
|
456
|
+
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>_site/
|
456
457
|
├── doc
|
457
458
|
│ └── some_subdir
|
458
459
|
│ └── some_doc.html
|
@@ -460,18 +461,18 @@ Same as <code class="highlighter-rouge">permalink: /:collection/:path/</code>.</
|
|
460
461
|
</code></pre></div> </div>
|
461
462
|
</li>
|
462
463
|
<li>
|
463
|
-
<p><code class="highlighter-rouge">permalink: /doc/:name</code></p>
|
464
|
+
<p><code class="language-plaintext highlighter-rouge">permalink: /doc/:name</code></p>
|
464
465
|
|
465
|
-
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>_site/
|
466
|
+
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>_site/
|
466
467
|
├── doc
|
467
468
|
│ └── some_doc.html
|
468
469
|
...
|
469
470
|
</code></pre></div> </div>
|
470
471
|
</li>
|
471
472
|
<li>
|
472
|
-
<p><code class="highlighter-rouge">permalink: /:name</code></p>
|
473
|
+
<p><code class="language-plaintext highlighter-rouge">permalink: /:name</code></p>
|
473
474
|
|
474
|
-
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>_site/
|
475
|
+
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>_site/
|
475
476
|
├── some_doc.html
|
476
477
|
...
|
477
478
|
</code></pre></div> </div>
|
@@ -544,15 +545,15 @@ Same as <code class="highlighter-rouge">permalink: /:collection/:path/</code>.</
|
|
544
545
|
|
545
546
|
<h3 id="collections">Collections</h3>
|
546
547
|
|
547
|
-
<p>Each collection is accessible as a field on the <code class="highlighter-rouge">site</code> variable. For example, if
|
548
|
-
you want to access the <code class="highlighter-rouge">albums</code> collection found in <code class="highlighter-rouge">_albums</code>, you’d use
|
549
|
-
<code class="highlighter-rouge">site.albums</code>.</p>
|
548
|
+
<p>Each collection is accessible as a field on the <code class="language-plaintext highlighter-rouge">site</code> variable. For example, if
|
549
|
+
you want to access the <code class="language-plaintext highlighter-rouge">albums</code> collection found in <code class="language-plaintext highlighter-rouge">_albums</code>, you’d use
|
550
|
+
<code class="language-plaintext highlighter-rouge">site.albums</code>.</p>
|
550
551
|
|
551
|
-
<p>Each collection is itself an array of documents (e.g., <code class="highlighter-rouge">site.albums</code> is an array of documents, much like <code class="highlighter-rouge">site.pages</code> and
|
552
|
-
<code class="highlighter-rouge">site.posts</code>). See the table below for how to access attributes of those documents.</p>
|
552
|
+
<p>Each collection is itself an array of documents (e.g., <code class="language-plaintext highlighter-rouge">site.albums</code> is an array of documents, much like <code class="language-plaintext highlighter-rouge">site.pages</code> and
|
553
|
+
<code class="language-plaintext highlighter-rouge">site.posts</code>). See the table below for how to access attributes of those documents.</p>
|
553
554
|
|
554
|
-
<p>The collections are also available under <code class="highlighter-rouge">site.collections</code>, with the metadata
|
555
|
-
you specified in your <code class="highlighter-rouge">_config.yml</code> (if present) and the following information:</p>
|
555
|
+
<p>The collections are also available under <code class="language-plaintext highlighter-rouge">site.collections</code>, with the metadata
|
556
|
+
you specified in your <code class="language-plaintext highlighter-rouge">_config.yml</code> (if present) and the following information:</p>
|
556
557
|
|
557
558
|
<div class="mobile-side-scroller">
|
558
559
|
<table>
|
@@ -750,9 +751,9 @@ file, each document has the following attributes:</p>
|
|
750
751
|
<h2 id="accessing-collection-attributes">Accessing Collection Attributes</h2>
|
751
752
|
|
752
753
|
<p>Attributes from the YAML front matter can be accessed as data anywhere in the
|
753
|
-
site. Using the above example for configuring a collection as <code class="highlighter-rouge">site.albums</code>,
|
754
|
+
site. Using the above example for configuring a collection as <code class="language-plaintext highlighter-rouge">site.albums</code>,
|
754
755
|
you might have front matter in an individual file structured as follows (which
|
755
|
-
must use a supported markup format, and cannot be saved with a <code class="highlighter-rouge">.yaml</code>
|
756
|
+
must use a supported markup format, and cannot be saved with a <code class="language-plaintext highlighter-rouge">.yaml</code>
|
756
757
|
extension):</p>
|
757
758
|
|
758
759
|
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">title</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Josquin:</span><span class="nv"> </span><span class="s">Missa</span><span class="nv"> </span><span class="s">De</span><span class="nv"> </span><span class="s">beata</span><span class="nv"> </span><span class="s">virgine</span><span class="nv"> </span><span class="s">and</span><span class="nv"> </span><span class="s">Missa</span><span class="nv"> </span><span class="s">Ave</span><span class="nv"> </span><span class="s">maris</span><span class="nv"> </span><span class="s">stella"</span>
|
@@ -777,14 +778,14 @@ extension):</p>
|
|
777
778
|
<p>Every album in the collection could be listed on a single page with a template:</p>
|
778
779
|
|
779
780
|
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code>
|
780
|
-
<span class="p">{%</span><span class="w"> </span><span class="nt">for</span><span class="w"> </span>album
|
781
|
+
<span class="p">{%</span><span class="w"> </span><span class="nt">for</span><span class="w"> </span><span class="nv">album</span><span class="w"> </span><span class="nt">in</span><span class="w"> </span><span class="nv">site.albums</span><span class="w"> </span><span class="p">%}</span>
|
781
782
|
<h2><span class="p">{{</span><span class="w"> </span><span class="nv">album</span><span class="p">.</span><span class="nv">title</span><span class="w"> </span><span class="p">}}</span></h2>
|
782
783
|
<p>Performed by <span class="p">{{</span><span class="w"> </span><span class="nv">album</span><span class="p">.</span><span class="nv">artist</span><span class="w"> </span><span class="p">}}{%</span><span class="w"> </span><span class="kr">if</span><span class="w"> </span><span class="nv">album</span><span class="p">.</span><span class="nv">director</span><span class="w"> </span><span class="p">%}</span>, directed by <span class="p">{{</span><span class="w"> </span><span class="nv">album</span><span class="p">.</span><span class="nv">director</span><span class="w"> </span><span class="p">}}{%</span><span class="w"> </span><span class="kr">endif</span><span class="w"> </span><span class="p">%}</span></p>
|
783
|
-
<span class="p">{%</span><span class="w"> </span><span class="nt">for</span><span class="w"> </span>work
|
784
|
+
<span class="p">{%</span><span class="w"> </span><span class="nt">for</span><span class="w"> </span><span class="nv">work</span><span class="w"> </span><span class="nt">in</span><span class="w"> </span><span class="nv">album.works</span><span class="w"> </span><span class="p">%}</span>
|
784
785
|
<h3><span class="p">{{</span><span class="w"> </span><span class="nv">work</span><span class="p">.</span><span class="nv">title</span><span class="w"> </span><span class="p">}}</span></h3>
|
785
786
|
<p>Composed by <span class="p">{{</span><span class="w"> </span><span class="nv">work</span><span class="p">.</span><span class="nv">composer</span><span class="w"> </span><span class="p">}}</span></p>
|
786
787
|
<ul>
|
787
|
-
<span class="p">{%</span><span class="w"> </span><span class="nt">for</span><span class="w"> </span>track
|
788
|
+
<span class="p">{%</span><span class="w"> </span><span class="nt">for</span><span class="w"> </span><span class="nv">track</span><span class="w"> </span><span class="nt">in</span><span class="w"> </span><span class="nv">work.tracks</span><span class="w"> </span><span class="p">%}</span>
|
788
789
|
<li><span class="p">{{</span><span class="w"> </span><span class="nv">track</span><span class="p">.</span><span class="nv">title</span><span class="w"> </span><span class="p">}}</span> (<span class="p">{{</span><span class="w"> </span><span class="nv">track</span><span class="p">.</span><span class="nv">duration</span><span class="w"> </span><span class="p">}}</span>)</li>
|
789
790
|
<span class="p">{%</span><span class="w"> </span><span class="nt">endfor</span><span class="w"> </span><span class="p">%}</span>
|
790
791
|
</ul>
|
@@ -1057,7 +1058,7 @@ extension):</p>
|
|
1057
1058
|
<footer>
|
1058
1059
|
<div class="grid">
|
1059
1060
|
<div class="unit one-third center-on-mobiles">
|
1060
|
-
<p>The contents of this website are <br />©
|
1061
|
+
<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>
|
1061
1062
|
</div>
|
1062
1063
|
<div class="unit two-thirds align-right center-on-mobiles">
|
1063
1064
|
<p>
|