aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsetup.py2
-rwxr-xr-xweblog/templates/weblog/index.html6
2 files changed, 6 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index b6311d7..8aafbe5 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.4.0',
+ version='0.4-testing.11',
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 7231cf7..a73844f 100755
--- a/weblog/templates/weblog/index.html
+++ b/weblog/templates/weblog/index.html
@@ -25,8 +25,12 @@
<h1>{% blocktrans with category_name=category.name context 'Posts from archive (year/month,year)' %}Posts from {{ year }}{% endblocktrans %}</h1>
{% endif %}
{% else %}
+{% if home_title %}
+<h2>{{ home_title }}</h2>
+{% else %}
<h1>{{ blog_title }} - {% trans "Home" context "Home page" %}</h1>
{% endif %}
+{% endif %}
{% if posts or pinned_posts %}
{% if pinned_posts %}
{% for post in pinned_posts %}
@@ -97,6 +101,6 @@
{% endif %}
{% endif %}
{% else %}
- <div class="text-center"><h2>{% trans 'Nothing has been posted yet.' %}</h2></div>
+ <div class="text-center"><h3>{% trans 'Nothing has been posted yet.' %}</h3></div>
{% endif %}
{% endblock %}