jekyll-docs 3.9.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-docs.rb +3 -3
- data/site/404.html +10 -7
- data/site/css/screen.css +3 -1
- data/site/css/screen.css.map +28 -0
- data/site/docs/assets/index.html +412 -453
- data/site/docs/code_of_conduct/index.html +447 -501
- data/site/docs/collections/index.html +487 -674
- data/site/docs/community/bug/index.html +603 -0
- data/site/docs/community/index.html +635 -0
- data/site/docs/conduct/index.html +447 -515
- data/site/docs/configuration/default/index.html +682 -0
- data/site/docs/configuration/environments/index.html +641 -0
- data/site/docs/configuration/front-matter-defaults/index.html +738 -0
- data/site/docs/configuration/incremental-regeneration/index.html +631 -0
- data/site/docs/configuration/index.html +405 -1230
- data/site/docs/configuration/liquid/index.html +616 -0
- data/site/docs/configuration/markdown/index.html +766 -0
- data/site/docs/configuration/options/index.html +1011 -0
- data/site/docs/configuration/webrick/index.html +615 -0
- data/site/docs/continuous-integration/buddyworks/index.html +393 -479
- data/site/docs/continuous-integration/circleci/index.html +465 -481
- data/site/docs/continuous-integration/travis-ci/index.html +450 -507
- data/site/docs/contributing/index.html +425 -514
- data/site/docs/datafiles/index.html +411 -453
- data/site/docs/deployment-methods/index.html +9 -871
- data/site/docs/deployment/automated/index.html +663 -0
- data/site/docs/deployment/index.html +607 -0
- data/site/docs/deployment/manual/index.html +631 -0
- data/site/docs/deployment/third-party/index.html +639 -0
- data/site/docs/drafts/index.html +9 -634
- data/site/docs/extras/index.html +9 -687
- data/site/docs/front-matter/index.html +799 -0
- data/site/docs/frontmatter/index.html +9 -819
- data/site/docs/github-pages/index.html +407 -475
- data/site/docs/history/index.html +1370 -1154
- data/site/docs/home/index.html +9 -627
- data/site/docs/includes/index.html +425 -501
- data/site/docs/index.html +630 -9
- data/site/docs/installation/index.html +403 -540
- data/site/docs/installation/macos/index.html +716 -0
- data/site/docs/installation/other-linux/index.html +613 -0
- data/site/docs/installation/ubuntu/index.html +623 -0
- data/site/docs/installation/windows/index.html +733 -0
- data/site/docs/layouts/index.html +726 -0
- data/site/docs/liquid/filters/index.html +1169 -0
- data/site/docs/liquid/index.html +615 -0
- data/site/docs/liquid/tags/index.html +728 -0
- data/site/docs/maintaining/affinity-team-captain/index.html +395 -479
- data/site/docs/maintaining/avoiding-burnout/index.html +391 -475
- data/site/docs/maintaining/becoming-a-maintainer/index.html +391 -475
- data/site/docs/maintaining/index.html +391 -486
- data/site/docs/maintaining/merging-a-pull-request/index.html +406 -490
- data/site/docs/maintaining/releasing-a-new-version/index.html +409 -485
- data/site/docs/maintaining/reviewing-a-pull-request/index.html +392 -476
- data/site/docs/maintaining/special-labels/index.html +397 -481
- data/site/docs/maintaining/triaging-an-issue/index.html +394 -478
- data/site/docs/markdown-101/index.html +601 -0
- data/site/docs/migrations/index.html +396 -440
- data/site/docs/pages/index.html +408 -482
- data/site/docs/pagination/index.html +450 -509
- data/site/docs/permalinks/index.html +552 -587
- data/site/docs/plugins/commands/index.html +656 -0
- data/site/docs/plugins/converters/index.html +685 -0
- data/site/docs/plugins/filters/index.html +624 -0
- data/site/docs/plugins/generators/index.html +697 -0
- data/site/docs/plugins/hooks/index.html +838 -0
- data/site/docs/plugins/index.html +415 -1565
- data/site/docs/plugins/installation/index.html +681 -0
- data/site/docs/plugins/tags/index.html +699 -0
- data/site/docs/plugins/your-first-plugin/index.html +741 -0
- data/site/docs/posts/index.html +491 -627
- data/site/docs/quickstart/index.html +9 -645
- data/site/docs/resources/index.html +9 -761
- data/site/docs/ruby-101/index.html +640 -0
- data/site/docs/sites/index.html +9 -696
- data/site/docs/static-files/index.html +401 -433
- data/site/docs/step-by-step/01-setup/index.html +771 -0
- data/site/docs/step-by-step/02-liquid/index.html +756 -0
- data/site/docs/step-by-step/03-front-matter/index.html +730 -0
- data/site/docs/step-by-step/04-layouts/index.html +770 -0
- data/site/docs/step-by-step/05-includes/index.html +768 -0
- data/site/docs/step-by-step/06-data-files/index.html +738 -0
- data/site/docs/step-by-step/07-assets/index.html +773 -0
- data/site/docs/step-by-step/08-blogging/index.html +835 -0
- data/site/docs/step-by-step/09-collections/index.html +932 -0
- data/site/docs/step-by-step/10-deployment/index.html +842 -0
- data/site/docs/structure/index.html +411 -430
- data/site/docs/support/index.html +392 -476
- data/site/docs/templates/index.html +9 -1232
- data/site/docs/themes/index.html +487 -521
- data/site/docs/troubleshooting/index.html +443 -520
- data/site/docs/upgrading/0-to-2/index.html +437 -523
- data/site/docs/upgrading/2-to-3/index.html +422 -507
- data/site/docs/upgrading/3-to-4/index.html +765 -0
- data/site/docs/upgrading/index.html +395 -478
- data/site/docs/usage/index.html +409 -506
- data/site/docs/variables/index.html +504 -652
- data/site/docs/windows/index.html +9 -784
- data/site/feed.xml +269 -188
- data/site/feed/release.xml +324 -0
- data/site/fonts/lato-v14-latin-300.woff +0 -0
- data/site/fonts/lato-v14-latin-300.woff2 +0 -0
- data/site/fonts/lato-v14-latin-300italic.woff +0 -0
- data/site/fonts/lato-v14-latin-300italic.woff2 +0 -0
- data/site/fonts/lato-v14-latin-700.woff +0 -0
- data/site/fonts/lato-v14-latin-700.woff2 +0 -0
- data/site/fonts/lato-v14-latin-700italic.woff +0 -0
- data/site/fonts/lato-v14-latin-700italic.woff2 +0 -0
- data/site/fonts/lato-v14-latin-900.woff +0 -0
- data/site/fonts/lato-v14-latin-900.woff2 +0 -0
- data/site/fonts/lato-v14-latin-900italic.woff +0 -0
- data/site/fonts/lato-v14-latin-900italic.woff2 +0 -0
- data/site/fonts/lato-v14-latin-italic.woff +0 -0
- data/site/fonts/lato-v14-latin-italic.woff2 +0 -0
- data/site/fonts/lato-v14-latin-regular.woff +0 -0
- data/site/fonts/lato-v14-latin-regular.woff2 +0 -0
- data/site/help/index.html +9 -247
- data/site/img/forestry-logo.svg +19 -0
- data/site/img/jekyll-og.png +0 -0
- data/site/img/spacer.gif +0 -0
- data/site/index.html +56 -29
- data/site/jekyllconf/index.html +62 -35
- data/site/latest_version.txt +1 -1
- data/site/news/2013/05/05/jekyll-1-0-0-released/index.html +180 -115
- data/site/news/2013/05/08/jekyll-1-0-1-released/index.html +182 -117
- data/site/news/2013/05/12/jekyll-1-0-2-released/index.html +183 -118
- data/site/news/2013/06/07/jekyll-1-0-3-released/index.html +184 -119
- data/site/news/2013/07/14/jekyll-1-1-0-released/index.html +183 -118
- data/site/news/2013/07/24/jekyll-1-1-1-released/index.html +180 -115
- data/site/news/2013/07/25/jekyll-1-0-4-released/index.html +182 -117
- data/site/news/2013/07/25/jekyll-1-1-2-released/index.html +182 -117
- data/site/news/2013/09/06/jekyll-1-2-0-released/index.html +185 -120
- data/site/news/2013/09/14/jekyll-1-2-1-released/index.html +183 -118
- data/site/news/2013/10/28/jekyll-1-3-0-rc1-released/index.html +180 -115
- data/site/news/2013/11/04/jekyll-1-3-0-released/index.html +189 -124
- data/site/news/2013/11/26/jekyll-1-3-1-released/index.html +181 -116
- data/site/news/2013/12/07/jekyll-1-4-0-released/index.html +181 -116
- data/site/news/2013/12/09/jekyll-1-4-1-released/index.html +180 -115
- data/site/news/2013/12/16/jekyll-1-4-2-released/index.html +182 -117
- data/site/news/2014/01/13/jekyll-1-4-3-released/index.html +181 -116
- data/site/news/2014/03/24/jekyll-1-5-0-released/index.html +181 -116
- data/site/news/2014/03/27/jekyll-1-5-1-released/index.html +181 -116
- data/site/news/2014/05/06/jekyll-turns-2-0-0/index.html +184 -119
- data/site/news/2014/05/08/jekyll-2-0-3-released/index.html +180 -115
- data/site/news/2014/06/04/jekyll-stickers-1-dollar-stickermule/index.html +181 -116
- data/site/news/2014/06/28/jekyll-turns-21-i-mean-2-1-0/index.html +185 -120
- data/site/news/2014/07/01/jekyll-2-1-1-released/index.html +182 -117
- data/site/news/2014/07/29/jekyll-2-2-0-released/index.html +181 -116
- data/site/news/2014/08/10/jekyll-2-3-0-released/index.html +189 -124
- data/site/news/2014/09/09/jekyll-2-4-0-released/index.html +187 -122
- data/site/news/2014/11/05/jekylls-midlife-crisis-jekyll-turns-2-5-0/index.html +188 -123
- data/site/news/2014/11/09/jekyll-2-5-1-released/index.html +180 -115
- data/site/news/2014/11/12/jekyll-2-5-2-released/index.html +182 -117
- data/site/news/2014/12/17/alfredxing-welcome-to-jekyll-core/index.html +179 -114
- data/site/news/2014/12/22/jekyll-2-5-3-released/index.html +180 -115
- data/site/news/2015/01/20/jekyll-meet-and-greet/index.html +179 -114
- data/site/news/2015/01/24/jekyll-3-0-0-beta1-released/index.html +180 -115
- data/site/news/2015/02/26/introducing-jekyll-talk/index.html +180 -115
- data/site/news/2015/10/26/jekyll-3-0-released/index.html +185 -120
- data/site/news/2015/11/17/jekyll-3-0-1-released/index.html +184 -119
- data/site/news/2016/01/20/jekyll-3-0-2-released/index.html +182 -117
- data/site/news/2016/01/24/jekyll-3-1-0-released/index.html +186 -121
- data/site/news/2016/01/28/jekyll-3-1-1-released/index.html +183 -118
- data/site/news/2016/02/08/jekyll-3-0-3-released/index.html +181 -116
- data/site/news/2016/02/19/jekyll-3-1-2-released/index.html +182 -117
- data/site/news/2016/03/10/making-it-easier-to-contribute-to-jekyll/index.html +179 -114
- data/site/news/2016/04/19/jekyll-3-0-4-released/index.html +181 -116
- data/site/news/2016/04/19/jekyll-3-1-3-released/index.html +181 -116
- data/site/news/2016/04/26/jekyll-3-0-5-released/index.html +180 -115
- data/site/news/2016/05/18/jekyll-3-1-4-released/index.html +186 -121
- data/site/news/2016/05/18/jekyll-3-1-5-released/index.html +181 -116
- data/site/news/2016/05/19/jekyll-3-1-6-released/index.html +181 -116
- data/site/news/2016/06/03/update-on-jekyll-s-google-summer-of-code-projects/index.html +179 -114
- data/site/news/2016/07/26/jekyll-3-2-0-released/index.html +184 -119
- data/site/news/2016/08/02/jekyll-3-2-1-released/index.html +180 -115
- data/site/news/2016/08/24/jekyll-admin-initial-release/index.html +179 -114
- data/site/news/2016/10/06/jekyll-3-3-is-here/index.html +207 -142
- data/site/news/2016/11/14/jekyll-3-3-1-released/index.html +181 -116
- data/site/news/2017/01/18/jekyll-3-4-0-released/index.html +183 -118
- data/site/news/2017/03/02/jekyll-3-4-1-released/index.html +181 -116
- data/site/news/2017/03/09/jekyll-3-4-2-released/index.html +189 -124
- data/site/news/2017/03/21/jekyll-3-4-3-released/index.html +190 -125
- data/site/news/2017/06/15/jekyll-3-5-0-released/index.html +187 -122
- data/site/news/2017/07/17/jekyll-3-5-1-released/index.html +182 -117
- data/site/news/2017/08/12/jekyll-3-5-2-released/index.html +185 -120
- data/site/news/2017/09/21/jekyll-3-6-0-released/index.html +181 -116
- data/site/news/2017/10/19/diversity-open-source/index.html +181 -116
- data/site/news/2017/10/21/jekyll-3-6-2-released/index.html +183 -118
- data/site/news/2018/01/02/jekyll-3-7-0-released/index.html +184 -119
- data/site/news/2018/01/25/jekyll-3-7-2-released/index.html +189 -124
- data/site/news/2018/02/19/meet-jekyll-s-new-lead-developer/index.html +180 -115
- data/site/news/2018/02/24/jekyll-3-7-3-released/index.html +185 -120
- data/site/news/2018/04/19/development-update/index.html +699 -0
- data/site/news/2018/04/19/jekyll-3-8-0-released/index.html +715 -0
- data/site/news/2018/05/01/jekyll-3-8-1-released/index.html +182 -117
- data/site/news/2018/05/19/jekyll-3-8-2-released/index.html +181 -116
- data/site/news/2018/06/05/jekyll-3-8-3-released/index.html +183 -118
- data/site/news/2018/08/01/jekyll-sponsoring/index.html +748 -0
- data/site/news/2018/09/19/security-fixes-for-3-6-3-7-3-8/index.html +692 -0
- data/site/news/2018/11/04/jekyll-3-8-5-released/index.html +682 -0
- data/site/news/2019/03/18/jekyll-4-0-0-pre-alpha1-released/index.html +710 -0
- data/site/news/2019/07/02/jekyll-3-8-6-released/index.html +180 -115
- data/site/news/2019/07/20/jekyll-4-0-0-pre-beta1-released/index.html +11 -0
- data/site/news/2019/08/04/jekyll-4-0-0-pre-beta1-released/index.html +708 -0
- data/site/news/2019/08/20/jekyll-4-0-0-released/index.html +809 -0
- data/site/news/index.html +976 -326
- data/site/news/releases/index.html +820 -321
- data/site/{philosophy.html → philosophy/index.html} +1 -1
- data/site/redirects.json +1 -1
- data/site/resources/index.html +332 -0
- data/site/showcase/index.html +844 -0
- data/site/sitemap.xml +256 -81
- data/site/team/index.html +63 -77
- data/site/tutorials/cache-api/index.html +418 -0
- data/site/tutorials/convert-site-to-jekyll/index.html +155 -124
- data/site/tutorials/custom-404-page/index.html +76 -43
- data/site/tutorials/home/index.html +64 -37
- data/site/tutorials/navigation/index.html +186 -103
- data/site/tutorials/orderofinterpretation/index.html +80 -53
- data/site/tutorials/using-jekyll-with-bundler/index.html +80 -51
- data/site/tutorials/video-walkthroughs/index.html +62 -35
- metadata +102 -13
- data/site/community/index.html +0 -11
- data/site/docs/continuous-integration/index.html +0 -681
@@ -3,17 +3,18 @@
|
|
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
|
6
|
+
<meta name="generator" content="Jekyll v4.0.0">
|
7
7
|
<link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites" />
|
8
|
+
<link type="application/atom+xml" rel="alternate" href="/feed/release.xml" title="Jekyll releases posts" />
|
8
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">
|
9
|
-
<link rel="
|
10
|
-
<link rel="
|
11
|
-
<link rel="
|
10
|
+
<link rel="preload" href="/fonts/lato-v14-latin-300.woff2" as="font" type="font/woff2" crossorigin />
|
11
|
+
<link rel="preload" href="/fonts/lato-v14-latin-700.woff2" as="font" type="font/woff2" crossorigin />
|
12
|
+
<link rel="preload" href="/css/screen.css" as="style">
|
12
13
|
<link rel="stylesheet" href="/css/screen.css">
|
13
14
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
14
15
|
<!-- Begin Jekyll SEO tag v2.6.1 -->
|
15
16
|
<title>Pagination | Jekyll • Simple, blog-aware, static sites</title>
|
16
|
-
<meta name="generator" content="Jekyll
|
17
|
+
<meta name="generator" content="Jekyll v4.0.0" />
|
17
18
|
<meta property="og:title" content="Pagination" />
|
18
19
|
<meta property="og:locale" content="en_US" />
|
19
20
|
<meta name="description" content="With many websites — especially blogs — it’s very common to break the main listing of posts up into smaller lists and display them over multiple pages. Jekyll offers a pagination plugin, so you can automatically generate the appropriate files and folders you need for paginated listings." />
|
@@ -21,14 +22,16 @@
|
|
21
22
|
<link rel="canonical" href="https://jekyllrb.com/docs/pagination/" />
|
22
23
|
<meta property="og:url" content="https://jekyllrb.com/docs/pagination/" />
|
23
24
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites" />
|
25
|
+
<meta property="og:image" content="https://jekyllrb.com/img/jekyll-og.png" />
|
24
26
|
<meta property="og:type" content="article" />
|
25
|
-
<meta property="article:published_time" content="
|
26
|
-
<meta name="twitter:card" content="
|
27
|
+
<meta property="article:published_time" content="2019-09-11T07:30:27-07:00" />
|
28
|
+
<meta name="twitter:card" content="summary_large_image" />
|
29
|
+
<meta property="twitter:image" content="https://jekyllrb.com/img/jekyll-og.png" />
|
27
30
|
<meta property="twitter:title" content="Pagination" />
|
28
31
|
<meta name="twitter:site" content="@jekyllrb" />
|
29
32
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY" />
|
30
33
|
<script type="application/ld+json">
|
31
|
-
{"
|
34
|
+
{"description":"With many websites — especially blogs — it’s very common to break the main listing of posts up into smaller lists and display them over multiple pages. Jekyll offers a pagination plugin, so you can automatically generate the appropriate files and folders you need for paginated listings.","@type":"BlogPosting","mainEntityOfPage":{"@type":"WebPage","@id":"https://jekyllrb.com/docs/pagination/"},"headline":"Pagination","dateModified":"2019-09-11T07:30:27-07:00","url":"https://jekyllrb.com/docs/pagination/","datePublished":"2019-09-11T07:30:27-07:00","image":"https://jekyllrb.com/img/jekyll-og.png","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://jekyllrb.com/img/logo-2x.png"}},"@context":"https://schema.org"}</script>
|
32
35
|
<!-- End Jekyll SEO tag -->
|
33
36
|
|
34
37
|
<!--[if lt IE 9]>
|
@@ -51,18 +54,27 @@
|
|
51
54
|
</div>
|
52
55
|
<nav class="main-nav hide-on-mobiles">
|
53
56
|
<ul>
|
54
|
-
|
57
|
+
|
58
|
+
<li>
|
55
59
|
<a href="/">Home</a>
|
56
60
|
</li>
|
61
|
+
|
57
62
|
<li class="current">
|
58
|
-
<a href="/docs/
|
63
|
+
<a href="/docs/">Docs</a>
|
59
64
|
</li>
|
60
|
-
|
61
|
-
|
65
|
+
|
66
|
+
<li>
|
67
|
+
<a href="/resources/">Resources</a>
|
68
|
+
</li>
|
69
|
+
|
70
|
+
<li>
|
71
|
+
<a href="/showcase/">Showcase</a>
|
62
72
|
</li>
|
63
|
-
|
64
|
-
|
73
|
+
|
74
|
+
<li>
|
75
|
+
<a href="/news/">News</a>
|
65
76
|
</li>
|
77
|
+
|
66
78
|
</ul>
|
67
79
|
|
68
80
|
</nav>
|
@@ -73,7 +85,7 @@
|
|
73
85
|
<div class="meta hide-on-mobiles">
|
74
86
|
<ul>
|
75
87
|
<li>
|
76
|
-
<a href="https://github.com/jekyll/jekyll/releases/tag/
|
88
|
+
<a href="https://github.com/jekyll/jekyll/releases/tag/v4.0.0">v4.0.0</a>
|
77
89
|
</li>
|
78
90
|
<li>
|
79
91
|
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
@@ -83,18 +95,24 @@
|
|
83
95
|
</div>
|
84
96
|
<nav class="mobile-nav show-on-mobiles">
|
85
97
|
<ul>
|
86
|
-
|
87
|
-
<
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
+
|
99
|
+
<li>
|
100
|
+
<a href="/">Home</a>
|
101
|
+
</li>
|
102
|
+
|
103
|
+
<li class="current">
|
104
|
+
<a href="/docs/">Docs</a>
|
105
|
+
</li>
|
106
|
+
|
107
|
+
<li>
|
108
|
+
<a href="/resources/">Resources</a>
|
109
|
+
</li>
|
110
|
+
|
111
|
+
|
112
|
+
<li>
|
113
|
+
<a href="/news/">News</a>
|
114
|
+
</li>
|
115
|
+
|
98
116
|
<li>
|
99
117
|
<a href="https://github.com/jekyll/jekyll">GitHub</a>
|
100
118
|
</li>
|
@@ -113,176 +131,152 @@
|
|
113
131
|
|
114
132
|
<optgroup label="Getting Started">
|
115
133
|
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
<option value="/docs/configuration/">Configuration</option>
|
143
|
-
|
144
|
-
|
145
|
-
</optgroup>
|
146
|
-
|
147
|
-
<optgroup label="Your Content">
|
134
|
+
|
135
|
+
<option value="/docs/">
|
136
|
+
Quickstart
|
137
|
+
</option>
|
138
|
+
|
139
|
+
|
140
|
+
<option value="/docs/ruby-101/">
|
141
|
+
Ruby 101
|
142
|
+
</option>
|
143
|
+
|
144
|
+
|
145
|
+
<option value="/docs/installation/">
|
146
|
+
Installation
|
147
|
+
</option>
|
148
|
+
|
149
|
+
|
150
|
+
<option value="/docs/community/">
|
151
|
+
Community
|
152
|
+
</option>
|
153
|
+
|
154
|
+
|
155
|
+
<option value="/docs/step-by-step/01-setup/">
|
156
|
+
Step by Step Tutorial
|
157
|
+
</option>
|
148
158
|
|
149
|
-
|
150
|
-
|
151
|
-
<option value="/docs/frontmatter/">Front Matter</option>
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
<option value="/docs/posts/">Writing posts</option>
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
<option value="/docs/drafts/">Working with drafts</option>
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
<option value="/docs/pages/">Creating pages</option>
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
<option value="/docs/static-files/">Static Files</option>
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
<option value="/docs/variables/">Variables</option>
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
<option value="/docs/collections/">Collections</option>
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
<option value="/docs/datafiles/">Data Files</option>
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
<option value="/docs/assets/">Assets</option>
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
<option value="/docs/migrations/">Blog migrations</option>
|
188
|
-
|
189
|
-
|
190
159
|
</optgroup>
|
191
160
|
|
192
|
-
<optgroup label="
|
161
|
+
<optgroup label="Build">
|
162
|
+
|
163
|
+
|
164
|
+
<option value="/docs/usage/">
|
165
|
+
Command Line Usage
|
166
|
+
</option>
|
167
|
+
|
168
|
+
|
169
|
+
<option value="/docs/configuration/">
|
170
|
+
Configuration
|
171
|
+
</option>
|
193
172
|
|
194
|
-
|
195
|
-
|
196
|
-
<option value="/docs/templates/">Templates</option>
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
<option value="/docs/includes/">Includes</option>
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
<option value="/docs/permalinks/">Permalinks</option>
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
<option value="/docs/pagination/">Pagination</option>
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
<option value="/docs/plugins/">Plugins</option>
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
<option value="/docs/themes/">Themes</option>
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
<option value="/docs/extras/">Extras</option>
|
221
|
-
|
222
|
-
|
223
173
|
</optgroup>
|
224
174
|
|
225
|
-
<optgroup label="
|
175
|
+
<optgroup label="Content">
|
176
|
+
|
177
|
+
|
178
|
+
<option value="/docs/pages/">
|
179
|
+
Pages
|
180
|
+
</option>
|
181
|
+
|
182
|
+
|
183
|
+
<option value="/docs/posts/">
|
184
|
+
Posts
|
185
|
+
</option>
|
186
|
+
|
187
|
+
|
188
|
+
<option value="/docs/front-matter/">
|
189
|
+
Front Matter
|
190
|
+
</option>
|
191
|
+
|
192
|
+
|
193
|
+
<option value="/docs/collections/">
|
194
|
+
Collections
|
195
|
+
</option>
|
196
|
+
|
197
|
+
|
198
|
+
<option value="/docs/datafiles/">
|
199
|
+
Data Files
|
200
|
+
</option>
|
201
|
+
|
202
|
+
|
203
|
+
<option value="/docs/assets/">
|
204
|
+
Assets
|
205
|
+
</option>
|
206
|
+
|
207
|
+
|
208
|
+
<option value="/docs/static-files/">
|
209
|
+
Static Files
|
210
|
+
</option>
|
226
211
|
|
227
|
-
|
228
|
-
|
229
|
-
<option value="/docs/github-pages/">GitHub Pages</option>
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
<option value="/docs/deployment-methods/">Deployment methods</option>
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
<option value="/docs/continuous-integration/">Continuous Integration</option>
|
238
|
-
|
239
|
-
|
240
212
|
</optgroup>
|
241
213
|
|
242
|
-
<optgroup label="
|
214
|
+
<optgroup label="Site Structure">
|
215
|
+
|
216
|
+
|
217
|
+
<option value="/docs/structure/">
|
218
|
+
Directory Structure
|
219
|
+
</option>
|
220
|
+
|
221
|
+
|
222
|
+
<option value="/docs/liquid/">
|
223
|
+
Liquid
|
224
|
+
</option>
|
225
|
+
|
226
|
+
|
227
|
+
<option value="/docs/variables/">
|
228
|
+
Variables
|
229
|
+
</option>
|
230
|
+
|
231
|
+
|
232
|
+
<option value="/docs/includes/">
|
233
|
+
Includes
|
234
|
+
</option>
|
235
|
+
|
236
|
+
|
237
|
+
<option value="/docs/layouts/">
|
238
|
+
Layouts
|
239
|
+
</option>
|
240
|
+
|
241
|
+
|
242
|
+
<option value="/docs/permalinks/">
|
243
|
+
Permalinks
|
244
|
+
</option>
|
245
|
+
|
246
|
+
|
247
|
+
<option value="/docs/themes/">
|
248
|
+
Themes
|
249
|
+
</option>
|
250
|
+
|
251
|
+
|
252
|
+
<option value="/docs/pagination/">
|
253
|
+
Pagination
|
254
|
+
</option>
|
243
255
|
|
244
|
-
|
245
|
-
|
246
|
-
<option value="/docs/troubleshooting/">Troubleshooting</option>
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
<option value="/docs/sites/">Sites using Jekyll</option>
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
<option value="/docs/resources/">Resources</option>
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
<option value="/docs/upgrading/0-to-2/">Upgrading from 0.x to 2.x</option>
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
<option value="/docs/upgrading/2-to-3/">Upgrading from 2.x to 3.x</option>
|
263
|
-
|
264
|
-
|
265
256
|
</optgroup>
|
266
257
|
|
267
|
-
<optgroup label="
|
258
|
+
<optgroup label="Guides">
|
259
|
+
|
260
|
+
|
261
|
+
<option value="/docs/plugins/">
|
262
|
+
Plugins
|
263
|
+
</option>
|
264
|
+
|
265
|
+
|
266
|
+
<option value="/docs/migrations/">
|
267
|
+
Blog Migrations
|
268
|
+
</option>
|
269
|
+
|
270
|
+
|
271
|
+
<option value="/docs/upgrading/">
|
272
|
+
Upgrading
|
273
|
+
</option>
|
274
|
+
|
275
|
+
|
276
|
+
<option value="/docs/deployment/">
|
277
|
+
Deployment
|
278
|
+
</option>
|
268
279
|
|
269
|
-
|
270
|
-
|
271
|
-
<option value="/docs/contributing/">Contributing</option>
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
<option value="/docs/maintaining/">Maintaining Jekyll</option>
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
<option value="/docs/conduct/">Code of Conduct</option>
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
<option value="/docs/history/">History</option>
|
284
|
-
|
285
|
-
|
286
280
|
</optgroup>
|
287
281
|
|
288
282
|
</select>
|
@@ -292,7 +286,7 @@
|
|
292
286
|
<div class="unit four-fifths">
|
293
287
|
<article>
|
294
288
|
<div class="improve right hide-on-mobiles">
|
295
|
-
<a href="https://github.com/jekyll/jekyll/edit/master/docs/_docs/pagination.md"><i class="fa fa-pencil"></i> Improve this page</a>
|
289
|
+
<a data-proofer-ignore href="https://github.com/jekyll/jekyll/edit/master/docs/_docs/pagination.md"><i class="fa fa-pencil"></i> Improve this page</a>
|
296
290
|
</div>
|
297
291
|
<h1>Pagination</h1>
|
298
292
|
<p>With many websites — especially blogs — it’s very common to
|
@@ -300,13 +294,13 @@ break the main listing of posts up into smaller lists and display them over
|
|
300
294
|
multiple pages. Jekyll offers a pagination plugin, so you can automatically
|
301
295
|
generate the appropriate files and folders you need for paginated listings.</p>
|
302
296
|
|
303
|
-
<p>For Jekyll 3, include the <code class="
|
304
|
-
your <code class="
|
297
|
+
<p>For Jekyll 3, include the <code class="highlighter-rouge">jekyll-paginate</code> plugin in your Gemfile and in
|
298
|
+
your <code class="highlighter-rouge">_config.yml</code> under <code class="highlighter-rouge">plugins</code>. For Jekyll 2, this is standard.</p>
|
305
299
|
|
306
300
|
<div class="note info">
|
307
301
|
<h5>Pagination only works within HTML files</h5>
|
308
302
|
<p>
|
309
|
-
Pagination does not work from within Markdown
|
303
|
+
Pagination does not work from within Markdown files from
|
310
304
|
your Jekyll site. Pagination works when called from within the HTML
|
311
305
|
file, named <code>index.html</code>, which optionally may reside in and
|
312
306
|
produce pagination from within a subdirectory, via the
|
@@ -316,7 +310,7 @@ your <code class="language-plaintext highlighter-rouge">_config.yml</code> under
|
|
316
310
|
|
317
311
|
<h2 id="enable-pagination">Enable pagination</h2>
|
318
312
|
|
319
|
-
<p>To enable pagination for posts on your blog, add a line to the <code class="
|
313
|
+
<p>To enable pagination for posts on your blog, add a line to the <code class="highlighter-rouge">_config.yml</code> file that
|
320
314
|
specifies how many items should be displayed per page:</p>
|
321
315
|
|
322
316
|
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">paginate</span><span class="pi">:</span> <span class="m">5</span>
|
@@ -330,12 +324,12 @@ per-page in the generated site.</p>
|
|
330
324
|
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">paginate_path</span><span class="pi">:</span> <span class="s2">"</span><span class="s">/blog/page:num/"</span>
|
331
325
|
</code></pre></div></div>
|
332
326
|
|
333
|
-
<p>This will read in <code class="
|
334
|
-
<code class="
|
335
|
-
pagination page number, starting with <code class="
|
336
|
-
<code class="
|
337
|
-
|
338
|
-
directory.</p>
|
327
|
+
<p>This will read in <code class="highlighter-rouge">blog/index.html</code>, send it each pagination page in Liquid as
|
328
|
+
<code class="highlighter-rouge">paginator</code> and write the output to <code class="highlighter-rouge">blog/page:num/</code>, where <code class="highlighter-rouge">:num</code> is the
|
329
|
+
pagination page number, starting with <code class="highlighter-rouge">2</code>. <br />
|
330
|
+
If a site has 12 posts and specifies <code class="highlighter-rouge">paginate: 5</code>, Jekyll will write <code class="highlighter-rouge">blog/index.html</code>
|
331
|
+
with the first 5 posts, <code class="highlighter-rouge">blog/page2/index.html</code> with the next 5 posts and
|
332
|
+
<code class="highlighter-rouge">blog/page3/index.html</code> with the last 2 posts into the destination directory.</p>
|
339
333
|
|
340
334
|
<div class="note warning">
|
341
335
|
<h5>Don't set a permalink</h5>
|
@@ -348,81 +342,74 @@ directory.</p>
|
|
348
342
|
<div class="note info">
|
349
343
|
<h5>Pagination for categories, tags and collections</h5>
|
350
344
|
<p>
|
351
|
-
The more recent <a href="https://github.com/sverrirs/jekyll-paginate-v2">
|
352
|
-
|
345
|
+
The more recent <a href="https://github.com/sverrirs/jekyll-paginate-v2">
|
346
|
+
jekyll-paginate-v2</a> plugin supports more features. See the
|
347
|
+
<a href="https://github.com/sverrirs/jekyll-paginate-v2/tree/master/examples">
|
348
|
+
pagination examples</a> in the repository. <strong>This plugin is not
|
349
|
+
supported by GitHub Pages</strong>.
|
353
350
|
</p>
|
354
351
|
</div>
|
355
352
|
|
356
353
|
<h2 id="liquid-attributes-available">Liquid Attributes Available</h2>
|
357
354
|
|
358
|
-
<p>The pagination plugin exposes the <code class="
|
355
|
+
<p>The pagination plugin exposes the <code class="highlighter-rouge">paginator</code> liquid object with the following
|
359
356
|
attributes:</p>
|
360
357
|
|
361
358
|
<div class="mobile-side-scroller">
|
362
359
|
<table>
|
363
360
|
<thead>
|
364
361
|
<tr>
|
365
|
-
<th>
|
362
|
+
<th>Variable</th>
|
366
363
|
<th>Description</th>
|
367
364
|
</tr>
|
368
365
|
</thead>
|
369
366
|
<tbody>
|
367
|
+
|
370
368
|
<tr>
|
371
|
-
<td><p><code>page</code></p></td>
|
372
|
-
<td><p>current page
|
369
|
+
<td><p><code>paginator.page</code></p></td>
|
370
|
+
<td><p>The number of the current page</p></td>
|
373
371
|
</tr>
|
372
|
+
|
374
373
|
<tr>
|
375
|
-
<td><p><code>per_page</code></p></td>
|
376
|
-
<td><p>
|
374
|
+
<td><p><code>paginator.per_page</code></p></td>
|
375
|
+
<td><p>Number of posts per page</p></td>
|
377
376
|
</tr>
|
377
|
+
|
378
378
|
<tr>
|
379
|
-
<td><p><code>posts</code></p></td>
|
380
|
-
<td><p>
|
379
|
+
<td><p><code>paginator.posts</code></p></td>
|
380
|
+
<td><p>Posts available for the current page</p></td>
|
381
381
|
</tr>
|
382
|
+
|
382
383
|
<tr>
|
383
|
-
<td><p><code>total_posts</code></p></td>
|
384
|
-
<td><p>
|
384
|
+
<td><p><code>paginator.total_posts</code></p></td>
|
385
|
+
<td><p>Total number of posts</p></td>
|
385
386
|
</tr>
|
387
|
+
|
386
388
|
<tr>
|
387
|
-
<td><p><code>total_pages</code></p></td>
|
388
|
-
<td><p>number of
|
389
|
+
<td><p><code>paginator.total_pages</code></p></td>
|
390
|
+
<td><p>Total number of pages</p></td>
|
389
391
|
</tr>
|
392
|
+
|
390
393
|
<tr>
|
391
|
-
<td><p><code>previous_page</code></p></td>
|
392
|
-
<td>
|
393
|
-
<p>
|
394
|
-
page number of the previous pagination page,
|
395
|
-
or <code>nil</code> if no previous page exists
|
396
|
-
</p>
|
397
|
-
</td>
|
394
|
+
<td><p><code>paginator.previous_page</code></p></td>
|
395
|
+
<td><p>The number of the previous page, or <code>nil</code> if no previous page exists</p></td>
|
398
396
|
</tr>
|
397
|
+
|
399
398
|
<tr>
|
400
|
-
<td><p><code>previous_page_path</code></p></td>
|
401
|
-
<td>
|
402
|
-
<p>
|
403
|
-
path of previous pagination page,
|
404
|
-
or <code>nil</code> if no previous page exists
|
405
|
-
</p>
|
406
|
-
</td>
|
399
|
+
<td><p><code>paginator.previous_page_path</code></p></td>
|
400
|
+
<td><p>The path to the previous page, or <code>nil</code> if no previous page exists</p></td>
|
407
401
|
</tr>
|
402
|
+
|
408
403
|
<tr>
|
409
|
-
<td><p><code>next_page</code></p></td>
|
410
|
-
<td>
|
411
|
-
<p>
|
412
|
-
page number of the next pagination page,
|
413
|
-
or <code>nil</code> if no subsequent page exists
|
414
|
-
</p>
|
415
|
-
</td>
|
404
|
+
<td><p><code>paginator.next_page</code></p></td>
|
405
|
+
<td><p>The number of the next page, or <code>nil</code> if no subsequent page exists</p></td>
|
416
406
|
</tr>
|
407
|
+
|
417
408
|
<tr>
|
418
|
-
<td><p><code>next_page_path</code></p></td>
|
419
|
-
<td>
|
420
|
-
<p>
|
421
|
-
path of next pagination page,
|
422
|
-
or <code>nil</code> if no subsequent page exists
|
423
|
-
</p>
|
424
|
-
</td>
|
409
|
+
<td><p><code>paginator.next_page_path</code></p></td>
|
410
|
+
<td><p>The path to the next page, or <code>nil</code> if no subsequent page exists</p></td>
|
425
411
|
</tr>
|
412
|
+
|
426
413
|
</tbody>
|
427
414
|
</table>
|
428
415
|
</div>
|
@@ -430,7 +417,7 @@ attributes:</p>
|
|
430
417
|
<div class="note info">
|
431
418
|
<h5>Pagination does not support tags or categories</h5>
|
432
419
|
<p>Pagination pages through every post in the <code>posts</code>
|
433
|
-
variable unless a post has <code>hidden: true</code> in its
|
420
|
+
variable unless a post has <code>hidden: true</code> in its front matter.
|
434
421
|
It does not currently allow paging over groups of posts linked
|
435
422
|
by a common tag or category. It cannot include any collection of
|
436
423
|
documents because it is restricted to posts.</p>
|
@@ -439,7 +426,7 @@ attributes:</p>
|
|
439
426
|
<h2 id="render-the-paginated-posts">Render the paginated Posts</h2>
|
440
427
|
|
441
428
|
<p>The next thing you need to do is to actually display your posts in a list using
|
442
|
-
the <code class="
|
429
|
+
the <code class="highlighter-rouge">paginator</code> variable that will now be available to you. You’ll probably
|
443
430
|
want to do this in one of the main pages of your site. Here’s one example of a
|
444
431
|
simple way of rendering paginated Posts in a HTML file:</p>
|
445
432
|
|
@@ -449,7 +436,7 @@ title: My Blog
|
|
449
436
|
---
|
450
437
|
|
451
438
|
<!-- This loops through the paginated posts -->
|
452
|
-
<span class="p">{%</span><span class="w"> </span><span class="nt">for</span><span class="w"> </span><span class="nv">post</span><span class="w"> </span><span class="
|
439
|
+
<span class="p">{%</span><span class="w"> </span><span class="nt">for</span><span class="w"> </span><span class="nv">post</span><span class="w"> </span><span class="kr">in</span><span class="w"> </span><span class="nv">paginator.posts</span><span class="w"> </span><span class="p">%}</span>
|
453
440
|
<h1><a href="<span class="p">{{</span><span class="w"> </span><span class="nv">post</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">post</span><span class="p">.</span><span class="nv">title</span><span class="w"> </span><span class="p">}}</span></a></h1>
|
454
441
|
<p class="author">
|
455
442
|
<span class="date"><span class="p">{{</span><span class="w"> </span><span class="nv">post</span><span class="p">.</span><span class="nv">date</span><span class="w"> </span><span class="p">}}</span></span>
|
@@ -462,11 +449,15 @@ title: My Blog
|
|
462
449
|
<!-- Pagination links -->
|
463
450
|
<div class="pagination">
|
464
451
|
<span class="p">{%</span><span class="w"> </span><span class="kr">if</span><span class="w"> </span><span class="nv">paginator</span><span class="p">.</span><span class="nv">previous_page</span><span class="w"> </span><span class="p">%}</span>
|
465
|
-
<a href="<span class="p">{{</span><span class="w"> </span><span class="nv">paginator</span><span class="p">.</span><span class="nv">previous_page_path</span><span class="w"> </span><span class="p">}}</span>" class="previous">
|
452
|
+
<a href="<span class="p">{{</span><span class="w"> </span><span class="nv">paginator</span><span class="p">.</span><span class="nv">previous_page_path</span><span class="w"> </span><span class="p">}}</span>" class="previous">
|
453
|
+
Previous
|
454
|
+
</a>
|
466
455
|
<span class="p">{%</span><span class="w"> </span><span class="kr">else</span><span class="w"> </span><span class="p">%}</span>
|
467
456
|
<span class="previous">Previous</span>
|
468
457
|
<span class="p">{%</span><span class="w"> </span><span class="kr">endif</span><span class="w"> </span><span class="p">%}</span>
|
469
|
-
<span class="page_number ">
|
458
|
+
<span class="page_number ">
|
459
|
+
Page: <span class="p">{{</span><span class="w"> </span><span class="nv">paginator</span><span class="p">.</span><span class="nv">page</span><span class="w"> </span><span class="p">}}</span> of <span class="p">{{</span><span class="w"> </span><span class="nv">paginator</span><span class="p">.</span><span class="nv">total_pages</span><span class="w"> </span><span class="p">}}</span>
|
460
|
+
</span>
|
470
461
|
<span class="p">{%</span><span class="w"> </span><span class="kr">if</span><span class="w"> </span><span class="nv">paginator</span><span class="p">.</span><span class="nv">next_page</span><span class="w"> </span><span class="p">%}</span>
|
471
462
|
<a href="<span class="p">{{</span><span class="w"> </span><span class="nv">paginator</span><span class="p">.</span><span class="nv">next_page_path</span><span class="w"> </span><span class="p">}}</span>" class="next">Next</a>
|
472
463
|
<span class="p">{%</span><span class="w"> </span><span class="kr">else</span><span class="w"> </span><span class="p">%}</span>
|
@@ -490,23 +481,23 @@ page with links to all but the current page.</p>
|
|
490
481
|
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="kr">if</span><span class="w"> </span><span class="nv">paginator</span><span class="p">.</span><span class="nv">total_pages</span><span class="w"> </span><span class="o">></span><span class="w"> </span><span class="mi">1</span><span class="w"> </span><span class="p">%}</span>
|
491
482
|
<div class="pagination">
|
492
483
|
<span class="p">{%</span><span class="w"> </span><span class="kr">if</span><span class="w"> </span><span class="nv">paginator</span><span class="p">.</span><span class="nv">previous_page</span><span class="w"> </span><span class="p">%}</span>
|
493
|
-
<a href="<span class="p">{{</span><span class="w"> </span><span class="nv">paginator</span><span class="p">.</span><span class="nv">previous_page_path</span><span class="w"> </span><span class="p">|</span><span class="w"> </span><span class="nf">
|
484
|
+
<a href="<span class="p">{{</span><span class="w"> </span><span class="nv">paginator</span><span class="p">.</span><span class="nv">previous_page_path</span><span class="w"> </span><span class="p">|</span><span class="w"> </span><span class="nf">relative_url</span><span class="w"> </span><span class="p">}}</span>">&laquo; Prev</a>
|
494
485
|
<span class="p">{%</span><span class="w"> </span><span class="kr">else</span><span class="w"> </span><span class="p">%}</span>
|
495
486
|
<span>&laquo; Prev</span>
|
496
487
|
<span class="p">{%</span><span class="w"> </span><span class="kr">endif</span><span class="w"> </span><span class="p">%}</span>
|
497
488
|
|
498
|
-
<span class="p">{%</span><span class="w"> </span><span class="nt">for</span><span class="w"> </span><span class="nv">page</span><span class="w"> </span><span class="
|
489
|
+
<span class="p">{%</span><span class="w"> </span><span class="nt">for</span><span class="w"> </span><span class="nv">page</span><span class="w"> </span><span class="kr">in</span><span class="w"> </span><span class="nv">(1..paginator.total_pages)</span><span class="w"> </span><span class="p">%}</span>
|
499
490
|
<span class="p">{%</span><span class="w"> </span><span class="kr">if</span><span class="w"> </span><span class="nv">page</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="nv">paginator</span><span class="p">.</span><span class="nv">page</span><span class="w"> </span><span class="p">%}</span>
|
500
491
|
<em><span class="p">{{</span><span class="w"> </span><span class="nv">page</span><span class="w"> </span><span class="p">}}</span></em>
|
501
492
|
<span class="p">{%</span><span class="w"> </span><span class="kr">elsif</span><span class="w"> </span><span class="nv">page</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="mi">1</span><span class="w"> </span><span class="p">%}</span>
|
502
|
-
<a href="<span class="p">{{</span><span class="w"> </span><span class="nv">paginator</span><span class="p">.</span><span class="nv">previous_page_path</span><span class="w"> </span><span class="p">|</span><span class="w"> </span><span class="nf">
|
493
|
+
<a href="<span class="p">{{</span><span class="w"> </span><span class="nv">paginator</span><span class="p">.</span><span class="nv">previous_page_path</span><span class="w"> </span><span class="p">|</span><span class="w"> </span><span class="nf">relative_url</span><span class="w"> </span><span class="p">}}</span>"><span class="p">{{</span><span class="w"> </span><span class="nv">page</span><span class="w"> </span><span class="p">}}</span></a>
|
503
494
|
<span class="p">{%</span><span class="w"> </span><span class="kr">else</span><span class="w"> </span><span class="p">%}</span>
|
504
|
-
<a href="<span class="p">{{</span><span class="w"> </span><span class="nv">site</span><span class="p">.</span><span class="nv">paginate_path</span><span class="w"> </span><span class="p">|</span><span class="w"> </span><span class="nf">
|
495
|
+
<a href="<span class="p">{{</span><span class="w"> </span><span class="nv">site</span><span class="p">.</span><span class="nv">paginate_path</span><span class="w"> </span><span class="p">|</span><span class="w"> </span><span class="nf">relative_url</span><span class="w"> </span><span class="p">|</span><span class="w"> </span><span class="nf">replace</span><span class="p">:</span><span class="w"> </span><span class="s1">':num'</span><span class="p">,</span><span class="w"> </span>page<span class="w"> </span><span class="p">}}</span>"><span class="p">{{</span><span class="w"> </span><span class="nv">page</span><span class="w"> </span><span class="p">}}</span></a>
|
505
496
|
<span class="p">{%</span><span class="w"> </span><span class="kr">endif</span><span class="w"> </span><span class="p">%}</span>
|
506
497
|
<span class="p">{%</span><span class="w"> </span><span class="nt">endfor</span><span class="w"> </span><span class="p">%}</span>
|
507
498
|
|
508
499
|
<span class="p">{%</span><span class="w"> </span><span class="kr">if</span><span class="w"> </span><span class="nv">paginator</span><span class="p">.</span><span class="nv">next_page</span><span class="w"> </span><span class="p">%}</span>
|
509
|
-
<a href="<span class="p">{{</span><span class="w"> </span><span class="nv">paginator</span><span class="p">.</span><span class="nv">next_page_path</span><span class="w"> </span><span class="p">|</span><span class="w"> </span><span class="nf">
|
500
|
+
<a href="<span class="p">{{</span><span class="w"> </span><span class="nv">paginator</span><span class="p">.</span><span class="nv">next_page_path</span><span class="w"> </span><span class="p">|</span><span class="w"> </span><span class="nf">relative_url</span><span class="w"> </span><span class="p">}}</span>">Next &raquo;</a>
|
510
501
|
<span class="p">{%</span><span class="w"> </span><span class="kr">else</span><span class="w"> </span><span class="p">%}</span>
|
511
502
|
<span>Next &raquo;</span>
|
512
503
|
<span class="p">{%</span><span class="w"> </span><span class="kr">endif</span><span class="w"> </span><span class="p">%}</span>
|
@@ -515,277 +506,218 @@ page with links to all but the current page.</p>
|
|
515
506
|
</code></pre></div></div>
|
516
507
|
|
517
508
|
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
<div class="section-nav">
|
587
|
-
<div class="left align-right">
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
<a href="/docs/permalinks/" class="prev">Back</a>
|
592
|
-
|
593
|
-
</div>
|
594
|
-
<div class="right align-left">
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
<a href="/docs/plugins/" class="next">Next</a>
|
599
|
-
|
600
|
-
</div>
|
601
|
-
</div>
|
602
|
-
<div class="clear"></div>
|
603
|
-
|
604
509
|
</article>
|
605
510
|
</div>
|
606
511
|
|
607
512
|
<div class="unit one-fifth hide-on-mobiles">
|
608
513
|
<aside>
|
609
514
|
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
<li class=""><a href="/docs/frontmatter/">Front Matter</a></li>
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
<li class=""><a href="/docs/posts/">Writing posts</a></li>
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
<li class=""><a href="/docs/drafts/">Working with drafts</a></li>
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
<li class=""><a href="/docs/pages/">Creating pages</a></li>
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
<li class=""><a href="/docs/static-files/">Static Files</a></li>
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
<li class=""><a href="/docs/variables/">Variables</a></li>
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
<li class=""><a href="/docs/collections/">Collections</a></li>
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
<li class=""><a href="/docs/datafiles/">Data Files</a></li>
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
<li class=""><a href="/docs/assets/">Assets</a></li>
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
<li class=""><a href="/docs/migrations/">Blog migrations</a></li>
|
686
|
-
|
687
|
-
</ul>
|
688
|
-
|
515
|
+
<h4>Getting Started</h4>
|
516
|
+
<ul>
|
517
|
+
|
518
|
+
|
519
|
+
<li>
|
520
|
+
<a href="/docs/">
|
521
|
+
Quickstart
|
522
|
+
</a>
|
523
|
+
</li>
|
524
|
+
|
525
|
+
|
526
|
+
<li>
|
527
|
+
<a href="/docs/ruby-101/">
|
528
|
+
Ruby 101
|
529
|
+
</a>
|
530
|
+
</li>
|
531
|
+
|
532
|
+
|
533
|
+
<li>
|
534
|
+
<a href="/docs/installation/">
|
535
|
+
Installation
|
536
|
+
</a>
|
537
|
+
</li>
|
538
|
+
|
539
|
+
|
540
|
+
<li>
|
541
|
+
<a href="/docs/community/">
|
542
|
+
Community
|
543
|
+
</a>
|
544
|
+
</li>
|
545
|
+
|
546
|
+
|
547
|
+
<li>
|
548
|
+
<a href="/docs/step-by-step/01-setup/">
|
549
|
+
Step by Step Tutorial
|
550
|
+
</a>
|
551
|
+
</li>
|
552
|
+
|
553
|
+
</ul>
|
689
554
|
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
<li class=""><a href="/docs/plugins/">Plugins</a></li>
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
<li class=""><a href="/docs/themes/">Themes</a></li>
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
<li class=""><a href="/docs/extras/">Extras</a></li>
|
720
|
-
|
721
|
-
</ul>
|
722
|
-
|
555
|
+
<h4>Build</h4>
|
556
|
+
<ul>
|
557
|
+
|
558
|
+
|
559
|
+
<li>
|
560
|
+
<a href="/docs/usage/">
|
561
|
+
Command Line Usage
|
562
|
+
</a>
|
563
|
+
</li>
|
564
|
+
|
565
|
+
|
566
|
+
<li>
|
567
|
+
<a href="/docs/configuration/">
|
568
|
+
Configuration
|
569
|
+
</a>
|
570
|
+
</li>
|
571
|
+
|
572
|
+
</ul>
|
723
573
|
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
</
|
740
|
-
|
574
|
+
<h4>Content</h4>
|
575
|
+
<ul>
|
576
|
+
|
577
|
+
|
578
|
+
<li>
|
579
|
+
<a href="/docs/pages/">
|
580
|
+
Pages
|
581
|
+
</a>
|
582
|
+
</li>
|
583
|
+
|
584
|
+
|
585
|
+
<li>
|
586
|
+
<a href="/docs/posts/">
|
587
|
+
Posts
|
588
|
+
</a>
|
589
|
+
</li>
|
590
|
+
|
591
|
+
|
592
|
+
<li>
|
593
|
+
<a href="/docs/front-matter/">
|
594
|
+
Front Matter
|
595
|
+
</a>
|
596
|
+
</li>
|
597
|
+
|
598
|
+
|
599
|
+
<li>
|
600
|
+
<a href="/docs/collections/">
|
601
|
+
Collections
|
602
|
+
</a>
|
603
|
+
</li>
|
604
|
+
|
605
|
+
|
606
|
+
<li>
|
607
|
+
<a href="/docs/datafiles/">
|
608
|
+
Data Files
|
609
|
+
</a>
|
610
|
+
</li>
|
611
|
+
|
612
|
+
|
613
|
+
<li>
|
614
|
+
<a href="/docs/assets/">
|
615
|
+
Assets
|
616
|
+
</a>
|
617
|
+
</li>
|
618
|
+
|
619
|
+
|
620
|
+
<li>
|
621
|
+
<a href="/docs/static-files/">
|
622
|
+
Static Files
|
623
|
+
</a>
|
624
|
+
</li>
|
625
|
+
|
626
|
+
</ul>
|
741
627
|
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
628
|
+
<h4>Site Structure</h4>
|
629
|
+
<ul>
|
630
|
+
|
631
|
+
|
632
|
+
<li>
|
633
|
+
<a href="/docs/structure/">
|
634
|
+
Directory Structure
|
635
|
+
</a>
|
636
|
+
</li>
|
637
|
+
|
638
|
+
|
639
|
+
<li>
|
640
|
+
<a href="/docs/liquid/">
|
641
|
+
Liquid
|
642
|
+
</a>
|
643
|
+
</li>
|
644
|
+
|
645
|
+
|
646
|
+
<li>
|
647
|
+
<a href="/docs/variables/">
|
648
|
+
Variables
|
649
|
+
</a>
|
650
|
+
</li>
|
651
|
+
|
652
|
+
|
653
|
+
<li>
|
654
|
+
<a href="/docs/includes/">
|
655
|
+
Includes
|
656
|
+
</a>
|
657
|
+
</li>
|
658
|
+
|
659
|
+
|
660
|
+
<li>
|
661
|
+
<a href="/docs/layouts/">
|
662
|
+
Layouts
|
663
|
+
</a>
|
664
|
+
</li>
|
665
|
+
|
666
|
+
|
667
|
+
<li>
|
668
|
+
<a href="/docs/permalinks/">
|
669
|
+
Permalinks
|
670
|
+
</a>
|
671
|
+
</li>
|
672
|
+
|
673
|
+
|
674
|
+
<li>
|
675
|
+
<a href="/docs/themes/">
|
676
|
+
Themes
|
677
|
+
</a>
|
678
|
+
</li>
|
679
|
+
|
680
|
+
|
681
|
+
<li class="current">
|
682
|
+
<a href="/docs/pagination/">
|
683
|
+
Pagination
|
684
|
+
</a>
|
685
|
+
</li>
|
686
|
+
|
687
|
+
</ul>
|
767
688
|
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
689
|
+
<h4>Guides</h4>
|
690
|
+
<ul>
|
691
|
+
|
692
|
+
|
693
|
+
<li>
|
694
|
+
<a href="/docs/plugins/">
|
695
|
+
Plugins
|
696
|
+
</a>
|
697
|
+
</li>
|
698
|
+
|
699
|
+
|
700
|
+
<li>
|
701
|
+
<a href="/docs/migrations/">
|
702
|
+
Blog Migrations
|
703
|
+
</a>
|
704
|
+
</li>
|
705
|
+
|
706
|
+
|
707
|
+
<li>
|
708
|
+
<a href="/docs/upgrading/">
|
709
|
+
Upgrading
|
710
|
+
</a>
|
711
|
+
</li>
|
712
|
+
|
713
|
+
|
714
|
+
<li>
|
715
|
+
<a href="/docs/deployment/">
|
716
|
+
Deployment
|
717
|
+
</a>
|
718
|
+
</li>
|
719
|
+
|
720
|
+
</ul>
|
789
721
|
|
790
722
|
</aside>
|
791
723
|
</div>
|
@@ -800,7 +732,8 @@ page with links to all but the current page.</p>
|
|
800
732
|
<footer>
|
801
733
|
<div class="grid">
|
802
734
|
<div class="unit one-third center-on-mobiles">
|
803
|
-
<p>
|
735
|
+
<p>Jekyll is lovingly maintained by the <a href="/team/">core team</a> of volunteers. </p>
|
736
|
+
<p>The contents of this website are <br />© 2019 under the terms of the <a href="https://github.com/jekyll/jekyll/blob/master/LICENSE">MIT License</a>.</p>
|
804
737
|
</div>
|
805
738
|
<div class="unit two-thirds align-right center-on-mobiles">
|
806
739
|
<p>
|
@@ -810,6 +743,14 @@ page with links to all but the current page.</p>
|
|
810
743
|
</a>
|
811
744
|
</p>
|
812
745
|
</div>
|
746
|
+
<div class="unit two-thirds align-right center-on-mobiles">
|
747
|
+
<p>
|
748
|
+
Jekyll is funded thanks to its
|
749
|
+
<a href="https://github.com/jekyll/jekyll#sponsors">
|
750
|
+
sponsors!
|
751
|
+
</a>
|
752
|
+
</p>
|
753
|
+
</div>
|
813
754
|
</div>
|
814
755
|
</footer>
|
815
756
|
|