jekyll-docs 3.2.1 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/site/404.html +2 -2
- data/site/community/index.html +4 -4
- data/site/css/screen.css +16 -8
- data/site/docs/assets/index.html +90 -79
- data/site/docs/collections/index.html +106 -84
- data/site/docs/conduct/index.html +70 -70
- data/site/docs/configuration/index.html +143 -93
- data/site/docs/continuous-integration/index.html +137 -95
- data/site/docs/contributing/index.html +70 -70
- data/site/docs/datafiles/index.html +116 -87
- data/site/docs/deployment-methods/index.html +108 -84
- data/site/docs/drafts/index.html +75 -72
- data/site/docs/extras/index.html +74 -71
- data/site/docs/frontmatter/index.html +82 -76
- data/site/docs/github-pages/index.html +88 -83
- data/site/docs/history/index.html +185 -74
- data/site/docs/home/index.html +70 -70
- data/site/docs/installation/index.html +94 -82
- data/site/docs/migrations/index.html +70 -70
- data/site/docs/pages/index.html +80 -74
- data/site/docs/pagination/index.html +91 -76
- data/site/docs/permalinks/index.html +70 -70
- data/site/docs/plugins/index.html +142 -96
- data/site/docs/posts/index.html +117 -87
- data/site/docs/quickstart/index.html +77 -73
- data/site/docs/resources/index.html +76 -71
- data/site/docs/sites/index.html +70 -70
- data/site/docs/static-files/index.html +88 -72
- data/site/docs/structure/index.html +79 -76
- data/site/docs/templates/index.html +210 -84
- data/site/docs/themes/index.html +106 -81
- data/site/docs/troubleshooting/index.html +155 -91
- data/site/docs/upgrading/0-to-2/index.html +74 -71
- data/site/docs/upgrading/2-to-3/index.html +99 -79
- data/site/docs/upgrading/index.html +70 -70
- data/site/docs/usage/index.html +95 -80
- data/site/docs/variables/index.html +71 -72
- data/site/docs/windows/index.html +89 -77
- data/site/feed.xml +111 -35
- data/site/help/index.html +2 -2
- data/site/index.html +3 -8
- data/site/latest_version.txt +1 -1
- data/site/news/2013/05/05/jekyll-1-0-0-released/index.html +18 -6
- data/site/news/2013/05/08/jekyll-1-0-1-released/index.html +18 -6
- data/site/news/2013/05/12/jekyll-1-0-2-released/index.html +18 -6
- data/site/news/2013/06/07/jekyll-1-0-3-released/index.html +18 -6
- data/site/news/2013/07/14/jekyll-1-1-0-released/index.html +18 -6
- data/site/news/2013/07/24/jekyll-1-1-1-released/index.html +18 -6
- data/site/news/2013/07/25/jekyll-1-0-4-released/index.html +18 -6
- data/site/news/2013/07/25/jekyll-1-1-2-released/index.html +18 -6
- data/site/news/2013/09/06/jekyll-1-2-0-released/index.html +18 -6
- data/site/news/2013/09/14/jekyll-1-2-1-released/index.html +18 -6
- data/site/news/2013/10/28/jekyll-1-3-0-rc1-released/index.html +18 -6
- data/site/news/2013/11/04/jekyll-1-3-0-released/index.html +18 -6
- data/site/news/2013/11/26/jekyll-1-3-1-released/index.html +18 -6
- data/site/news/2013/12/07/jekyll-1-4-0-released/index.html +18 -6
- data/site/news/2013/12/09/jekyll-1-4-1-released/index.html +18 -6
- data/site/news/2013/12/16/jekyll-1-4-2-released/index.html +18 -6
- data/site/news/2014/01/13/jekyll-1-4-3-released/index.html +18 -6
- data/site/news/2014/03/24/jekyll-1-5-0-released/index.html +18 -6
- data/site/news/2014/03/27/jekyll-1-5-1-released/index.html +18 -6
- data/site/news/2014/05/06/jekyll-turns-2-0-0/index.html +18 -6
- data/site/news/2014/05/08/jekyll-2-0-3-released/index.html +18 -6
- data/site/news/2014/06/04/jekyll-stickers-1-dollar-stickermule/index.html +18 -6
- data/site/news/2014/06/28/jekyll-turns-21-i-mean-2-1-0/index.html +18 -6
- data/site/news/2014/07/01/jekyll-2-1-1-released/index.html +18 -6
- data/site/news/2014/07/29/jekyll-2-2-0-released/index.html +18 -6
- data/site/news/2014/08/10/jekyll-2-3-0-released/index.html +18 -6
- data/site/news/2014/09/09/jekyll-2-4-0-released/index.html +18 -6
- data/site/news/2014/11/05/jekylls-midlife-crisis-jekyll-turns-2-5-0/index.html +18 -6
- data/site/news/2014/11/09/jekyll-2-5-1-released/index.html +18 -6
- data/site/news/2014/11/12/jekyll-2-5-2-released/index.html +18 -6
- data/site/news/2014/12/17/alfredxing-welcome-to-jekyll-core/index.html +18 -6
- data/site/news/2014/12/22/jekyll-2-5-3-released/index.html +18 -6
- data/site/news/2015/01/20/jekyll-meet-and-greet/index.html +18 -6
- data/site/news/2015/01/24/jekyll-3-0-0-beta1-released/index.html +18 -6
- data/site/news/2015/02/26/introducing-jekyll-talk/index.html +18 -6
- data/site/news/2015/10/26/jekyll-3-0-released/index.html +18 -6
- data/site/news/2015/11/17/jekyll-3-0-1-released/index.html +18 -6
- data/site/news/2016/01/20/jekyll-3-0-2-released/index.html +18 -6
- data/site/news/2016/01/24/jekyll-3-1-0-released/index.html +18 -6
- data/site/news/2016/01/28/jekyll-3-1-1-released/index.html +18 -6
- data/site/news/2016/02/08/jekyll-3-0-3-released/index.html +18 -6
- data/site/news/2016/02/19/jekyll-3-1-2-released/index.html +18 -6
- data/site/news/2016/03/10/making-it-easier-to-contribute-to-jekyll/index.html +18 -6
- data/site/news/2016/04/19/jekyll-3-0-4-released/index.html +18 -6
- data/site/news/2016/04/19/jekyll-3-1-3-released/index.html +18 -6
- data/site/news/2016/04/26/jekyll-3-0-5-released/index.html +18 -6
- data/site/news/2016/05/18/jekyll-3-1-4-released/index.html +18 -6
- data/site/news/2016/05/18/jekyll-3-1-5-released/index.html +18 -6
- data/site/news/2016/05/19/jekyll-3-1-6-released/index.html +18 -6
- data/site/news/2016/06/03/update-on-jekyll-s-google-summer-of-code-projects/index.html +18 -6
- data/site/news/2016/07/26/jekyll-3-2-0-released/index.html +19 -7
- data/site/news/2016/08/02/jekyll-3-2-1-released/index.html +18 -6
- data/site/news/2016/08/24/jekyll-admin-initial-release/index.html +536 -0
- data/site/news/2016/10/06/jekyll-3-3-is-here/index.html +615 -0
- data/site/news/index.html +172 -7
- data/site/news/releases/index.html +135 -7
- data/site/sitemap.xml +8 -0
- metadata +6 -5
- data/site/README.md +0 -16
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
7
|
-
<meta name="generator" content="Jekyll v3.
|
|
7
|
+
<meta name="generator" content="Jekyll v3.3.0">
|
|
8
8
|
<link type="application/atom+xml" rel="alternate" href="https://jekyllrb.com/feed.xml" title="Jekyll • Simple, blog-aware, static sites">
|
|
9
9
|
<link rel="alternate" type="application/atom+xml" title="Recent commits to Jekyll’s master branch" href="https://github.com/jekyll/jekyll/commits/master.atom">
|
|
10
10
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<meta property="og:url" content="https://jekyllrb.com/docs/collections/">
|
|
20
20
|
<meta property="og:site_name" content="Jekyll • Simple, blog-aware, static sites">
|
|
21
21
|
<meta property="og:type" content="article">
|
|
22
|
-
<meta property="article:published_time" content="2016-
|
|
22
|
+
<meta property="article:published_time" content="2016-10-06T11:16:34-07:00">
|
|
23
23
|
<meta name="twitter:card" content="summary">
|
|
24
24
|
<meta name="twitter:site" content="@jekyllrb">
|
|
25
25
|
<meta name="google-site-verification" content="onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY">
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"@context": "http://schema.org",
|
|
29
29
|
"@type": "BlogPosting",
|
|
30
30
|
"headline": "Collections",
|
|
31
|
-
"datePublished": "2016-
|
|
31
|
+
"datePublished": "2016-10-06T11:16:34-07:00",
|
|
32
32
|
"description": "Not everything is a post or a page. Maybe you want to document the variousmethods in your open source project, members of a team, or talks at aconference. Collections allow you to define a new type of document that behavelike Pages or Posts do normally, but also have their own unique properties andnamespace.",
|
|
33
|
-
"logo": "https://jekyllrb.
|
|
33
|
+
"logo": "https://jekyllrb.com/img/logo-2x.png",
|
|
34
34
|
"url": "https://jekyllrb.com/docs/collections/"
|
|
35
35
|
}
|
|
36
36
|
</script>
|
|
@@ -114,27 +114,27 @@
|
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
|
|
117
|
-
<option value="
|
|
117
|
+
<option value="/docs/home/">Welcome</option>
|
|
118
118
|
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
<option value="
|
|
121
|
+
<option value="/docs/quickstart/">Quick-start guide</option>
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
|
|
125
|
-
<option value="
|
|
125
|
+
<option value="/docs/installation/">Installation</option>
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
|
|
129
|
-
<option value="
|
|
129
|
+
<option value="/docs/usage/">Basic Usage</option>
|
|
130
130
|
|
|
131
131
|
|
|
132
132
|
|
|
133
|
-
<option value="
|
|
133
|
+
<option value="/docs/structure/">Directory structure</option>
|
|
134
134
|
|
|
135
135
|
|
|
136
136
|
|
|
137
|
-
<option value="
|
|
137
|
+
<option value="/docs/configuration/">Configuration</option>
|
|
138
138
|
|
|
139
139
|
|
|
140
140
|
</optgroup>
|
|
@@ -143,43 +143,43 @@
|
|
|
143
143
|
|
|
144
144
|
|
|
145
145
|
|
|
146
|
-
<option value="
|
|
146
|
+
<option value="/docs/frontmatter/">Front Matter</option>
|
|
147
147
|
|
|
148
148
|
|
|
149
149
|
|
|
150
|
-
<option value="
|
|
150
|
+
<option value="/docs/posts/">Writing posts</option>
|
|
151
151
|
|
|
152
152
|
|
|
153
153
|
|
|
154
|
-
<option value="
|
|
154
|
+
<option value="/docs/drafts/">Working with drafts</option>
|
|
155
155
|
|
|
156
156
|
|
|
157
157
|
|
|
158
|
-
<option value="
|
|
158
|
+
<option value="/docs/pages/">Creating pages</option>
|
|
159
159
|
|
|
160
160
|
|
|
161
161
|
|
|
162
|
-
<option value="
|
|
162
|
+
<option value="/docs/static-files/">Static Files</option>
|
|
163
163
|
|
|
164
164
|
|
|
165
165
|
|
|
166
|
-
<option value="
|
|
166
|
+
<option value="/docs/variables/">Variables</option>
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
|
|
170
|
-
<option value="
|
|
170
|
+
<option value="/docs/collections/">Collections</option>
|
|
171
171
|
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
<option value="
|
|
174
|
+
<option value="/docs/datafiles/">Data Files</option>
|
|
175
175
|
|
|
176
176
|
|
|
177
177
|
|
|
178
|
-
<option value="
|
|
178
|
+
<option value="/docs/assets/">Assets</option>
|
|
179
179
|
|
|
180
180
|
|
|
181
181
|
|
|
182
|
-
<option value="
|
|
182
|
+
<option value="/docs/migrations/">Blog migrations</option>
|
|
183
183
|
|
|
184
184
|
|
|
185
185
|
</optgroup>
|
|
@@ -188,27 +188,27 @@
|
|
|
188
188
|
|
|
189
189
|
|
|
190
190
|
|
|
191
|
-
<option value="
|
|
191
|
+
<option value="/docs/templates/">Templates</option>
|
|
192
192
|
|
|
193
193
|
|
|
194
194
|
|
|
195
|
-
<option value="
|
|
195
|
+
<option value="/docs/permalinks/">Permalinks</option>
|
|
196
196
|
|
|
197
197
|
|
|
198
198
|
|
|
199
|
-
<option value="
|
|
199
|
+
<option value="/docs/pagination/">Pagination</option>
|
|
200
200
|
|
|
201
201
|
|
|
202
202
|
|
|
203
|
-
<option value="
|
|
203
|
+
<option value="/docs/plugins/">Plugins</option>
|
|
204
204
|
|
|
205
205
|
|
|
206
206
|
|
|
207
|
-
<option value="
|
|
207
|
+
<option value="/docs/themes/">Themes</option>
|
|
208
208
|
|
|
209
209
|
|
|
210
210
|
|
|
211
|
-
<option value="
|
|
211
|
+
<option value="/docs/extras/">Extras</option>
|
|
212
212
|
|
|
213
213
|
|
|
214
214
|
</optgroup>
|
|
@@ -217,15 +217,15 @@
|
|
|
217
217
|
|
|
218
218
|
|
|
219
219
|
|
|
220
|
-
<option value="
|
|
220
|
+
<option value="/docs/github-pages/">GitHub Pages</option>
|
|
221
221
|
|
|
222
222
|
|
|
223
223
|
|
|
224
|
-
<option value="
|
|
224
|
+
<option value="/docs/deployment-methods/">Deployment methods</option>
|
|
225
225
|
|
|
226
226
|
|
|
227
227
|
|
|
228
|
-
<option value="
|
|
228
|
+
<option value="/docs/continuous-integration/">Continuous Integration</option>
|
|
229
229
|
|
|
230
230
|
|
|
231
231
|
</optgroup>
|
|
@@ -234,23 +234,23 @@
|
|
|
234
234
|
|
|
235
235
|
|
|
236
236
|
|
|
237
|
-
<option value="
|
|
237
|
+
<option value="/docs/troubleshooting/">Troubleshooting</option>
|
|
238
238
|
|
|
239
239
|
|
|
240
240
|
|
|
241
|
-
<option value="
|
|
241
|
+
<option value="/docs/sites/">Sites using Jekyll</option>
|
|
242
242
|
|
|
243
243
|
|
|
244
244
|
|
|
245
|
-
<option value="
|
|
245
|
+
<option value="/docs/resources/">Resources</option>
|
|
246
246
|
|
|
247
247
|
|
|
248
248
|
|
|
249
|
-
<option value="
|
|
249
|
+
<option value="/docs/upgrading/0-to-2/">Upgrading from 0.x to 2.x</option>
|
|
250
250
|
|
|
251
251
|
|
|
252
252
|
|
|
253
|
-
<option value="
|
|
253
|
+
<option value="/docs/upgrading/2-to-3/">Upgrading from 2.x to 3.x</option>
|
|
254
254
|
|
|
255
255
|
|
|
256
256
|
</optgroup>
|
|
@@ -259,15 +259,15 @@
|
|
|
259
259
|
|
|
260
260
|
|
|
261
261
|
|
|
262
|
-
<option value="
|
|
262
|
+
<option value="/docs/contributing/">Contributing</option>
|
|
263
263
|
|
|
264
264
|
|
|
265
265
|
|
|
266
|
-
<option value="
|
|
266
|
+
<option value="/docs/conduct/">Code of Conduct</option>
|
|
267
267
|
|
|
268
268
|
|
|
269
269
|
|
|
270
|
-
<option value="
|
|
270
|
+
<option value="/docs/history/">History</option>
|
|
271
271
|
|
|
272
272
|
|
|
273
273
|
</optgroup>
|
|
@@ -295,23 +295,32 @@ namespace.</p>
|
|
|
295
295
|
<p>Add the following to your site’s <code class="highlighter-rouge">_config.yml</code> file, replacing <code class="highlighter-rouge">my_collection</code>
|
|
296
296
|
with the name of your collection:</p>
|
|
297
297
|
|
|
298
|
-
<
|
|
299
|
-
<
|
|
298
|
+
<div class="language-yaml highlighter-rouge">
|
|
299
|
+
<pre class="highlight"><code><span class="s">collections</span><span class="pi">:</span>
|
|
300
|
+
<span class="pi">-</span> <span class="s">my_collection</span>
|
|
301
|
+
</code></pre>
|
|
302
|
+
</div>
|
|
300
303
|
|
|
301
304
|
<p>You can optionally specify metadata for your collection in the configuration:</p>
|
|
302
305
|
|
|
303
|
-
<
|
|
306
|
+
<div class="language-yaml highlighter-rouge">
|
|
307
|
+
<pre class="highlight"><code><span class="s">collections</span><span class="pi">:</span>
|
|
304
308
|
<span class="s">my_collection</span><span class="pi">:</span>
|
|
305
|
-
<span class="s">foo</span><span class="pi">:</span> <span class="s">bar</span
|
|
309
|
+
<span class="s">foo</span><span class="pi">:</span> <span class="s">bar</span>
|
|
310
|
+
</code></pre>
|
|
311
|
+
</div>
|
|
306
312
|
|
|
307
313
|
<p>Default attributes can also be set for a collection:</p>
|
|
308
314
|
|
|
309
|
-
<
|
|
315
|
+
<div class="language-yaml highlighter-rouge">
|
|
316
|
+
<pre class="highlight"><code><span class="s">defaults</span><span class="pi">:</span>
|
|
310
317
|
<span class="pi">-</span> <span class="s">scope</span><span class="pi">:</span>
|
|
311
318
|
<span class="s">path</span><span class="pi">:</span> <span class="s2">"</span><span class="s">"</span>
|
|
312
319
|
<span class="s">type</span><span class="pi">:</span> <span class="s">my_collection</span>
|
|
313
320
|
<span class="s">values</span><span class="pi">:</span>
|
|
314
|
-
<span class="s">layout</span><span class="pi">:</span> <span class="s">page</span
|
|
321
|
+
<span class="s">layout</span><span class="pi">:</span> <span class="s">page</span>
|
|
322
|
+
</code></pre>
|
|
323
|
+
</div>
|
|
315
324
|
|
|
316
325
|
<h3 id="step-2-add-your-content">Step 2: Add your content</h3>
|
|
317
326
|
|
|
@@ -334,9 +343,12 @@ your <code>_config.yml</code> file, with the addition of the preceding <code>_</
|
|
|
334
343
|
document in your collection, set the <code class="highlighter-rouge">output</code> key to <code class="highlighter-rouge">true</code> in your collection
|
|
335
344
|
metadata in your <code class="highlighter-rouge">_config.yml</code>:</p>
|
|
336
345
|
|
|
337
|
-
<
|
|
346
|
+
<div class="language-yaml highlighter-rouge">
|
|
347
|
+
<pre class="highlight"><code><span class="s">collections</span><span class="pi">:</span>
|
|
338
348
|
<span class="s">my_collection</span><span class="pi">:</span>
|
|
339
|
-
<span class="s">output</span><span class="pi">:</span> <span class="s">true</span
|
|
349
|
+
<span class="s">output</span><span class="pi">:</span> <span class="s">true</span>
|
|
350
|
+
</code></pre>
|
|
351
|
+
</div>
|
|
340
352
|
|
|
341
353
|
<p>This will produce a file for each document in the collection.
|
|
342
354
|
For example, if you have <code class="highlighter-rouge">_my_collection/some_subdir/some_doc.md</code>,
|
|
@@ -346,10 +358,13 @@ choice and written out to <code class="highlighter-rouge"><dest>/my_collec
|
|
|
346
358
|
<p>As for posts with <a href="../permalinks/">Permalinks</a>, the document
|
|
347
359
|
URL can be customized by setting <code class="highlighter-rouge">permalink</code> metadata for the collection:</p>
|
|
348
360
|
|
|
349
|
-
<
|
|
361
|
+
<div class="language-yaml highlighter-rouge">
|
|
362
|
+
<pre class="highlight"><code><span class="s">collections</span><span class="pi">:</span>
|
|
350
363
|
<span class="s">my_collection</span><span class="pi">:</span>
|
|
351
364
|
<span class="s">output</span><span class="pi">:</span> <span class="s">true</span>
|
|
352
|
-
<span class="s">permalink</span><span class="pi">:</span> <span class="s">/awesome/:path/</span
|
|
365
|
+
<span class="s">permalink</span><span class="pi">:</span> <span class="s">/awesome/:path/</span>
|
|
366
|
+
</code></pre>
|
|
367
|
+
</div>
|
|
353
368
|
|
|
354
369
|
<p>For example, if you have <code class="highlighter-rouge">_my_collection/some_subdir/some_doc.md</code>, it will be
|
|
355
370
|
written out to <code class="highlighter-rouge"><dest>/awesome/some_subdir/some_doc/index.html</code>.</p>
|
|
@@ -606,7 +621,8 @@ one might have front matter in an individual file structured as follows (which
|
|
|
606
621
|
must use a supported markup format, and cannot be saved with a <code class="highlighter-rouge">.yaml</code>
|
|
607
622
|
extension):</p>
|
|
608
623
|
|
|
609
|
-
<
|
|
624
|
+
<div class="language-yaml highlighter-rouge">
|
|
625
|
+
<pre class="highlight"><code><span class="s">title</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Josquin:</span><span class="nv"> </span><span class="s">Missa</span><span class="nv"> </span><span class="s">De</span><span class="nv"> </span><span class="s">beata</span><span class="nv"> </span><span class="s">virgine</span><span class="nv"> </span><span class="s">and</span><span class="nv"> </span><span class="s">Missa</span><span class="nv"> </span><span class="s">Ave</span><span class="nv"> </span><span class="s">maris</span><span class="nv"> </span><span class="s">stella"</span>
|
|
610
626
|
<span class="s">artist</span><span class="pi">:</span> <span class="s2">"</span><span class="s">The</span><span class="nv"> </span><span class="s">Tallis</span><span class="nv"> </span><span class="s">Scholars"</span>
|
|
611
627
|
<span class="s">director</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Peter</span><span class="nv"> </span><span class="s">Phillips"</span>
|
|
612
628
|
<span class="s">works</span><span class="pi">:</span>
|
|
@@ -622,11 +638,15 @@ extension):</p>
|
|
|
622
638
|
<span class="pi">-</span> <span class="s">title</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Sanctus</span><span class="nv"> </span><span class="s">&</span><span class="nv"> </span><span class="s">Benedictus"</span>
|
|
623
639
|
<span class="s">duration</span><span class="pi">:</span> <span class="s2">"</span><span class="s">7:47"</span>
|
|
624
640
|
<span class="pi">-</span> <span class="s">title</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Agnus</span><span class="nv"> </span><span class="s">Dei</span><span class="nv"> </span><span class="s">I,</span><span class="nv"> </span><span class="s">II</span><span class="nv"> </span><span class="s">&</span><span class="nv"> </span><span class="s">III"</span>
|
|
625
|
-
<span class="s">duration</span><span class="pi">:</span> <span class="s2">"</span><span class="s">6:49"</span
|
|
641
|
+
<span class="s">duration</span><span class="pi">:</span> <span class="s2">"</span><span class="s">6:49"</span>
|
|
642
|
+
</code></pre>
|
|
643
|
+
</div>
|
|
626
644
|
|
|
627
645
|
<p>Every album in the collection could be listed on a single page with a template:</p>
|
|
628
646
|
|
|
629
|
-
<
|
|
647
|
+
<div class="language-html highlighter-rouge">
|
|
648
|
+
<pre class="highlight"><code>
|
|
649
|
+
{% for album in site.albums %}
|
|
630
650
|
<span class="nt"><h2></span>{{ album.title }}<span class="nt"></h2></span>
|
|
631
651
|
<span class="nt"><p></span>Performed by {{ album.artist }}{% if album.director %}, directed by {{ album.director }}{% endif %}<span class="nt"></p></span>
|
|
632
652
|
{% for work in album.works %}
|
|
@@ -638,8 +658,10 @@ extension):</p>
|
|
|
638
658
|
{% endfor %}
|
|
639
659
|
<span class="nt"></ul></span>
|
|
640
660
|
{% endfor %}
|
|
641
|
-
{% endfor %}
|
|
661
|
+
{% endfor %}
|
|
642
662
|
|
|
663
|
+
</code></pre>
|
|
664
|
+
</div>
|
|
643
665
|
|
|
644
666
|
|
|
645
667
|
|
|
@@ -714,27 +736,27 @@ extension):</p>
|
|
|
714
736
|
|
|
715
737
|
|
|
716
738
|
|
|
717
|
-
<li class=""><a href="
|
|
739
|
+
<li class=""><a href="/docs/home/">Welcome</a></li>
|
|
718
740
|
|
|
719
741
|
|
|
720
742
|
|
|
721
|
-
<li class=""><a href="
|
|
743
|
+
<li class=""><a href="/docs/quickstart/">Quick-start guide</a></li>
|
|
722
744
|
|
|
723
745
|
|
|
724
746
|
|
|
725
|
-
<li class=""><a href="
|
|
747
|
+
<li class=""><a href="/docs/installation/">Installation</a></li>
|
|
726
748
|
|
|
727
749
|
|
|
728
750
|
|
|
729
|
-
<li class=""><a href="
|
|
751
|
+
<li class=""><a href="/docs/usage/">Basic Usage</a></li>
|
|
730
752
|
|
|
731
753
|
|
|
732
754
|
|
|
733
|
-
<li class=""><a href="
|
|
755
|
+
<li class=""><a href="/docs/structure/">Directory structure</a></li>
|
|
734
756
|
|
|
735
757
|
|
|
736
758
|
|
|
737
|
-
<li class=""><a href="
|
|
759
|
+
<li class=""><a href="/docs/configuration/">Configuration</a></li>
|
|
738
760
|
|
|
739
761
|
</ul>
|
|
740
762
|
|
|
@@ -744,43 +766,43 @@ extension):</p>
|
|
|
744
766
|
|
|
745
767
|
|
|
746
768
|
|
|
747
|
-
<li class=""><a href="
|
|
769
|
+
<li class=""><a href="/docs/frontmatter/">Front Matter</a></li>
|
|
748
770
|
|
|
749
771
|
|
|
750
772
|
|
|
751
|
-
<li class=""><a href="
|
|
773
|
+
<li class=""><a href="/docs/posts/">Writing posts</a></li>
|
|
752
774
|
|
|
753
775
|
|
|
754
776
|
|
|
755
|
-
<li class=""><a href="
|
|
777
|
+
<li class=""><a href="/docs/drafts/">Working with drafts</a></li>
|
|
756
778
|
|
|
757
779
|
|
|
758
780
|
|
|
759
|
-
<li class=""><a href="
|
|
781
|
+
<li class=""><a href="/docs/pages/">Creating pages</a></li>
|
|
760
782
|
|
|
761
783
|
|
|
762
784
|
|
|
763
|
-
<li class=""><a href="
|
|
785
|
+
<li class=""><a href="/docs/static-files/">Static Files</a></li>
|
|
764
786
|
|
|
765
787
|
|
|
766
788
|
|
|
767
|
-
<li class=""><a href="
|
|
789
|
+
<li class=""><a href="/docs/variables/">Variables</a></li>
|
|
768
790
|
|
|
769
791
|
|
|
770
792
|
|
|
771
|
-
<li class="current"><a href="
|
|
793
|
+
<li class="current"><a href="/docs/collections/">Collections</a></li>
|
|
772
794
|
|
|
773
795
|
|
|
774
796
|
|
|
775
|
-
<li class=""><a href="
|
|
797
|
+
<li class=""><a href="/docs/datafiles/">Data Files</a></li>
|
|
776
798
|
|
|
777
799
|
|
|
778
800
|
|
|
779
|
-
<li class=""><a href="
|
|
801
|
+
<li class=""><a href="/docs/assets/">Assets</a></li>
|
|
780
802
|
|
|
781
803
|
|
|
782
804
|
|
|
783
|
-
<li class=""><a href="
|
|
805
|
+
<li class=""><a href="/docs/migrations/">Blog migrations</a></li>
|
|
784
806
|
|
|
785
807
|
</ul>
|
|
786
808
|
|
|
@@ -790,27 +812,27 @@ extension):</p>
|
|
|
790
812
|
|
|
791
813
|
|
|
792
814
|
|
|
793
|
-
<li class=""><a href="
|
|
815
|
+
<li class=""><a href="/docs/templates/">Templates</a></li>
|
|
794
816
|
|
|
795
817
|
|
|
796
818
|
|
|
797
|
-
<li class=""><a href="
|
|
819
|
+
<li class=""><a href="/docs/permalinks/">Permalinks</a></li>
|
|
798
820
|
|
|
799
821
|
|
|
800
822
|
|
|
801
|
-
<li class=""><a href="
|
|
823
|
+
<li class=""><a href="/docs/pagination/">Pagination</a></li>
|
|
802
824
|
|
|
803
825
|
|
|
804
826
|
|
|
805
|
-
<li class=""><a href="
|
|
827
|
+
<li class=""><a href="/docs/plugins/">Plugins</a></li>
|
|
806
828
|
|
|
807
829
|
|
|
808
830
|
|
|
809
|
-
<li class=""><a href="
|
|
831
|
+
<li class=""><a href="/docs/themes/">Themes</a></li>
|
|
810
832
|
|
|
811
833
|
|
|
812
834
|
|
|
813
|
-
<li class=""><a href="
|
|
835
|
+
<li class=""><a href="/docs/extras/">Extras</a></li>
|
|
814
836
|
|
|
815
837
|
</ul>
|
|
816
838
|
|
|
@@ -820,15 +842,15 @@ extension):</p>
|
|
|
820
842
|
|
|
821
843
|
|
|
822
844
|
|
|
823
|
-
<li class=""><a href="
|
|
845
|
+
<li class=""><a href="/docs/github-pages/">GitHub Pages</a></li>
|
|
824
846
|
|
|
825
847
|
|
|
826
848
|
|
|
827
|
-
<li class=""><a href="
|
|
849
|
+
<li class=""><a href="/docs/deployment-methods/">Deployment methods</a></li>
|
|
828
850
|
|
|
829
851
|
|
|
830
852
|
|
|
831
|
-
<li class=""><a href="
|
|
853
|
+
<li class=""><a href="/docs/continuous-integration/">Continuous Integration</a></li>
|
|
832
854
|
|
|
833
855
|
</ul>
|
|
834
856
|
|
|
@@ -838,23 +860,23 @@ extension):</p>
|
|
|
838
860
|
|
|
839
861
|
|
|
840
862
|
|
|
841
|
-
<li class=""><a href="
|
|
863
|
+
<li class=""><a href="/docs/troubleshooting/">Troubleshooting</a></li>
|
|
842
864
|
|
|
843
865
|
|
|
844
866
|
|
|
845
|
-
<li class=""><a href="
|
|
867
|
+
<li class=""><a href="/docs/sites/">Sites using Jekyll</a></li>
|
|
846
868
|
|
|
847
869
|
|
|
848
870
|
|
|
849
|
-
<li class=""><a href="
|
|
871
|
+
<li class=""><a href="/docs/resources/">Resources</a></li>
|
|
850
872
|
|
|
851
873
|
|
|
852
874
|
|
|
853
|
-
<li class=""><a href="
|
|
875
|
+
<li class=""><a href="/docs/upgrading/0-to-2/">Upgrading from 0.x to 2.x</a></li>
|
|
854
876
|
|
|
855
877
|
|
|
856
878
|
|
|
857
|
-
<li class=""><a href="
|
|
879
|
+
<li class=""><a href="/docs/upgrading/2-to-3/">Upgrading from 2.x to 3.x</a></li>
|
|
858
880
|
|
|
859
881
|
</ul>
|
|
860
882
|
|
|
@@ -864,15 +886,15 @@ extension):</p>
|
|
|
864
886
|
|
|
865
887
|
|
|
866
888
|
|
|
867
|
-
<li class=""><a href="
|
|
889
|
+
<li class=""><a href="/docs/contributing/">Contributing</a></li>
|
|
868
890
|
|
|
869
891
|
|
|
870
892
|
|
|
871
|
-
<li class=""><a href="
|
|
893
|
+
<li class=""><a href="/docs/conduct/">Code of Conduct</a></li>
|
|
872
894
|
|
|
873
895
|
|
|
874
896
|
|
|
875
|
-
<li class=""><a href="
|
|
897
|
+
<li class=""><a href="/docs/history/">History</a></li>
|
|
876
898
|
|
|
877
899
|
</ul>
|
|
878
900
|
|