Remove root and layout from YAML for boilerplate
authorRaniere Silva <raniere@rgaiacs.com>
Wed, 23 May 2018 12:44:08 +0000 (13:44 +0100)
committerRaniere Silva <raniere@rgaiacs.com>
Wed, 23 May 2018 12:44:08 +0000 (13:44 +0100)
bin/boilerplate/_config.yml
bin/boilerplate/_extras/about.md
bin/boilerplate/_extras/discuss.md
bin/boilerplate/_extras/figures.md
bin/boilerplate/_extras/guide.md
bin/boilerplate/aio.md
bin/boilerplate/index.md
bin/boilerplate/reference.md
bin/boilerplate/setup.md

index 566baf18eb92fafc7dba6f6d2360b996401dbf93..82eb08e2dfd872a19f439bc83a07bcc9168b34f4 100644 (file)
@@ -61,12 +61,20 @@ collections:
 # Set the default layout for things in the episodes collection.
 defaults:
   - values:
-      root: ..
+      root: .
+      layout: page
   - scope:
       path: ""
       type: episodes
     values:
+      root: ..
       layout: episode
+  - scope:
+      path: ""
+      type: extras
+    values:
+      root: ..
+      layout: page
 
 # Files and directories that are not to be copied.
 exclude:
@@ -74,4 +82,4 @@ exclude:
   - bin
 
 # Turn on built-in syntax highlighting.
-highlighter: rouge
\ No newline at end of file
+highlighter: rouge
index b6ad26b801964b7776eec7fc3b7d538986676e4f..3008972c01c7d401bcdc5b244f2c79734876d72b 100644 (file)
@@ -1,5 +1,4 @@
 ---
-layout: page
 title: About
 ---
-{% include carpentries.html %}
\ No newline at end of file
+{% include carpentries.html %}
index 0a45a0f9be59dfa863411e5f971ac92c4cf7e424..524440acb26794f53da33b097967adce752f35de 100644 (file)
@@ -1,5 +1,4 @@
 ---
-layout: page
 title: Discussion
 ---
-FIXME
\ No newline at end of file
+FIXME
index fd540ed579f5bb3d52d6def5fc39f446533d4137..b807e484d61632e3b93a5f6b9a3d2120b4f46541 100644 (file)
@@ -1,5 +1,4 @@
 ---
-layout: page
 title: Figures
 ---
 <script>
@@ -36,4 +35,4 @@ Create anchor for each one of the episodes.
 {% endcomment %}
 {% for episode in site.episodes %}
 <article id="{{ episode.url }}"></article>
-{% endfor %}
\ No newline at end of file
+{% endfor %}
index 28caf722249fcb03ec3990e2786b41d28205d2e8..da9be3781a2eb337381b38d857a9cac4f7b519e6 100644 (file)
@@ -1,5 +1,4 @@
 ---
-layout: page
 title: "Instructor Notes"
 ---
-FIXME
\ No newline at end of file
+FIXME
index 172b670a5aaafb73e85afa912dbcb58556e34d01..a418f3b45ee2c3a59950a49e5f5434cbd7dada46 100644 (file)
@@ -1,6 +1,4 @@
 ---
-layout: page
-root: .
 ---
 <script>
   window.onload = function() {
@@ -33,4 +31,4 @@ Create anchor for each one of the episodes.
 {% endcomment %}
 {% for episode in site.episodes %}
 <article id="{{ episode.url }}"></article>
-{% endfor %}
\ No newline at end of file
+{% endfor %}
index 925b239b34edc9f4a7a9b01f096f8c6351f59732..2809a1bfe6c83c70c7785c9de9e3fe30081c1326 100644 (file)
@@ -1,6 +1,6 @@
 ---
 layout: lesson
-root: .
+root: .  # Is the only page that don't follow the partner /:path/index.html
 permalink: index.html  # Is the only page that don't follow the partner /:path/index.html
 ---
 FIXME: home page introduction
@@ -8,4 +8,4 @@ FIXME: home page introduction
 > ## Prerequisites
 >
 > FIXME
-{: .prereq}
\ No newline at end of file
+{: .prereq}
index 0436d06234764b5a4b8013e1231a7fc2b1d7a460..8138fe9f7719d9a8dffac2a0199a492be3c08581 100644 (file)
@@ -1,8 +1,7 @@
 ---
 layout: reference
-root: .
 ---
 
 ## Glossary
 
-FIXME
\ No newline at end of file
+FIXME
index ba8e8f59de8c07e0ab2d62ec4ef95d1bd71b012b..b5792e643caba9e58422378e29740ab2ba52a591 100644 (file)
@@ -1,6 +1,4 @@
 ---
-layout: page
 title: Setup
-root: .
 ---
-FIXME
\ No newline at end of file
+FIXME