aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2016-02-18 11:26:05 -0600
committerMark Felder <feld@feld.me>2016-02-18 11:26:05 -0600
commitef8b4d804534de322a5d59ed9e89cacc586d2c12 (patch)
tree0a21ce91ff703b46c1fe051c19d2e78941ae3231
parentee11f6539c31141454d6992d1085344ff0e609e3 (diff)
downloadpelican-themes-ef8b4d804534de322a5d59ed9e89cacc586d2c12.zip
pelican-themes-ef8b4d804534de322a5d59ed9e89cacc586d2c12.tar.gz
pelican-themes-ef8b4d804534de322a5d59ed9e89cacc586d2c12.tar.bz2
Fix <title> on generated pages
-rw-r--r--tuxlite_tbs/templates/archives.html2
-rw-r--r--tuxlite_tbs/templates/article.html1
-rw-r--r--tuxlite_tbs/templates/category.html2
-rw-r--r--tuxlite_tbs/templates/page.html2
-rw-r--r--tuxlite_tbs/templates/tags.html2
5 files changed, 5 insertions, 4 deletions
diff --git a/tuxlite_tbs/templates/archives.html b/tuxlite_tbs/templates/archives.html
index 20fcd87..9ec0673 100644
--- a/tuxlite_tbs/templates/archives.html
+++ b/tuxlite_tbs/templates/archives.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% block title %}{{ SITENAME }} <small>[archive]</small>{% endblock %}
+{% block title %}{{ SITENAME }} - Archives{% endblock %}
{% block content %}
<h1>Archives</h1>
diff --git a/tuxlite_tbs/templates/article.html b/tuxlite_tbs/templates/article.html
index b5f3a63..4289464 100644
--- a/tuxlite_tbs/templates/article.html
+++ b/tuxlite_tbs/templates/article.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% block title %}{{ SITENAME }} - {{ article.title }}{% endblock %}
{% block content %}
<div class='article'>
<div class="content-title">
diff --git a/tuxlite_tbs/templates/category.html b/tuxlite_tbs/templates/category.html
index 52215e6..56f8e93 100644
--- a/tuxlite_tbs/templates/category.html
+++ b/tuxlite_tbs/templates/category.html
@@ -1,2 +1,2 @@
{% extends "index.html" %}
-{% block title %}{{ SITENAME }} <small>{{ category }}</small>{% endblock %} \ No newline at end of file
+{% block title %}{{ SITENAME }} - {{ category }}{% endblock %}
diff --git a/tuxlite_tbs/templates/page.html b/tuxlite_tbs/templates/page.html
index df15a33..c4ef8bb 100644
--- a/tuxlite_tbs/templates/page.html
+++ b/tuxlite_tbs/templates/page.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% block title %} {% endblock %}
+{% block title %}{{ SITENAME }} - {{ page.title }}{% endblock %}
{% block content %}
<section id="content" class="body">
<h2 class="content-title">
diff --git a/tuxlite_tbs/templates/tags.html b/tuxlite_tbs/templates/tags.html
index 94a5fc3..3ace8d6 100644
--- a/tuxlite_tbs/templates/tags.html
+++ b/tuxlite_tbs/templates/tags.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% block title %}{{ SITENAME }} <small>[tgs]</small>{% endblock %}
+{% block title %}{{ SITENAME }} - Tags{% endblock %}
{% block content %}
<ul>
{% for tag, articles in tags|sort %}