aboutsummaryrefslogtreecommitdiff
path: root/weblog/templates
diff options
context:
space:
mode:
Diffstat (limited to 'weblog/templates')
-rwxr-xr-xweblog/templates/weblog/index.html6
1 files changed, 5 insertions, 1 deletions
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 %}