From 80136cc0474ae8d2da04f391b5281cfcda068c1a Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 27 Sep 2020 15:56:13 +0200 Subject: [PATCH] Update to zola v0.12.1 (#861) --- .github/workflows/build-site.yml | 4 ++-- blog/templates/first-edition/comments.html | 26 +++++++++++----------- blog/templates/first-edition/index.html | 6 ++--- blog/templates/first-edition/page.html | 4 ++-- blog/templates/macros.html | 4 ++-- blog/templates/news-section.html | 4 ++-- blog/templates/second-edition/index.html | 4 ++-- blog/templates/second-edition/page.html | 4 ++-- blog/templates/status-update-page.html | 4 ++-- blog/templates/status-update-section.html | 2 +- 10 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/build-site.yml b/.github/workflows/build-site.yml index 643109ad..59db4da6 100644 --- a/.github/workflows/build-site.yml +++ b/.github/workflows/build-site.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v1 - name: 'Download Zola' - run: curl -sL https://github.com/getzola/zola/releases/download/v0.11.0/zola-v0.11.0-x86_64-unknown-linux-gnu.tar.gz | tar zxv + run: curl -sL https://github.com/getzola/zola/releases/download/v0.12.1/zola-v0.12.1-x86_64-unknown-linux-gnu.tar.gz | tar zxv - name: "Install Python Tools" run: python -m pip install --upgrade pip setuptools wheel - name: 'Install Python Libraries' @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@v1 - name: 'Download Zola' - run: curl -sL https://github.com/getzola/zola/releases/download/v0.11.0/zola-v0.11.0-x86_64-unknown-linux-gnu.tar.gz | tar zxv + run: curl -sL https://github.com/getzola/zola/releases/download/v0.12.1/zola-v0.12.1-x86_64-unknown-linux-gnu.tar.gz | tar zxv - name: "Run zola check" run: ../zola check diff --git a/blog/templates/first-edition/comments.html b/blog/templates/first-edition/comments.html index 5ef12329..0d89e67e 100644 --- a/blog/templates/first-edition/comments.html +++ b/blog/templates/first-edition/comments.html @@ -1,29 +1,29 @@ {% macro comment(page) %} - {% if page.path == "multiboot-kernel/" %} + {% if page.path == "/multiboot-kernel/" %} {% include "first-edition/comments/multiboot-kernel.html" %} - {% elif page.path == "entering-longmode/" %} + {% elif page.path == "/entering-longmode/" %} {% include "first-edition/comments/entering-longmode.html" %} - {% elif page.path == "set-up-rust/" %} + {% elif page.path == "/set-up-rust/" %} {% include "first-edition/comments/set-up-rust.html" %} - {% elif page.path == "printing-to-screen/" %} + {% elif page.path == "/printing-to-screen/" %} {% include "first-edition/comments/printing-to-screen.html" %} - {% elif page.path == "allocating-frames/" %} + {% elif page.path == "/allocating-frames/" %} {% include "first-edition/comments/allocating-frames.html" %} - {% elif page.path == "page-tables/" %} + {% elif page.path == "/page-tables/" %} {% include "first-edition/comments/page-tables.html" %} - {% elif page.path == "remap-the-kernel/" %} + {% elif page.path == "/remap-the-kernel/" %} {% include "first-edition/comments/remap-the-kernel.html" %} - {% elif page.path == "kernel-heap/" %} + {% elif page.path == "/kernel-heap/" %} {% include "first-edition/comments/kernel-heap.html" %} - {% elif page.path == "handling-exceptions/" %} + {% elif page.path == "/handling-exceptions/" %} {% include "first-edition/comments/handling-exceptions.html" %} - {% elif page.path == "double-faults/" %} + {% elif page.path == "/double-faults/" %} {% include "first-edition/comments/double-faults.html" %} - {% elif page.path == "catching-exceptions/" %} + {% elif page.path == "/catching-exceptions/" %} {% include "first-edition/comments/catching-exceptions.html" %} - {% elif page.path == "better-exception-messages/" %} + {% elif page.path == "/better-exception-messages/" %} {% include "first-edition/comments/better-exception-messages.html" %} - {% elif page.path == "returning-from-exceptions/" %} + {% elif page.path == "/returning-from-exceptions/" %} {% include "first-edition/comments/returning-from-exceptions.html" %} {% else %} No comments. diff --git a/blog/templates/first-edition/index.html b/blog/templates/first-edition/index.html index 27cc3614..723bd2ce 100644 --- a/blog/templates/first-edition/index.html +++ b/blog/templates/first-edition/index.html @@ -19,7 +19,7 @@
Latest post: {% set latest_post = posts|last %} - {{ latest_post.title }} + {{ latest_post.title }}