Skip to content
Snippets Groups Projects
Commit 2cf19b1c authored by Piers Williams's avatar Piers Williams
Browse files

Updated the index to have the new formats

parent dd0b0314
No related branches found
No related tags found
No related merge requests found
Pipeline #
{
"slides_prefix": "slides_pdf/ce810-",
"slide_types":{"Notes": "notes", "Presentation": "pres", "Handout": "handout"},
"assignments": {
"Week 1": [
{
"name": "Monday AM",
"topic": "Recap",
"links": {
"intro": "slides_pdf/ce810-intro.pres.pdf",
"slides": "slides_pdf/ce810-recap.pres.pdf"
"intro": "GEN",
"recap": "GEN"
}
},
{
"name": "Monday PM",
"topic": "Flappy Bird & Practical",
"links": {
"slides": "slides_pdf/ce810-lab-paramter.pdf"
"lab-parameter": "GEN"
}
},
{
......
......@@ -20,7 +20,13 @@
<td>
<ul class="list-inline">
{% for (title, link) in session.links.items() %}
<a href="{{link}}">{{title}}</a>
{% if link == "GEN" %}
{% for (pretty_name, name) in slide_types.items() %}
<a href="{{slides_prefix}}{{link}}{{name}}.pdf">{{pretty_name}}</a>
{% endfor %}
{% else %}
<a href="{{link}}">{{title}}</a>
{% endif %}
{% endfor %}
</ul>
</td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment