Use post url for finding utterances issue

This commit is contained in:
Philipp Oppermann
2018-06-27 12:07:11 +02:00
parent 83873ab54b
commit 56c9b0e41a
4 changed files with 18 additions and 18 deletions

View File

@@ -7,3 +7,12 @@
</div>
</article>
{% endmacro post_link %}
{% macro utterances() %}
<script src="https://utteranc.es/client.js"
repo="phil-opp/blog_os"
issue-term="url"
crossorigin="anonymous"
async>
</script>
{% endmacro utterances %}

View File

@@ -1,5 +1,7 @@
{% extends "second-edition/base.html" %}
{% import "macros.html" as macros %}
{% block title %}{{ page.title }} | {{ config.title }}{% endblock title %}
{% block main %}
@@ -15,12 +17,7 @@
<hr>
<section>
<h2 id="comments">Comments</h2>
<script src="https://utteranc.es/client.js"
repo="phil-opp/blog_os"
branch="master"
issue-term="pathname"
async>
</script>
{{ macros::utterances() }}
</section>
{% endblock after_main %}

View File

@@ -1,5 +1,7 @@
{% extends "second-edition/base.html" %}
{% import "macros.html" as macros %}
{% block title %}{{ page.title }} | {{ config.title }}{% endblock title %}
{% block main %}
@@ -14,11 +16,6 @@
<hr>
<section>
<h2>Comments</h2>
<script src="https://utteranc.es/client.js"
repo="phil-opp/blog_os"
branch="master"
issue-term="pathname"
async>
</script>
{{ macros::utterances() }}
</section>
{% endblock after_main %}

View File

@@ -1,5 +1,7 @@
{% extends "second-edition/base.html" %}
{% import "macros.html" as macros %}
{% block title %}{{ page.title }} | {{ config.title }}{% endblock title %}
{% block main %}
@@ -38,12 +40,7 @@
<hr>
<section>
<h2 id="comments">Comments</h2>
<script src="https://utteranc.es/client.js"
repo="phil-opp/blog_os"
branch="master"
issue-term="pathname"
async>
</script>
{{ macros::utterances() }}
</section>
{% endblock after_main %}