Skip to content

Commit fd893ed

Browse files
authored
Merge pull request #2 from pnbrown/patch-2
Update _config.yml
2 parents 8124ffc + fe4ddbc commit fd893ed

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

_config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ plugins:
4343
# Direct posts to specific url
4444
collections:
4545
workshop:
46+
sort_by: order
4647
output: true
4748
permalink: /:path:output_ext
4849

@@ -51,4 +52,4 @@ defaults:
5152
- scope:
5253
path: ""
5354
values:
54-
layout: workshop-stepper
55+
layout: workshop-stepper

_workshop/another-page.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Page Two # The title of the page
3-
date: 1970-01-02 # The page order is determined by date
2+
title: Page Two # The title of the page
3+
order: 2 # Page order is set by order parameter
44
---
55

66
Lorem markdownum utrumque recentes primas exercetque potentem bracchia cupit.
@@ -69,4 +69,4 @@ accedere quod: hic omnia est!
6969
Editus peraguntque et excute latratus illum fuga ad nullosque moratos profundum
7070
ad omnem non unda Acrisioneas! *Enipeus* nabat caelestique dea ora profanam
7171
**egit**. Modus cum, erat contermina cingebant fumificisque quaesita sentit
72-
tellus. Modo dura super!
72+
tellus. Modo dura super!

_workshop/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Hello World # The title of the page
3-
date: 1970-01-01 # The page order is determined by date
3+
order: 1 # Page order is set by order parameter
44
---
55

66
Lorem markdownum imitata. Causas caeli squalentia comes ictus guttura moenia,
@@ -40,4 +40,4 @@ omnibus, auras? Tanta tamen! Terras nec arbor Troiae medio Achivam factis,
4040

4141
Sine insula dicentem et victima **detrahitur** rebus praesensque ut commune
4242
Cycnum. At credunt ille adiuvet trahar; huc fit parvo semine obstrusaque longi,
43-
est raptae.
43+
est raptae.

_workshop/what-next.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: What next? # The title of the page
3-
date: 1970-01-03 # The page order is determined by date
3+
order: 3 # Page order is set by order parameter
44
---
55

66
Edit your social profile by modifying `_config.yml` to include these fields:

0 commit comments

Comments
 (0)