Merge pull request #747 from phil-opp/zola-0.10.0

Update to Zola 0.10
This commit is contained in:
Philipp Oppermann
2020-02-17 10:26:32 +01:00
committed by GitHub
3 changed files with 5 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v1
- name: 'Download Zola'
run: curl -sL https://github.com/getzola/zola/releases/download/v0.9.0/zola-v0.9.0-x86_64-unknown-linux-gnu.tar.gz | tar zxv
run: curl -sL https://github.com/getzola/zola/releases/download/v0.10.0/zola-v0.10.0-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.9.0/zola-v0.9.0-x86_64-unknown-linux-gnu.tar.gz | tar zxv
run: curl -sL https://github.com/getzola/zola/releases/download/v0.10.0/zola-v0.10.0-x86_64-unknown-linux-gnu.tar.gz | tar zxv
- name: "Run zola check"
run: ../zola check

View File

@@ -14,7 +14,7 @@
<aside id="toc-aside">
<h2>Table of Contents</h2>
<ol>
{% for h2 in toc %}<li>
{% for h2 in page.toc %}<li>
<a href="#{{h2.id | safe}}">{{ h2.title | safe }}</a>
{% if h2.children %}<ol>
{% for h3 in h2.children %}<li>

View File

@@ -21,7 +21,7 @@
<aside id="toc-aside">
<h2>Table of Contents</h2>
<ol>
{% for h2 in toc %}<li>
{% for h2 in page.toc %}<li>
<a href="#{{h2.id | safe}}">{{ h2.title | safe }}</a>
{% if h2.children %}<ol>
{% for h3 in h2.children %}<li>
@@ -39,7 +39,7 @@
</div>
{% endif %}
{{ page.content | replace(from="<!-- toc -->", to=macros::toc(toc=toc)) | safe }}
{{ page.content | replace(from="<!-- toc -->", to=macros::toc(toc=page.toc)) | safe }}
<div class="post-footer-support">
<h2>Support Me</h2>