diff options
-rwxr-xr-x | setup.py | 2 | ||||
-rwxr-xr-x | weblog/templates/weblog/index.html | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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 %}
|