Refactor subheader
diff --git a/templates/archives.html b/templates/archives.html
index b2bba9b..2985f85 100644
--- a/templates/archives.html
+++ b/templates/archives.html
@@ -3,10 +3,6 @@
{% block description %}A listing of all posts on this site{% endblock %}
-{% block subheader %}
-{% include "modules/blogsubheader.html" %}
-{% endblock subheader %}
-
{% block content %}
<article>
<div class="article_text">
diff --git a/templates/article.html b/templates/article.html
index 8814aab..017a933 100644
--- a/templates/article.html
+++ b/templates/article.html
@@ -11,10 +11,6 @@
{% block title %}{{ article.title|striptags|escape }} | {{ SITENAME }}{% endblock %}
{% block description %}{{ article.title|striptags|escape }} | {{ article.content|striptags|truncate(154-article.title|length)|escape }}{% endblock %}
-{% block subheader %}
-{% include "modules/blogsubheader.html" %}
-{% endblock %}
-
{% block content %}
<article>
<div class="article_title">
diff --git a/templates/authors.html b/templates/authors.html
index f668d5e..6d4478e 100644
--- a/templates/authors.html
+++ b/templates/authors.html
@@ -3,11 +3,6 @@
{% block description %}A listing of all authors on this site{% endblock %}
-
-{% block subheader %}
-{% include "modules/blogsubheader.html" %}
-{% endblock subheader %}
-
{% block content %}
<article>
<div class="article_text">
diff --git a/templates/base.html b/templates/base.html
index 1200546..8f655e3 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -9,7 +9,6 @@
<script src="//cdnjs.cloudflare.com/ajax/libs/less.js/1.6.1/less.min.js" type="text/javascript"></script>
{% endif %}
-
{% if FUZZY_DATES %}
<script src="{{ SITEURL }}/theme/js/lw-timeago/lw-timeago.js" type="text/javascript"></script>
{% endif %}
@@ -128,8 +127,7 @@
{% endif %}
</p>
{% endblock header %}
- {% block subheader %}
- {% endblock subheader %}
+ {% block subheader %}{% include "modules/blogsubheader.html" %}{% endblock subheader %}
</header>
{% block content %}
diff --git a/templates/categories.html b/templates/categories.html
index 7dfad91..a639502 100644
--- a/templates/categories.html
+++ b/templates/categories.html
@@ -3,10 +3,6 @@
{% block description %}A listing of all categories on this site{% endblock %}
-{% block subheader %}
-{% include "modules/blogsubheader.html" %}
-{% endblock subheader %}
-
{% block content %}
<article>
<div class="article_text">
diff --git a/templates/index.html b/templates/index.html
index d45d083..1d1066f 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -2,10 +2,6 @@
{% block title %}Blog | {{ SITENAME }}{% endblock %}
-{% block subheader %}
-{% include "modules/blogsubheader.html" %}
-{% endblock subheader %}
-
{% block content %}
{% for article in articles_page.object_list %}
<article>
diff --git a/templates/page.html b/templates/page.html
index 234e973..870d13a 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -1,6 +1,8 @@
{% extends "base.html" %}
{% block title %}{{ page.title|striptags|escape }} | {{ SITENAME }}{% endblock %}
+{% block subheader %}{% endblock %}
+
{% block content %}
<article>
<div class="article_title">
diff --git a/templates/tags.html b/templates/tags.html
index e7c728a..7f567c2 100644
--- a/templates/tags.html
+++ b/templates/tags.html
@@ -3,10 +3,6 @@
{% block description %}A listing of all tags on this site{% endblock %}
-{% block subheader %}
-{% include "modules/blogsubheader.html" %}
-{% endblock subheader %}
-
{% block content %}
<article>
<div class="article_text">