diff --git a/example/frontend/templates/article/details.html b/example/frontend/templates/article/details.html index 791a51f..dee9767 100644 --- a/example/frontend/templates/article/details.html +++ b/example/frontend/templates/article/details.html @@ -8,6 +8,31 @@ {% block scripts %}{{ block.super }} + {% endblock %} {% block main %} @@ -33,7 +58,7 @@

{{ article.title }}

{% if comments_count %} -

{% blocktrans with entry_title=article.title count comments_count=comments_count %}{{ comments_count }} comment to {{ entry_title }}{% plural %}{{ comments_count }} comments to {{ entry_title }}{% endblocktrans %}

+

{% blocktrans with entry_title=article.title count comments_count=comments_count %}{{ comments_count }} comment to {{ entry_title }}{% plural %}{{ comments_count }} comments to {{ entry_title }}{% endblocktrans %}

{% render_comment_list for object %} {% if not article|comments_are_open %} diff --git a/example/frontend/templates/base.html b/example/frontend/templates/base.html index 41edae0..77f7890 100644 --- a/example/frontend/templates/base.html +++ b/example/frontend/templates/base.html @@ -10,9 +10,6 @@ {% block headtitle %}{% endblock %} {% block extrahead %}{% endblock %} - {% block scripts %} - - {% endblock %} @@ -39,5 +36,8 @@ {% block main %}{% endblock %}
+ {% block scripts %} + + {% endblock %}