Move macros

Each edition now has their own macros, so create a macros.html for the third edition too. Since the utterances theme differs between editions, we need to move it from snippets.html to the edition-specific macros.html too.
This commit is contained in:
Philipp Oppermann
2021-01-03 15:03:49 +01:00
parent ae4c53fa75
commit d56f51a2d3
10 changed files with 107 additions and 83 deletions

View File

@@ -1,6 +1,7 @@
{% extends "edition-3/base.html" %}
{% import "macros.html" as macros %}
{% import "edition-3/macros.html" as macros %}
{% import "snippets.html" as snippets %}
{% block title %}{{ page.title }} | {{ config.title }}{% endblock title %}
{% block header %}
@@ -80,7 +81,7 @@
<div class="post-footer-support">
<h2>Support Me</h2>
{% include "support.html" %}
{{ snippets::support() }}
</div>
<hr>
@@ -103,7 +104,7 @@
</p>
{% endif %}
{{ macros::utterances_edition_3() }}
{{ macros::utterances() }}
</section>
<aside class="page-aside-right">