aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsetup.py2
-rwxr-xr-xweblog/templates/weblog/index.html2
2 files changed, 3 insertions, 1 deletions
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 %}
<div class="text-center"><h3>{% trans 'Nothing has been posted yet.' %}</h3></div>
{% endif %}
+ {% if last_page > 1 %}
{% if dynamic_load %}
<script>
var current_page = {{ current_page }};
@@ -172,4 +173,5 @@
{% endif %}
</script>
{% endif %}
+ {% endif %}
{% endblock %}