mirror of
https://github.com/andwati/andwati.com.git
synced 2026-11-26 10:28:47 +00:00
Added comments powered by utterances
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<div>
|
||||
<script src="https://utteranc.es/client.js"
|
||||
repo="andwati/andwati.com"
|
||||
issue-term="title"
|
||||
theme="gruvbox-dark"
|
||||
crossorigin="anonymous"
|
||||
async>
|
||||
</script>
|
||||
</div>
|
||||
@@ -1,5 +1,6 @@
|
||||
{% macro paginate() %}
|
||||
{% if paginator %}
|
||||
<div>
|
||||
<ul class="pagination">
|
||||
{% if paginator.previous %}
|
||||
<li class="page-item page-prev">
|
||||
@@ -21,5 +22,6 @@
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endmacro paginate %}
|
||||
|
||||
@@ -29,5 +29,7 @@
|
||||
{{ page.content | safe }}
|
||||
</article>
|
||||
</main>
|
||||
|
||||
{% include "comments.html" %}
|
||||
{% include "footer.html" %}
|
||||
{% endblock content %}
|
||||
|
||||
@@ -7,11 +7,6 @@
|
||||
<h1>Posts</h1>
|
||||
</header>
|
||||
{% for page in paginator.pages %}{{ post_macros::snippet(page=page) }}{% endfor %}
|
||||
<!--<div class="pagination">
|
||||
{% if paginator.previous %}<a href="{{ paginator.previous }}" class="page-item previous">Previous</a>{% endif %}
|
||||
{% if paginator.next %}<a href="{{ paginator.next }}" class="page-item next">Next</a>{% endif %}
|
||||
</div>
|
||||
-->
|
||||
{% if paginator %}{{ paginate_macro::paginate() }}{% endif %}
|
||||
</main>
|
||||
{% include "footer.html" %}
|
||||
|
||||
Reference in New Issue
Block a user