aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsetup.py2
-rwxr-xr-xweblog/templates/weblog/index.html4
2 files changed, 5 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index ed832a0..56c6403 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-nobs.6',
+ version='0.5-testing.0',
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 2fab730..4808ec2 100755
--- a/weblog/templates/weblog/index.html
+++ b/weblog/templates/weblog/index.html
@@ -132,7 +132,11 @@
if (current_page != last_page){
current_page++;
{% if category %}
+ {% if category == 'misc' %}
+ var url = "{% url 'weblog:GetCategoryPosts' category_slug=category nxtpage=current_page %}";
+ {% else %}
var url = "{% url 'weblog:GetCategoryPosts' category_slug=category.slug nxtpage=current_page %}";
+ {% endif %}
{% elif year %}
{% if month_num %}
var url = "{% url 'weblog:GetArchivePosts' year=year month=month_num nxtpage=current_page %}";