From: Vladimír Vondruš Date: Sat, 16 Dec 2017 01:03:34 +0000 (+0100) Subject: theme: more harmless reorganization. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=572bec5e44df02c1127885c0744a82d9018b9f91;p=blog.git theme: more harmless reorganization. --- diff --git a/pelican-theme/templates/archives.html b/pelican-theme/templates/archives.html index cf219696..29422b4c 100644 --- a/pelican-theme/templates/archives.html +++ b/pelican-theme/templates/archives.html @@ -1,5 +1,7 @@ {% extends "base_blog.html" %} +{% block title %}{{ M_BLOG_NAME|e }}{% endblock %} + {% block head_links %} {% if articles_page and articles_page.has_previous() %} diff --git a/pelican-theme/templates/base_blog.html b/pelican-theme/templates/base_blog.html index dfa4d1a4..856ecee6 100644 --- a/pelican-theme/templates/base_blog.html +++ b/pelican-theme/templates/base_blog.html @@ -2,8 +2,6 @@ {% if not M_BLOG_NAME %}{% set M_BLOG_NAME = SITENAME %}{% endif %} {% extends 'base.html' %} -{% block title %}{{ M_BLOG_NAME|e }}{% endblock %} - {% block main %} {% if article and article.cover %} {% else %}