From 1902be002029baf09a5d0e2b980f46a34510182c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a?= Date: Fri, 12 Oct 2018 12:48:18 +0300 Subject: fix for dynamic load with no posts to show --- setup.py | 2 +- weblog/templates/weblog/index.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0322626..7ef52b2 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='w3blog', - version='0.5.0', + version='0.5-testing.4', packages=find_packages(), include_package_data=True, license='BSD License', diff --git a/weblog/templates/weblog/index.html b/weblog/templates/weblog/index.html index 9568e9d..0f8d79a 100755 --- a/weblog/templates/weblog/index.html +++ b/weblog/templates/weblog/index.html @@ -116,6 +116,7 @@ {% else %}

{% trans 'Nothing has been posted yet.' %}

{% endif %} + {% if last_page > 1 %} {% if dynamic_load %} {% endif %} + {% endif %} {% endblock %} -- cgit v1.2.3