jekyll-docs 3.6.1.0 → 3.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll.rb +195 -0
- data/lib/jekyll/cleaner.rb +110 -0
- data/lib/jekyll/collection.rb +230 -0
- data/lib/jekyll/command.rb +78 -0
- data/lib/jekyll/commands/build.rb +102 -0
- data/lib/jekyll/commands/clean.rb +43 -0
- data/lib/jekyll/commands/doctor.rb +153 -0
- data/lib/jekyll/commands/help.rb +34 -0
- data/lib/jekyll/commands/new.rb +156 -0
- data/lib/jekyll/commands/new_theme.rb +40 -0
- data/lib/jekyll/commands/serve.rb +245 -0
- data/lib/jekyll/commands/serve/servlet.rb +62 -0
- data/lib/jekyll/configuration.rb +410 -0
- data/lib/jekyll/converter.rb +54 -0
- data/lib/jekyll/converters/identity.rb +23 -0
- data/lib/jekyll/converters/markdown.rb +104 -0
- data/lib/jekyll/converters/markdown/kramdown_parser.rb +123 -0
- data/lib/jekyll/converters/markdown/rdiscount_parser.rb +35 -0
- data/lib/jekyll/converters/markdown/redcarpet_parser.rb +108 -0
- data/lib/jekyll/converters/smartypants.rb +36 -0
- data/lib/jekyll/convertible.rb +251 -0
- data/lib/jekyll/deprecator.rb +52 -0
- data/lib/jekyll/document.rb +507 -0
- data/lib/jekyll/drops/collection_drop.rb +22 -0
- data/lib/jekyll/drops/document_drop.rb +69 -0
- data/lib/jekyll/drops/drop.rb +214 -0
- data/lib/jekyll/drops/excerpt_drop.rb +15 -0
- data/lib/jekyll/drops/jekyll_drop.rb +33 -0
- data/lib/jekyll/drops/site_drop.rb +47 -0
- data/lib/jekyll/drops/static_file_drop.rb +13 -0
- data/lib/jekyll/drops/unified_payload_drop.rb +25 -0
- data/lib/jekyll/drops/url_drop.rb +88 -0
- data/lib/jekyll/entry_filter.rb +123 -0
- data/lib/jekyll/errors.rb +20 -0
- data/lib/jekyll/excerpt.rb +126 -0
- data/lib/jekyll/external.rb +74 -0
- data/lib/jekyll/filters.rb +430 -0
- data/lib/jekyll/filters/grouping_filters.rb +65 -0
- data/lib/jekyll/filters/url_filters.rb +60 -0
- data/lib/jekyll/frontmatter_defaults.rb +197 -0
- data/lib/jekyll/generator.rb +5 -0
- data/lib/jekyll/hooks.rb +104 -0
- data/lib/jekyll/layout.rb +62 -0
- data/lib/jekyll/liquid_extensions.rb +24 -0
- data/lib/jekyll/liquid_renderer.rb +49 -0
- data/lib/jekyll/liquid_renderer/file.rb +56 -0
- data/lib/jekyll/liquid_renderer/table.rb +96 -0
- data/lib/jekyll/log_adapter.rb +147 -0
- data/lib/jekyll/mime.types +825 -0
- data/lib/jekyll/page.rb +187 -0
- data/lib/jekyll/plugin.rb +98 -0
- data/lib/jekyll/plugin_manager.rb +113 -0
- data/lib/jekyll/publisher.rb +23 -0
- data/lib/jekyll/reader.rb +134 -0
- data/lib/jekyll/readers/collection_reader.rb +22 -0
- data/lib/jekyll/readers/data_reader.rb +77 -0
- data/lib/jekyll/readers/layout_reader.rb +71 -0
- data/lib/jekyll/readers/page_reader.rb +25 -0
- data/lib/jekyll/readers/post_reader.rb +72 -0
- data/lib/jekyll/readers/static_file_reader.rb +25 -0
- data/lib/jekyll/readers/theme_assets_reader.rb +49 -0
- data/lib/jekyll/regenerator.rb +201 -0
- data/lib/jekyll/related_posts.rb +52 -0
- data/lib/jekyll/renderer.rb +269 -0
- data/lib/jekyll/site.rb +472 -0
- data/lib/jekyll/static_file.rb +162 -0
- data/lib/jekyll/stevenson.rb +61 -0
- data/lib/jekyll/tags/highlight.rb +141 -0
- data/lib/jekyll/tags/include.rb +215 -0
- data/lib/jekyll/tags/link.rb +37 -0
- data/lib/jekyll/tags/post_url.rb +103 -0
- data/lib/jekyll/theme.rb +68 -0
- data/lib/jekyll/theme_builder.rb +119 -0
- data/lib/jekyll/url.rb +161 -0
- data/lib/jekyll/utils.rb +340 -0
- data/lib/jekyll/utils/ansi.rb +59 -0
- data/lib/jekyll/utils/exec.rb +27 -0
- data/lib/jekyll/utils/platforms.rb +82 -0
- data/lib/jekyll/utils/rouge.rb +21 -0
- data/lib/jekyll/utils/win_tz.rb +75 -0
- data/lib/jekyll/version.rb +5 -0
- data/lib/site_template/404.html +24 -0
- data/lib/site_template/_config.yml +43 -0
- data/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb +25 -0
- data/lib/site_template/about.md +18 -0
- data/lib/site_template/index.md +6 -0
- data/lib/theme_template/CODE_OF_CONDUCT.md.erb +74 -0
- data/lib/theme_template/Gemfile +4 -0
- data/lib/theme_template/LICENSE.txt.erb +21 -0
- data/lib/theme_template/README.md.erb +52 -0
- data/lib/theme_template/_layouts/default.html +1 -0
- data/lib/theme_template/_layouts/page.html +5 -0
- data/lib/theme_template/_layouts/post.html +5 -0
- data/lib/theme_template/example/_config.yml.erb +1 -0
- data/lib/theme_template/example/_post.md +12 -0
- data/lib/theme_template/example/index.html +14 -0
- data/lib/theme_template/example/style.scss +7 -0
- data/lib/theme_template/gitignore.erb +5 -0
- data/lib/theme_template/theme.gemspec.erb +19 -0
- metadata +103 -156
- data/lib/jekyll-docs.rb +0 -31
- data/site/404.html +0 -153
- data/site/CNAME +0 -1
- data/site/community/index.html +0 -299
- data/site/conduct/index.html +0 -10
- data/site/css/screen.css +0 -1
- data/site/docs/assets/index.html +0 -724
- data/site/docs/code_of_conduct/index.html +0 -730
- data/site/docs/collections/index.html +0 -1097
- data/site/docs/conduct/index.html +0 -744
- data/site/docs/configuration/index.html +0 -1403
- data/site/docs/continuous-integration/buddyworks/index.html +0 -726
- data/site/docs/continuous-integration/circleci/index.html +0 -757
- data/site/docs/continuous-integration/index.html +0 -681
- data/site/docs/continuous-integration/travis-ci/index.html +0 -891
- data/site/docs/contributing/index.html +0 -863
- data/site/docs/datafiles/index.html +0 -780
- data/site/docs/deployment-methods/index.html +0 -875
- data/site/docs/drafts/index.html +0 -636
- data/site/docs/extras/index.html +0 -689
- data/site/docs/frontmatter/index.html +0 -821
- data/site/docs/github-pages/index.html +0 -819
- data/site/docs/history/index.html +0 -3955
- data/site/docs/home/index.html +0 -644
- data/site/docs/includes/index.html +0 -800
- data/site/docs/index.html +0 -10
- data/site/docs/installation/index.html +0 -732
- data/site/docs/maintaining/affinity-team-captain/index.html +0 -706
- data/site/docs/maintaining/avoiding-burnout/index.html +0 -709
- data/site/docs/maintaining/becoming-a-maintainer/index.html +0 -717
- data/site/docs/maintaining/index.html +0 -713
- data/site/docs/maintaining/merging-a-pull-request/index.html +0 -747
- data/site/docs/maintaining/reviewing-a-pull-request/index.html +0 -725
- data/site/docs/maintaining/special-labels/index.html +0 -705
- data/site/docs/maintaining/triaging-an-issue/index.html +0 -735
- data/site/docs/migrations/index.html +0 -647
- data/site/docs/pages/index.html +0 -695
- data/site/docs/pagination/index.html +0 -870
- data/site/docs/permalinks/index.html +0 -1035
- data/site/docs/plugins/index.html +0 -1800
- data/site/docs/posts/index.html +0 -858
- data/site/docs/quickstart/index.html +0 -650
- data/site/docs/resources/index.html +0 -769
- data/site/docs/sites/index.html +0 -702
- data/site/docs/static-files/index.html +0 -720
- data/site/docs/structure/index.html +0 -822
- data/site/docs/templates/index.html +0 -1208
- data/site/docs/themes/index.html +0 -935
- data/site/docs/troubleshooting/index.html +0 -916
- data/site/docs/upgrading/0-to-2/index.html +0 -826
- data/site/docs/upgrading/2-to-3/index.html +0 -824
- data/site/docs/upgrading/index.html +0 -693
- data/site/docs/usage/index.html +0 -705
- data/site/docs/variables/index.html +0 -1048
- data/site/docs/windows/index.html +0 -799
- data/site/favicon.ico +0 -0
- data/site/feed.xml +0 -372
- data/site/fonts/FontAwesome.eot +0 -0
- data/site/fonts/FontAwesome.svg +0 -12
- data/site/fonts/FontAwesome.ttf +0 -0
- data/site/fonts/FontAwesome.woff +0 -0
- data/site/github.html +0 -10
- data/site/help/index.html +0 -244
- data/site/icomoon-selection.json +0 -96
- data/site/img/article-footer.png +0 -0
- data/site/img/footer-arrow.png +0 -0
- data/site/img/footer-logo.png +0 -0
- data/site/img/jekyll-sticker.jpg +0 -0
- data/site/img/jekylllayoutconcept.png +0 -0
- data/site/img/logo-2x.png +0 -0
- data/site/img/logo-rss.png +0 -0
- data/site/img/octojekyll.png +0 -0
- data/site/index.html +0 -267
- data/site/issues.html +0 -10
- data/site/js/html5shiv.min.js +0 -4
- data/site/js/respond.min.js +0 -5
- data/site/latest_version.txt +0 -1
- data/site/news/2013/05/05/jekyll-1-0-0-released/index.html +0 -570
- data/site/news/2013/05/08/jekyll-1-0-1-released/index.html +0 -570
- data/site/news/2013/05/12/jekyll-1-0-2-released/index.html +0 -571
- data/site/news/2013/06/07/jekyll-1-0-3-released/index.html +0 -568
- data/site/news/2013/07/14/jekyll-1-1-0-released/index.html +0 -570
- data/site/news/2013/07/24/jekyll-1-1-1-released/index.html +0 -569
- data/site/news/2013/07/25/jekyll-1-0-4-released/index.html +0 -565
- data/site/news/2013/07/25/jekyll-1-1-2-released/index.html +0 -565
- data/site/news/2013/09/06/jekyll-1-2-0-released/index.html +0 -572
- data/site/news/2013/09/14/jekyll-1-2-1-released/index.html +0 -566
- data/site/news/2013/10/28/jekyll-1-3-0-rc1-released/index.html +0 -564
- data/site/news/2013/11/04/jekyll-1-3-0-released/index.html +0 -599
- data/site/news/2013/11/26/jekyll-1-3-1-released/index.html +0 -568
- data/site/news/2013/12/07/jekyll-1-4-0-released/index.html +0 -583
- data/site/news/2013/12/09/jekyll-1-4-1-released/index.html +0 -565
- data/site/news/2013/12/16/jekyll-1-4-2-released/index.html +0 -564
- data/site/news/2014/01/13/jekyll-1-4-3-released/index.html +0 -573
- data/site/news/2014/03/24/jekyll-1-5-0-released/index.html +0 -564
- data/site/news/2014/03/27/jekyll-1-5-1-released/index.html +0 -569
- data/site/news/2014/05/06/jekyll-turns-2-0-0/index.html +0 -585
- data/site/news/2014/05/08/jekyll-2-0-3-released/index.html +0 -565
- data/site/news/2014/06/04/jekyll-stickers-1-dollar-stickermule/index.html +0 -567
- data/site/news/2014/06/28/jekyll-turns-21-i-mean-2-1-0/index.html +0 -582
- data/site/news/2014/07/01/jekyll-2-1-1-released/index.html +0 -579
- data/site/news/2014/07/29/jekyll-2-2-0-released/index.html +0 -568
- data/site/news/2014/08/10/jekyll-2-3-0-released/index.html +0 -588
- data/site/news/2014/09/09/jekyll-2-4-0-released/index.html +0 -574
- data/site/news/2014/11/05/jekylls-midlife-crisis-jekyll-turns-2-5-0/index.html +0 -597
- data/site/news/2014/11/09/jekyll-2-5-1-released/index.html +0 -575
- data/site/news/2014/11/12/jekyll-2-5-2-released/index.html +0 -565
- data/site/news/2014/12/17/alfredxing-welcome-to-jekyll-core/index.html +0 -572
- data/site/news/2014/12/22/jekyll-2-5-3-released/index.html +0 -567
- data/site/news/2015/01/20/jekyll-meet-and-greet/index.html +0 -568
- data/site/news/2015/01/24/jekyll-3-0-0-beta1-released/index.html +0 -588
- data/site/news/2015/02/26/introducing-jekyll-talk/index.html +0 -563
- data/site/news/2015/10/26/jekyll-3-0-released/index.html +0 -592
- data/site/news/2015/11/17/jekyll-3-0-1-released/index.html +0 -576
- data/site/news/2016/01/20/jekyll-3-0-2-released/index.html +0 -566
- data/site/news/2016/01/24/jekyll-3-1-0-released/index.html +0 -599
- data/site/news/2016/01/28/jekyll-3-1-1-released/index.html +0 -583
- data/site/news/2016/02/08/jekyll-3-0-3-released/index.html +0 -578
- data/site/news/2016/02/19/jekyll-3-1-2-released/index.html +0 -569
- data/site/news/2016/03/10/making-it-easier-to-contribute-to-jekyll/index.html +0 -565
- data/site/news/2016/04/19/jekyll-3-0-4-released/index.html +0 -571
- data/site/news/2016/04/19/jekyll-3-1-3-released/index.html +0 -566
- data/site/news/2016/04/26/jekyll-3-0-5-released/index.html +0 -572
- data/site/news/2016/05/18/jekyll-3-1-4-released/index.html +0 -576
- data/site/news/2016/05/18/jekyll-3-1-5-released/index.html +0 -564
- data/site/news/2016/05/19/jekyll-3-1-6-released/index.html +0 -566
- data/site/news/2016/06/03/update-on-jekyll-s-google-summer-of-code-projects/index.html +0 -567
- data/site/news/2016/07/26/jekyll-3-2-0-released/index.html +0 -676
- data/site/news/2016/08/02/jekyll-3-2-1-released/index.html +0 -571
- data/site/news/2016/08/24/jekyll-admin-initial-release/index.html +0 -566
- data/site/news/2016/10/06/jekyll-3-3-is-here/index.html +0 -645
- data/site/news/2016/11/14/jekyll-3-3-1-released/index.html +0 -569
- data/site/news/2017/01/18/jekyll-3-4-0-released/index.html +0 -592
- data/site/news/2017/03/02/jekyll-3-4-1-released/index.html +0 -649
- data/site/news/2017/03/09/jekyll-3-4-2-released/index.html +0 -598
- data/site/news/2017/03/21/jekyll-3-4-3-released/index.html +0 -594
- data/site/news/2017/06/15/jekyll-3-5-0-released/index.html +0 -589
- data/site/news/2017/07/17/jekyll-3-5-1-released/index.html +0 -569
- data/site/news/2017/08/12/jekyll-3-5-2-released/index.html +0 -573
- data/site/news/2017/09/21/jekyll-3-6-0-released/index.html +0 -565
- data/site/news/index.html +0 -3609
- data/site/news/releases/index.html +0 -3344
- data/site/philosophy.html +0 -46
- data/site/readme.md +0 -23
- data/site/robots.txt +0 -1
- data/site/sitemap.xml +0 -485
- data/site/tutorials/convert-site-to-jekyll/index.html +0 -793
- data/site/tutorials/custom-404-page/index.html +0 -358
- data/site/tutorials/home/index.html +0 -323
- data/site/tutorials/index.html +0 -10
- data/site/tutorials/navigation/index.html +0 -872
- data/site/tutorials/orderofinterpretation/index.html +0 -441
@@ -1,1048 +0,0 @@
|
|
1
|
-
<!DOCTYPE HTML>
|
2
|
-
<html lang="en-US">
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
<meta name="viewport" content="width=device-width,initial-scale=1">
|
7
|
-
<meta name="generator" content="Jekyll v3.6.1">
|
8
|
-
<link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites">
|
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
|
-
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
|
11
|
-
<link rel="stylesheet" href="/css/screen.css">
|
12
|
-
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
13
|
-
<!-- Begin Jekyll SEO tag v2.3.0 -->
|
14
|
-
<title>Variables | Jekyll • Simple, blog-aware, static sites</title>
|
15
|
-
<meta property="og:title" content="Variables">
|
16
|
-
<meta property="og:locale" content="en_US">
|
17
|
-
<meta name="description" content="Jekyll traverses your site looking for files to process. Any files with YAML front matter are subject to processing. For each of these files, Jekyll makes a variety of data available via the Liquid templating system. The following is a reference of the available data.">
|
18
|
-
<meta property="og:description" content="Jekyll traverses your site looking for files to process. Any files with YAML front matter are subject to processing. For each of these files, Jekyll makes a variety of data available via the Liquid templating system. The following is a reference of the available data.">
|
19
|
-
<link rel="canonical" href="https://jekyllrb.com/docs/variables/">
|
20
|
-
<meta property="og:url" content="https://jekyllrb.com/docs/variables/">
|
21
|
-
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites">
|
22
|
-
<meta property="og:type" content="article">
|
23
|
-
<meta property="article:published_time" content="2017-10-24T09:09:24-07:00">
|
24
|
-
<meta name="twitter:card" content="summary">
|
25
|
-
<meta name="twitter:site" content="@jekyllrb">
|
26
|
-
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
|
27
|
-
<script type="application/ld+json">
|
28
|
-
{"name":null,"description":"Jekyll traverses your site looking for files to process. Any files with YAML front matter are subject to processing. For each of these files, Jekyll makes a variety of data available via the Liquid templating system. The following is a reference of the available data.","url":"https://jekyllrb.com/docs/variables/","headline":"Variables","dateModified":"2017-10-24T09:09:24-07:00","datePublished":"2017-10-24T09:09:24-07:00","sameAs":null,"@type":"BlogPosting","author":null,"image":null,"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/variables/"},"@context":"http://schema.org"}</script>
|
29
|
-
<!-- End Jekyll SEO tag -->
|
30
|
-
|
31
|
-
<!--[if lt IE 9]>
|
32
|
-
<script src="/js/html5shiv.min.js"></script>
|
33
|
-
<script src="/js/respond.min.js"></script>
|
34
|
-
<![endif]-->
|
35
|
-
</head>
|
36
|
-
|
37
|
-
|
38
|
-
<body class="wrap">
|
39
|
-
<header>
|
40
|
-
<nav class="mobile-nav show-on-mobiles">
|
41
|
-
<ul>
|
42
|
-
<li class="">
|
43
|
-
<a href="/">Home</a>
|
44
|
-
</li>
|
45
|
-
<li class="current">
|
46
|
-
<a href="/docs/home/">Docs</a>
|
47
|
-
</li>
|
48
|
-
<li class="">
|
49
|
-
<a href="/news/">News</a>
|
50
|
-
</li>
|
51
|
-
<li class="">
|
52
|
-
<a href="/community/">Community</a>
|
53
|
-
</li>
|
54
|
-
<li class="">
|
55
|
-
<a href="/help/">Help</a>
|
56
|
-
</li>
|
57
|
-
<li>
|
58
|
-
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
59
|
-
</li>
|
60
|
-
</ul>
|
61
|
-
|
62
|
-
</nav>
|
63
|
-
<div class="grid">
|
64
|
-
<div class="unit one-third center-on-mobiles">
|
65
|
-
<h1>
|
66
|
-
<a href="/">
|
67
|
-
<span class="sr-only">Jekyll</span>
|
68
|
-
<img src="/img/logo-2x.png" width="249" height="115" alt="Jekyll Logo">
|
69
|
-
</a>
|
70
|
-
</h1>
|
71
|
-
</div>
|
72
|
-
<nav class="main-nav unit two-thirds hide-on-mobiles">
|
73
|
-
<ul>
|
74
|
-
<li class="">
|
75
|
-
<a href="/">Home</a>
|
76
|
-
</li>
|
77
|
-
<li class="current">
|
78
|
-
<a href="/docs/home/">Docs</a>
|
79
|
-
</li>
|
80
|
-
<li class="">
|
81
|
-
<a href="/news/">News</a>
|
82
|
-
</li>
|
83
|
-
<li class="">
|
84
|
-
<a href="/community/">Community</a>
|
85
|
-
</li>
|
86
|
-
<li class="">
|
87
|
-
<a href="/help/">Help</a>
|
88
|
-
</li>
|
89
|
-
<li>
|
90
|
-
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
91
|
-
</li>
|
92
|
-
</ul>
|
93
|
-
|
94
|
-
</nav>
|
95
|
-
</div>
|
96
|
-
</header>
|
97
|
-
|
98
|
-
|
99
|
-
<section class="docs">
|
100
|
-
<div class="grid">
|
101
|
-
|
102
|
-
<div class="docs-nav-mobile unit whole show-on-mobiles">
|
103
|
-
<select onchange="if (this.value) window.location.href=this.value">
|
104
|
-
<option value="">Navigate the docs…</option>
|
105
|
-
|
106
|
-
<optgroup label="Getting Started">
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
<option value="/docs/home/">Welcome</option>
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
<option value="/docs/quickstart/">Quick-start guide</option>
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
<option value="/docs/installation/">Installation</option>
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
<option value="/docs/windows/">Jekyll on Windows</option>
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
<option value="/docs/usage/">Basic Usage</option>
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
<option value="/docs/structure/">Directory structure</option>
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
<option value="/docs/configuration/">Configuration</option>
|
135
|
-
|
136
|
-
|
137
|
-
</optgroup>
|
138
|
-
|
139
|
-
<optgroup label="Your Content">
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
<option value="/docs/frontmatter/">Front Matter</option>
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
<option value="/docs/posts/">Writing posts</option>
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
<option value="/docs/drafts/">Working with drafts</option>
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
<option value="/docs/pages/">Creating pages</option>
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
<option value="/docs/static-files/">Static Files</option>
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
<option value="/docs/variables/">Variables</option>
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
<option value="/docs/collections/">Collections</option>
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
<option value="/docs/datafiles/">Data Files</option>
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
<option value="/docs/assets/">Assets</option>
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
<option value="/docs/migrations/">Blog migrations</option>
|
180
|
-
|
181
|
-
|
182
|
-
</optgroup>
|
183
|
-
|
184
|
-
<optgroup label="Customization">
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
<option value="/docs/templates/">Templates</option>
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
<option value="/docs/includes/">Includes</option>
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
<option value="/docs/permalinks/">Permalinks</option>
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
<option value="/docs/pagination/">Pagination</option>
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
<option value="/docs/plugins/">Plugins</option>
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
<option value="/docs/themes/">Themes</option>
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
<option value="/docs/extras/">Extras</option>
|
213
|
-
|
214
|
-
|
215
|
-
</optgroup>
|
216
|
-
|
217
|
-
<optgroup label="Deployment">
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
<option value="/docs/github-pages/">GitHub Pages</option>
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
<option value="/docs/deployment-methods/">Deployment methods</option>
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
<option value="/docs/continuous-integration/">Continuous Integration</option>
|
230
|
-
|
231
|
-
|
232
|
-
</optgroup>
|
233
|
-
|
234
|
-
<optgroup label="Miscellaneous">
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
<option value="/docs/troubleshooting/">Troubleshooting</option>
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
<option value="/docs/sites/">Sites using Jekyll</option>
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
<option value="/docs/resources/">Resources</option>
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
<option value="/docs/upgrading/0-to-2/">Upgrading from 0.x to 2.x</option>
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
<option value="/docs/upgrading/2-to-3/">Upgrading from 2.x to 3.x</option>
|
255
|
-
|
256
|
-
|
257
|
-
</optgroup>
|
258
|
-
|
259
|
-
<optgroup label="Meta">
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
<option value="/docs/contributing/">Contributing</option>
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
<option value="/docs/maintaining/">Maintaining Jekyll</option>
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
<option value="/docs/conduct/">Code of Conduct</option>
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
<option value="/docs/history/">History</option>
|
276
|
-
|
277
|
-
|
278
|
-
</optgroup>
|
279
|
-
|
280
|
-
</select>
|
281
|
-
</div>
|
282
|
-
|
283
|
-
|
284
|
-
<div class="unit four-fifths">
|
285
|
-
<article>
|
286
|
-
<div class="improve right hide-on-mobiles">
|
287
|
-
<a href="https://github.com/jekyll/jekyll/edit/master/docs/_docs/variables.md"><i class="fa fa-pencil"></i> Improve this page</a>
|
288
|
-
</div>
|
289
|
-
<h1>Variables</h1>
|
290
|
-
<p>Jekyll traverses your site looking for files to process. Any files with <a href="../frontmatter/">YAML
|
291
|
-
front matter</a> are subject to processing. For each of these
|
292
|
-
files, Jekyll makes a variety of data available via the <a href="https://github.com/Shopify/liquid/wiki">Liquid templating
|
293
|
-
system</a>. The
|
294
|
-
following is a reference of the available data.</p>
|
295
|
-
|
296
|
-
<h2 id="global-variables">Global Variables</h2>
|
297
|
-
|
298
|
-
<div class="mobile-side-scroller">
|
299
|
-
<table>
|
300
|
-
<thead>
|
301
|
-
<tr>
|
302
|
-
<th>Variable</th>
|
303
|
-
<th>Description</th>
|
304
|
-
</tr>
|
305
|
-
</thead>
|
306
|
-
<tbody>
|
307
|
-
<tr>
|
308
|
-
<td><p><code>site</code></p></td>
|
309
|
-
<td><p>
|
310
|
-
|
311
|
-
Sitewide information + configuration settings from
|
312
|
-
<code>_config.yml</code>. See below for details.
|
313
|
-
|
314
|
-
</p></td>
|
315
|
-
</tr>
|
316
|
-
<tr>
|
317
|
-
<td><p><code>page</code></p></td>
|
318
|
-
<td><p>
|
319
|
-
|
320
|
-
Page specific information + the <a href="../frontmatter/">YAML front
|
321
|
-
matter</a>. Custom variables set via the YAML Front Matter will be
|
322
|
-
available here. See below for details.
|
323
|
-
|
324
|
-
</p></td>
|
325
|
-
</tr>
|
326
|
-
<tr>
|
327
|
-
<td><p><code>layout</code></p></td>
|
328
|
-
<td><p>
|
329
|
-
|
330
|
-
Layout specific information + the <a href="../frontmatter/">YAML front
|
331
|
-
matter</a>. Custom variables set via the YAML Front Matter in
|
332
|
-
layouts will be available here.
|
333
|
-
|
334
|
-
</p></td>
|
335
|
-
</tr>
|
336
|
-
<tr>
|
337
|
-
<td><p><code>content</code></p></td>
|
338
|
-
<td><p>
|
339
|
-
|
340
|
-
In layout files, the rendered content of the Post or Page being wrapped.
|
341
|
-
Not defined in Post or Page files.
|
342
|
-
|
343
|
-
</p></td>
|
344
|
-
</tr>
|
345
|
-
<tr>
|
346
|
-
<td><p><code>paginator</code></p></td>
|
347
|
-
<td><p>
|
348
|
-
|
349
|
-
When the <code>paginate</code> configuration option is set, this
|
350
|
-
variable becomes available for use. See <a href="../pagination/">Pagination</a> for details.
|
351
|
-
|
352
|
-
</p></td>
|
353
|
-
</tr>
|
354
|
-
</tbody>
|
355
|
-
</table>
|
356
|
-
</div>
|
357
|
-
|
358
|
-
<h2 id="site-variables">Site Variables</h2>
|
359
|
-
|
360
|
-
<div class="mobile-side-scroller">
|
361
|
-
<table>
|
362
|
-
<thead>
|
363
|
-
<tr>
|
364
|
-
<th>Variable</th>
|
365
|
-
<th>Description</th>
|
366
|
-
</tr>
|
367
|
-
</thead>
|
368
|
-
<tbody>
|
369
|
-
<tr>
|
370
|
-
<td><p><code>site.time</code></p></td>
|
371
|
-
<td><p>
|
372
|
-
|
373
|
-
The current time (when you run the <code>jekyll</code> command).
|
374
|
-
|
375
|
-
</p></td>
|
376
|
-
</tr>
|
377
|
-
<tr>
|
378
|
-
<td><p><code>site.pages</code></p></td>
|
379
|
-
<td><p>
|
380
|
-
|
381
|
-
A list of all Pages.
|
382
|
-
|
383
|
-
</p></td>
|
384
|
-
</tr>
|
385
|
-
<tr>
|
386
|
-
<td><p><code>site.posts</code></p></td>
|
387
|
-
<td><p>
|
388
|
-
|
389
|
-
A reverse chronological list of all Posts.
|
390
|
-
|
391
|
-
</p></td>
|
392
|
-
</tr>
|
393
|
-
<tr>
|
394
|
-
<td><p><code>site.related_posts</code></p></td>
|
395
|
-
<td><p>
|
396
|
-
|
397
|
-
If the page being processed is a Post, this contains a list of up to ten
|
398
|
-
related Posts. By default, these are the ten most recent posts.
|
399
|
-
For high quality but slow to compute results, run the
|
400
|
-
<code>jekyll</code> command with the <code>--lsi</code> (<a href="https://en.wikipedia.org/wiki/Latent_semantic_analysis#Latent_semantic_indexing">latent semantic indexing</a>) option. Also note GitHub Pages does not support the <code>lsi</code> option when generating sites.
|
401
|
-
|
402
|
-
</p></td>
|
403
|
-
</tr>
|
404
|
-
<tr>
|
405
|
-
<td><p><code>site.static_files</code></p></td>
|
406
|
-
<td><p>
|
407
|
-
|
408
|
-
A list of all <a href="/docs/static-files/">static files</a> (i.e.
|
409
|
-
files not processed by Jekyll's converters or the Liquid renderer).
|
410
|
-
Each file has three properties: <code>path</code>,
|
411
|
-
<code>modified_time</code> and <code>extname</code>.
|
412
|
-
|
413
|
-
</p></td>
|
414
|
-
</tr>
|
415
|
-
<tr>
|
416
|
-
<td><p><code>site.html_pages</code></p></td>
|
417
|
-
<td><p>
|
418
|
-
|
419
|
-
A subset of `site.pages` listing those which end in `.html`.
|
420
|
-
|
421
|
-
</p></td>
|
422
|
-
</tr>
|
423
|
-
<tr>
|
424
|
-
<td><p><code>site.html_files</code></p></td>
|
425
|
-
<td><p>
|
426
|
-
|
427
|
-
A subset of `site.static_files` listing those which end in `.html`.
|
428
|
-
|
429
|
-
</p></td>
|
430
|
-
</tr>
|
431
|
-
<tr>
|
432
|
-
<td><p><code>site.collections</code></p></td>
|
433
|
-
<td><p>
|
434
|
-
|
435
|
-
A list of all the collections.
|
436
|
-
|
437
|
-
</p></td>
|
438
|
-
</tr>
|
439
|
-
<tr>
|
440
|
-
<td><p><code>site.data</code></p></td>
|
441
|
-
<td><p>
|
442
|
-
|
443
|
-
A list containing the data loaded from the YAML files located in the <code>_data</code> directory.
|
444
|
-
|
445
|
-
</p></td>
|
446
|
-
</tr>
|
447
|
-
<tr>
|
448
|
-
<td><p><code>site.documents</code></p></td>
|
449
|
-
<td><p>
|
450
|
-
|
451
|
-
A list of all the documents in every collection.
|
452
|
-
|
453
|
-
</p></td>
|
454
|
-
</tr>
|
455
|
-
<tr>
|
456
|
-
<td><p><code>site.categories.CATEGORY</code></p></td>
|
457
|
-
<td><p>
|
458
|
-
|
459
|
-
The list of all Posts in category <code>CATEGORY</code>.
|
460
|
-
|
461
|
-
</p></td>
|
462
|
-
</tr>
|
463
|
-
<tr>
|
464
|
-
<td><p><code>site.tags.TAG</code></p></td>
|
465
|
-
<td><p>
|
466
|
-
|
467
|
-
The list of all Posts with tag <code>TAG</code>.
|
468
|
-
|
469
|
-
</p></td>
|
470
|
-
</tr>
|
471
|
-
<tr>
|
472
|
-
<td><p><code>site.url</code></p></td>
|
473
|
-
<td><p>
|
474
|
-
|
475
|
-
Contains the url of your site as it is configured in the <code>_config.yml</code>.
|
476
|
-
For example, if you have <code>url: http://mysite.com</code>
|
477
|
-
in your configuration file, then it will be accessible in Liquid as
|
478
|
-
<code>site.url</code>. For the development environment there is
|
479
|
-
<a href="/news/#3-siteurl-is-set-by-the-development-server">an exception</a>,
|
480
|
-
if you are running <code>jekyll serve</code> in a development environment
|
481
|
-
<code>site.url</code> will be set to the value of <code>host</code>,
|
482
|
-
<code>port</code>, and SSL-related options. This defaults to
|
483
|
-
<code>url: http://localhost:4000</code>.
|
484
|
-
|
485
|
-
</p></td>
|
486
|
-
</tr>
|
487
|
-
<tr>
|
488
|
-
<td><p><code>site.[CONFIGURATION_DATA]</code></p></td>
|
489
|
-
<td><p>
|
490
|
-
|
491
|
-
All the variables set via the command line and your
|
492
|
-
<code>_config.yml</code> are available through the <code>site</code>
|
493
|
-
variable. For example, if you have <code>foo: bar</code>
|
494
|
-
in your configuration file, then it will be accessible in Liquid as <code>site.foo</code>.
|
495
|
-
Jekyll does not parse changes to <code>_config.yml</code> in
|
496
|
-
<code>watch</code> mode, you must restart Jekyll to see changes to variables.
|
497
|
-
|
498
|
-
</p></td>
|
499
|
-
</tr>
|
500
|
-
</tbody>
|
501
|
-
</table>
|
502
|
-
</div>
|
503
|
-
|
504
|
-
<h2 id="page-variables">Page Variables</h2>
|
505
|
-
|
506
|
-
<div class="mobile-side-scroller">
|
507
|
-
<table>
|
508
|
-
<thead>
|
509
|
-
<tr>
|
510
|
-
<th>Variable</th>
|
511
|
-
<th>Description</th>
|
512
|
-
</tr>
|
513
|
-
</thead>
|
514
|
-
<tbody>
|
515
|
-
<tr>
|
516
|
-
<td><p><code>page.content</code></p></td>
|
517
|
-
<td><p>
|
518
|
-
|
519
|
-
The content of the Page, rendered or un-rendered depending upon
|
520
|
-
what Liquid is being processed and what <code>page</code> is.
|
521
|
-
|
522
|
-
</p></td>
|
523
|
-
</tr>
|
524
|
-
<tr>
|
525
|
-
<td><p><code>page.title</code></p></td>
|
526
|
-
<td><p>
|
527
|
-
|
528
|
-
The title of the Page.
|
529
|
-
|
530
|
-
</p></td>
|
531
|
-
</tr>
|
532
|
-
<tr>
|
533
|
-
<td><p><code>page.excerpt</code></p></td>
|
534
|
-
<td><p>
|
535
|
-
|
536
|
-
The un-rendered excerpt of the Page.
|
537
|
-
|
538
|
-
</p></td>
|
539
|
-
</tr>
|
540
|
-
<tr>
|
541
|
-
<td><p><code>page.url</code></p></td>
|
542
|
-
<td><p>
|
543
|
-
|
544
|
-
The URL of the Post without the domain, but
|
545
|
-
with a leading slash, e.g.
|
546
|
-
<code>/2008/12/14/my-post.html</code>
|
547
|
-
|
548
|
-
</p></td>
|
549
|
-
</tr>
|
550
|
-
<tr>
|
551
|
-
<td><p><code>page.date</code></p></td>
|
552
|
-
<td><p>
|
553
|
-
|
554
|
-
The Date assigned to the Post. This can be overridden in a Post’s front
|
555
|
-
matter by specifying a new date/time in the format
|
556
|
-
<code>YYYY-MM-DD HH:MM:SS</code> (assuming UTC), or
|
557
|
-
<code>YYYY-MM-DD HH:MM:SS +/-TTTT</code> (to specify a time zone using
|
558
|
-
an offset from UTC. e.g. <code>2008-12-14 10:30:00 +0900</code>).
|
559
|
-
|
560
|
-
</p></td>
|
561
|
-
</tr>
|
562
|
-
<tr>
|
563
|
-
<td><p><code>page.id</code></p></td>
|
564
|
-
<td><p>
|
565
|
-
|
566
|
-
An identifier unique to a document in a Collection or a Post (useful in RSS feeds). e.g.
|
567
|
-
<code>/2008/12/14/my-post</code>
|
568
|
-
<code>/my-collection/my-document</code>
|
569
|
-
|
570
|
-
</p></td>
|
571
|
-
</tr>
|
572
|
-
<tr>
|
573
|
-
<td><p><code>page.categories</code></p></td>
|
574
|
-
<td><p>
|
575
|
-
|
576
|
-
The list of categories to which this post belongs. Categories are
|
577
|
-
derived from the directory structure above the <code>_posts</code>
|
578
|
-
directory. For example, a post at
|
579
|
-
<code>/work/code/_posts/2008-12-24-closures.md</code> would have this
|
580
|
-
field set to <code>['work', 'code']</code>. These can also be specified
|
581
|
-
in the <a href="../frontmatter/">YAML Front Matter</a>.
|
582
|
-
|
583
|
-
</p></td>
|
584
|
-
</tr>
|
585
|
-
<tr>
|
586
|
-
<td><p><code>page.tags</code></p></td>
|
587
|
-
<td><p>
|
588
|
-
|
589
|
-
The list of tags to which this post belongs. These can be specified in
|
590
|
-
the <a href="../frontmatter/">YAML Front Matter</a>.
|
591
|
-
|
592
|
-
</p></td>
|
593
|
-
</tr>
|
594
|
-
<tr>
|
595
|
-
<td><p><code>page.path</code></p></td>
|
596
|
-
<td><p>
|
597
|
-
|
598
|
-
The path to the raw post or page. Example usage: Linking back to the
|
599
|
-
page or post’s source on GitHub. This can be overridden in the
|
600
|
-
<a href="../frontmatter/">YAML Front Matter</a>.
|
601
|
-
|
602
|
-
</p></td>
|
603
|
-
</tr>
|
604
|
-
<tr>
|
605
|
-
<td><p><code>page.next</code></p></td>
|
606
|
-
<td><p>
|
607
|
-
|
608
|
-
The next post relative to the position of the current post in
|
609
|
-
<code>site.posts</code>. Returns <code>nil</code> for the last entry.
|
610
|
-
|
611
|
-
</p></td>
|
612
|
-
</tr>
|
613
|
-
<tr>
|
614
|
-
<td><p><code>page.previous</code></p></td>
|
615
|
-
<td><p>
|
616
|
-
|
617
|
-
The previous post relative to the position of the current post in
|
618
|
-
<code>site.posts</code>. Returns <code>nil</code> for the first entry.
|
619
|
-
|
620
|
-
</p></td>
|
621
|
-
</tr>
|
622
|
-
</tbody>
|
623
|
-
</table>
|
624
|
-
</div>
|
625
|
-
|
626
|
-
<div class="note">
|
627
|
-
<h5>ProTip™: Use Custom Front Matter</h5>
|
628
|
-
<p>
|
629
|
-
|
630
|
-
Any custom front matter that you specify will be available under
|
631
|
-
<code>page</code>. For example, if you specify <code>custom_css: true</code>
|
632
|
-
in a page’s front matter, that value will be available as
|
633
|
-
<code>page.custom_css</code>.
|
634
|
-
|
635
|
-
</p>
|
636
|
-
<p>
|
637
|
-
|
638
|
-
If you specify front matter in a layout, access that via <code>layout</code>.
|
639
|
-
For example, if you specify <code>class: full_page</code>
|
640
|
-
in a layout’s front matter, that value will be available as
|
641
|
-
<code>layout.class</code> in the layout and its parents.
|
642
|
-
|
643
|
-
</p>
|
644
|
-
</div>
|
645
|
-
|
646
|
-
<h2 id="paginator">Paginator</h2>
|
647
|
-
|
648
|
-
<div class="mobile-side-scroller">
|
649
|
-
<table>
|
650
|
-
<thead>
|
651
|
-
<tr>
|
652
|
-
<th>Variable</th>
|
653
|
-
<th>Description</th>
|
654
|
-
</tr>
|
655
|
-
</thead>
|
656
|
-
<tbody>
|
657
|
-
<tr>
|
658
|
-
<td><p><code>paginator.per_page</code></p></td>
|
659
|
-
<td><p>Number of Posts per page.</p></td>
|
660
|
-
</tr>
|
661
|
-
<tr>
|
662
|
-
<td><p><code>paginator.posts</code></p></td>
|
663
|
-
<td><p>Posts available for that page.</p></td>
|
664
|
-
</tr>
|
665
|
-
<tr>
|
666
|
-
<td><p><code>paginator.total_posts</code></p></td>
|
667
|
-
<td><p>Total number of Posts.</p></td>
|
668
|
-
</tr>
|
669
|
-
<tr>
|
670
|
-
<td><p><code>paginator.total_pages</code></p></td>
|
671
|
-
<td><p>Total number of pages.</p></td>
|
672
|
-
</tr>
|
673
|
-
<tr>
|
674
|
-
<td><p><code>paginator.page</code></p></td>
|
675
|
-
<td><p>The number of the current page.</p></td>
|
676
|
-
</tr>
|
677
|
-
<tr>
|
678
|
-
<td><p><code>paginator.previous_page</code></p></td>
|
679
|
-
<td><p>The number of the previous page.</p></td>
|
680
|
-
</tr>
|
681
|
-
<tr>
|
682
|
-
<td><p><code>paginator.previous_page_path</code></p></td>
|
683
|
-
<td><p>The path to the previous page.</p></td>
|
684
|
-
</tr>
|
685
|
-
<tr>
|
686
|
-
<td><p><code>paginator.next_page</code></p></td>
|
687
|
-
<td><p>The number of the next page.</p></td>
|
688
|
-
</tr>
|
689
|
-
<tr>
|
690
|
-
<td><p><code>paginator.next_page_path</code></p></td>
|
691
|
-
<td><p>The path to the next page.</p></td>
|
692
|
-
</tr>
|
693
|
-
</tbody>
|
694
|
-
</table>
|
695
|
-
</div>
|
696
|
-
|
697
|
-
<div class="note info">
|
698
|
-
<h5>Paginator variable availability</h5>
|
699
|
-
<p>
|
700
|
-
|
701
|
-
These are only available in index files, however they can be located in a
|
702
|
-
subdirectory, such as <code>/blog/index.html</code>.
|
703
|
-
|
704
|
-
</p>
|
705
|
-
</div>
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
<div class="section-nav">
|
752
|
-
<div class="left align-right">
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
<a href="/docs/static-files/" class="prev">Back</a>
|
757
|
-
|
758
|
-
</div>
|
759
|
-
<div class="right align-left">
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
<a href="/docs/collections/" class="next">Next</a>
|
764
|
-
|
765
|
-
</div>
|
766
|
-
</div>
|
767
|
-
<div class="clear"></div>
|
768
|
-
|
769
|
-
</article>
|
770
|
-
</div>
|
771
|
-
|
772
|
-
<div class="unit one-fifth hide-on-mobiles">
|
773
|
-
<aside>
|
774
|
-
|
775
|
-
<h4>Getting Started</h4>
|
776
|
-
<ul>
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
<li class=""><a href="/docs/home/">Welcome</a></li>
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
<li class=""><a href="/docs/quickstart/">Quick-start guide</a></li>
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
<li class=""><a href="/docs/installation/">Installation</a></li>
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
<li class=""><a href="/docs/windows/">Jekyll on Windows</a></li>
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
<li class=""><a href="/docs/usage/">Basic Usage</a></li>
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
<li class=""><a href="/docs/structure/">Directory structure</a></li>
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
<li class=""><a href="/docs/configuration/">Configuration</a></li>
|
805
|
-
|
806
|
-
</ul>
|
807
|
-
|
808
|
-
|
809
|
-
<h4>Your Content</h4>
|
810
|
-
<ul>
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
<li class=""><a href="/docs/frontmatter/">Front Matter</a></li>
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
<li class=""><a href="/docs/posts/">Writing posts</a></li>
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
<li class=""><a href="/docs/drafts/">Working with drafts</a></li>
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
<li class=""><a href="/docs/pages/">Creating pages</a></li>
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
<li class=""><a href="/docs/static-files/">Static Files</a></li>
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
<li class="current"><a href="/docs/variables/">Variables</a></li>
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
<li class=""><a href="/docs/collections/">Collections</a></li>
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
<li class=""><a href="/docs/datafiles/">Data Files</a></li>
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
<li class=""><a href="/docs/assets/">Assets</a></li>
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
<li class=""><a href="/docs/migrations/">Blog migrations</a></li>
|
851
|
-
|
852
|
-
</ul>
|
853
|
-
|
854
|
-
|
855
|
-
<h4>Customization</h4>
|
856
|
-
<ul>
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
<li class=""><a href="/docs/templates/">Templates</a></li>
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
<li class=""><a href="/docs/includes/">Includes</a></li>
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
<li class=""><a href="/docs/permalinks/">Permalinks</a></li>
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
<li class=""><a href="/docs/pagination/">Pagination</a></li>
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
<li class=""><a href="/docs/plugins/">Plugins</a></li>
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
<li class=""><a href="/docs/themes/">Themes</a></li>
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
<li class=""><a href="/docs/extras/">Extras</a></li>
|
885
|
-
|
886
|
-
</ul>
|
887
|
-
|
888
|
-
|
889
|
-
<h4>Deployment</h4>
|
890
|
-
<ul>
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
<li class=""><a href="/docs/github-pages/">GitHub Pages</a></li>
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
<li class=""><a href="/docs/deployment-methods/">Deployment methods</a></li>
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
<li class=""><a href="/docs/continuous-integration/">Continuous Integration</a></li>
|
903
|
-
|
904
|
-
</ul>
|
905
|
-
|
906
|
-
|
907
|
-
<h4>Miscellaneous</h4>
|
908
|
-
<ul>
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
<li class=""><a href="/docs/troubleshooting/">Troubleshooting</a></li>
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
<li class=""><a href="/docs/sites/">Sites using Jekyll</a></li>
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
<li class=""><a href="/docs/resources/">Resources</a></li>
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
<li class=""><a href="/docs/upgrading/0-to-2/">Upgrading from 0.x to 2.x</a></li>
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
<li class=""><a href="/docs/upgrading/2-to-3/">Upgrading from 2.x to 3.x</a></li>
|
929
|
-
|
930
|
-
</ul>
|
931
|
-
|
932
|
-
|
933
|
-
<h4>Meta</h4>
|
934
|
-
<ul>
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
<li class=""><a href="/docs/contributing/">Contributing</a></li>
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
<li class=""><a href="/docs/maintaining/">Maintaining Jekyll</a></li>
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
<li class=""><a href="/docs/conduct/">Code of Conduct</a></li>
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
<li class=""><a href="/docs/history/">History</a></li>
|
951
|
-
|
952
|
-
</ul>
|
953
|
-
|
954
|
-
|
955
|
-
</aside>
|
956
|
-
</div>
|
957
|
-
|
958
|
-
|
959
|
-
<div class="clear"></div>
|
960
|
-
|
961
|
-
</div>
|
962
|
-
</section>
|
963
|
-
|
964
|
-
|
965
|
-
<footer>
|
966
|
-
<div class="grid">
|
967
|
-
<div class="unit one-third center-on-mobiles">
|
968
|
-
<p>The contents of this website are <br>© 2017 under the terms of the <a href="https://github.com/jekyll/jekyll/blob/master/LICENSE">MIT License</a>.</p>
|
969
|
-
</div>
|
970
|
-
<div class="unit two-thirds align-right center-on-mobiles">
|
971
|
-
<p>
|
972
|
-
Proudly hosted by
|
973
|
-
<a href="https://github.com">
|
974
|
-
<img src="/img/footer-logo.png" width="100" height="30" alt="GitHub • Social coding">
|
975
|
-
</a>
|
976
|
-
</p>
|
977
|
-
</div>
|
978
|
-
</div>
|
979
|
-
</footer>
|
980
|
-
|
981
|
-
<script>
|
982
|
-
var anchorForId = function (id) {
|
983
|
-
var anchor = document.createElement("a");
|
984
|
-
anchor.className = "header-link";
|
985
|
-
anchor.href = "#" + id;
|
986
|
-
anchor.innerHTML = "<span class=\"sr-only\">Permalink</span><i class=\"fa fa-link\"></i>";
|
987
|
-
anchor.title = "Permalink";
|
988
|
-
return anchor;
|
989
|
-
};
|
990
|
-
|
991
|
-
var linkifyAnchors = function (level, containingElement) {
|
992
|
-
var headers = containingElement.getElementsByTagName("h" + level);
|
993
|
-
for (var h = 0; h < headers.length; h++) {
|
994
|
-
var header = headers[h];
|
995
|
-
|
996
|
-
if (typeof header.id !== "undefined" && header.id !== "") {
|
997
|
-
header.appendChild(anchorForId(header.id));
|
998
|
-
}
|
999
|
-
}
|
1000
|
-
};
|
1001
|
-
|
1002
|
-
document.onreadystatechange = function () {
|
1003
|
-
if (this.readyState === "complete") {
|
1004
|
-
var contentBlock = document.getElementsByClassName("docs")[0] || document.getElementsByClassName("news")[0];
|
1005
|
-
if (!contentBlock) {
|
1006
|
-
return;
|
1007
|
-
}
|
1008
|
-
for (var level = 1; level <= 6; level++) {
|
1009
|
-
linkifyAnchors(level, contentBlock);
|
1010
|
-
}
|
1011
|
-
}
|
1012
|
-
};
|
1013
|
-
</script>
|
1014
|
-
|
1015
|
-
|
1016
|
-
<!-- Gauges (http://get.gaug.es/) -->
|
1017
|
-
<script>
|
1018
|
-
var _gauges = _gauges || [];
|
1019
|
-
(function() {
|
1020
|
-
var t = document.createElement('script');
|
1021
|
-
t.type = 'text/javascript';
|
1022
|
-
t.async = true;
|
1023
|
-
t.id = 'gauges-tracker';
|
1024
|
-
t.setAttribute('data-site-id', '503c5af6613f5d0f19000027');
|
1025
|
-
t.src = '//secure.gaug.es/track.js';
|
1026
|
-
var s = document.getElementsByTagName('script')[0];
|
1027
|
-
s.parentNode.insertBefore(t, s);
|
1028
|
-
})();
|
1029
|
-
</script>
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
<!-- Google Analytics (https://www.google.com/analytics) -->
|
1034
|
-
<script>
|
1035
|
-
!function(j,e,k,y,l,L){j.GoogleAnalyticsObject=y,j[y]||(j[y]=function(){
|
1036
|
-
(j[y].q=j[y].q||[]).push(arguments)}),j[y].l=+new Date,l=e.createElement(k),
|
1037
|
-
L=e.getElementsByTagName(k)[0],l.src='//www.google-analytics.com/analytics.js',
|
1038
|
-
L.parentNode.insertBefore(l,L)}(window,document,'script','ga');
|
1039
|
-
|
1040
|
-
ga('create', 'UA-50755011-1', 'jekyllrb.com');
|
1041
|
-
ga('send', 'pageview');
|
1042
|
-
|
1043
|
-
</script>
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
</body>
|
1048
|
-
</html>
|