Skip to content
This repository has been archived by the owner on Jan 6, 2020. It is now read-only.

Commit

Permalink
Moved comment template inclusion to index.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rarst committed Sep 12, 2014
1 parent 5ea8c03 commit 7aef992
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 4 additions & 0 deletions index.twig
Expand Up @@ -62,6 +62,10 @@
{% endloop %}
{% endblock loop %}

{% if is_singular() %}
{{ comments_template() }}
{% endif %}

{% block loop_nav loop_pagination() %}
</main>
{% endblock content %}
Expand Down
6 changes: 0 additions & 6 deletions single.twig
Expand Up @@ -5,9 +5,3 @@
<div class="page-header"><h1 class="entry-title">{{ single_post_title() }}</h1></div>
</header>
{% endblock %}

{% block loop %}
{{ parent() }}

{{ comments_template() }}
{% endblock %}

0 comments on commit 7aef992

Please sign in to comment.