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

@@ -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>