projects
/
rnaseq-cwl-training.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #181 from rgaiacs/styles-offline
[rnaseq-cwl-training.git]
/
bin
/
lesson_initialize.py
diff --git
a/bin/lesson_initialize.py
b/bin/lesson_initialize.py
index 513597a40cd144186811f40528a344dd1237903b..bf0ba17c5b1a85eff07be16a53d753d125bab2b2 100755
(executable)
--- a/
bin/lesson_initialize.py
+++ b/
bin/lesson_initialize.py
@@
-222,9
+222,10
@@
start_time: 0
collections:
episodes:
output: true
collections:
episodes:
output: true
- permalink: /:path/
+ permalink: /:path/
index.html
extras:
output: true
extras:
output: true
+ permalink: /:path/index.html
# Set the default layout for things in the episodes collection.
defaults:
# Set the default layout for things in the episodes collection.
defaults:
@@
-249,6
+250,7
@@
ROOT_INDEX_MD = '''\
---
layout: lesson
root: .
---
layout: lesson
root: .
+permalink: index.html # Is the only page that don't follow the partner /:path/index.html
---
FIXME: home page introduction
---
FIXME: home page introduction
@@
-261,7
+263,6
@@
FIXME: home page introduction
ROOT_REFERENCE_MD = '''\
---
layout: reference
ROOT_REFERENCE_MD = '''\
---
layout: reference
-permalink: /reference/
---
## Glossary
---
## Glossary
@@
-273,15
+274,13
@@
ROOT_SETUP_MD = '''\
---
layout: page
title: Setup
---
layout: page
title: Setup
-permalink: /setup/
---
FIXME
'''
---
FIXME
'''
-ROOT_
SETUP
_MD = '''\
+ROOT_
AIO
_MD = '''\
---
layout: page
---
layout: page
-permalink: /aio/
---
<script>
window.onload = function() {
---
<script>
window.onload = function() {
@@
-335,7
+334,6
@@
EXTRAS_ABOUT_MD = '''\
---
layout: page
title: About
---
layout: page
title: About
-permalink: /about/
---
{% include carpentries.html %}
'''
---
{% include carpentries.html %}
'''
@@
-344,7
+342,6
@@
EXTRAS_DISCUSS_MD = '''\
---
layout: page
title: Discussion
---
layout: page
title: Discussion
-permalink: /discuss/
---
FIXME
'''
---
FIXME
'''
@@
-353,7
+350,6
@@
EXTRAS_FIGURES_MD = '''\
---
layout: page
title: Figures
---
layout: page
title: Figures
-permalink: /figures/
---
{% include all_figures.html %}
'''
---
{% include all_figures.html %}
'''
@@
-362,7
+358,6
@@
EXTRAS_GUIDE_MD = '''\
---
layout: page
title: "Instructor Notes"
---
layout: page
title: "Instructor Notes"
-permalink: /guide/
---
FIXME
'''
---
FIXME
'''