mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Use post url for finding utterances issue
This commit is contained in:
@@ -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 %}
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user