From 241c021f59516abcc74268ba535043db6f38d740 Mon Sep 17 00:00:00 2001 From: Justin Tan How Yuan Date: Sun, 9 May 2021 18:45:18 +0100 Subject: [PATCH] Fix erros --- _layouts/CS126.html | 10 +--------- _layouts/CS130.html | 10 +--------- cs126/part1.md | 2 +- cs126/part10.md | 2 +- cs126/part6.md | 2 +- 5 files changed, 5 insertions(+), 21 deletions(-) diff --git a/_layouts/CS126.html b/_layouts/CS126.html index 2e8a47c2..29969e84 100644 --- a/_layouts/CS126.html +++ b/_layouts/CS126.html @@ -2,15 +2,7 @@ layout: notes --- -{%- if page.part == true -%} - {% capture previous %}{{ page.prev | default: "null" }}{% endcapture %} - - {% capture nextp %}{{ page.nextt | default: "null" }}{% endcapture %} - - {% include 126/126nav.html nextt=nextp prev=previous %} - - {{ content }} -{%- elsif page.part == false -%} +{%- if page.part == false -%} 🏡CS126 Home {%- for page in site.cs126 -%} {%- if page.part == true -%} diff --git a/_layouts/CS130.html b/_layouts/CS130.html index 06b7e288..ec182431 100644 --- a/_layouts/CS130.html +++ b/_layouts/CS130.html @@ -2,15 +2,7 @@ layout: notes --- -{%- if page.part == true -%} - {% capture previous %}{{ page.prev | default: "null" }}{% endcapture %} - - {% capture nextp %}{{ page.nextt | default: "null" }}{% endcapture %} - - {% include 130/130nav.html nextt=nextp prev=previous %} - - {{ content }} -{%- elsif page.part == false -%} +{%- if page.part == false -%} 🏡CS130 Home {%- for page in site.cs118 -%} {%- if page.part == true -%} diff --git a/cs126/part1.md b/cs126/part1.md index 92caaa04..c301b8f4 100644 --- a/cs126/part1.md +++ b/cs126/part1.md @@ -3,7 +3,7 @@ layout: CS126 part: true math: true title: "Arrays and Lists" -next: part2 +nex: part2 --- diff --git a/cs126/part10.md b/cs126/part10.md index a221726c..481015e4 100644 --- a/cs126/part10.md +++ b/cs126/part10.md @@ -4,5 +4,5 @@ part: true math: true title: "Self-balancing trees" pre: part9 -next: part11 +nex: part11 --- diff --git a/cs126/part6.md b/cs126/part6.md index 13fe685d..781597b4 100644 --- a/cs126/part6.md +++ b/cs126/part6.md @@ -2,7 +2,7 @@ layout: CS126 part: true math: true -title: "" +title: "Trees" pre: part5 nex: part7 ---