Disqus script loads when needed. Fixes #9
This commit is contained in:
parent
a7e52f578d
commit
4ab4f63d64
4 changed files with 21 additions and 8 deletions
|
@ -1,6 +1,7 @@
|
|||
{% extends "blog/_base.html" %}
|
||||
{% from "macros/blog.html" import render_blog_post %}
|
||||
{% from "macros/pagination.html" import render_pagination %}
|
||||
{% from "macros/comments.html" import render_count %}
|
||||
|
||||
{% block main_content %}
|
||||
{% for child in this.pagination.items %}
|
||||
|
@ -9,3 +10,8 @@
|
|||
|
||||
<div class="center">{{ render_pagination(this.pagination) }}</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block endbody %}
|
||||
{{ super() }}
|
||||
{{ disqus_count_script() }}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue