[Debbits-commit] [SCM] Git repository for debbits branch, master, updated. 07794f93d9eff334de9213381104f61df27c144b

Ana Beatriz Guerrero ?==?UTF-8?Q?López ana at ekaia.org
Sun Mar 31 11:53:56 UTC 2013


The following commit has been merged in the master branch:
commit 07794f93d9eff334de9213381104f61df27c144b
Author: Ana Beatriz Guerrero López <ana at ekaia.org>
Date:   Sun Mar 31 13:55:32 2013 +0200

    Update templates to have blog pages with meaningfull titles.
    Thanks to Boris Pek for his suggestion.

diff --git a/theme-bits/templates/archives.html b/theme-bits/templates/archives.html
index 1520943..7c3639f 100644
--- a/theme-bits/templates/archives.html
+++ b/theme-bits/templates/archives.html
@@ -1,5 +1,10 @@
 {% extends "base.html" %}
-{% block title %}{{ SITENAME }} <small>[archive]</small>{% endblock %}
+
+{% block head %}
+{{ super() }}
+    <title>{% block windowtitle %}{{ SITENAME }} - Archives{% endblock %}</title>
+{% endblock %}
+
 {% block content %}
 
 <h1>Archives</h1>
diff --git a/theme-bits/templates/article.html b/theme-bits/templates/article.html
index 897c061..e34ac1b 100644
--- a/theme-bits/templates/article.html
+++ b/theme-bits/templates/article.html
@@ -1,4 +1,10 @@
 {% extends "base.html" %}
+
+{% block head %}
+{{ super() }}
+    <title>{% block windowtitle %}{{ SITENAME }} - {{ article.title }}{% endblock %}</title>
+{% endblock %}
+
 {% block content %}
     <div class='article'>
         <div class="content-title">
diff --git a/theme-bits/templates/author.html b/theme-bits/templates/author.html
index 3d6a6e5..a4f8a2a 100644
--- a/theme-bits/templates/author.html
+++ b/theme-bits/templates/author.html
@@ -1,2 +1,5 @@
 {% extends "index.html" %}
-{% block title %}{{ SITENAME }} <small>{{ author }}</small>{% endblock %}
+{% block head %}
+{{ super() }}
+    <title>{% block windowtitle %}{{ SITENAME }} - {{ author }}{% endblock %}</title>
+{% endblock %}
diff --git a/theme-bits/templates/page.html b/theme-bits/templates/page.html
index 8ba396f..7a46824 100644
--- a/theme-bits/templates/page.html
+++ b/theme-bits/templates/page.html
@@ -1,5 +1,9 @@
 {% extends "base.html" %}
-{% block title %} {% endblock %}
+
+{% block head %}
+{{ super() }}
+    <title>{% block windowtitle %}{{ SITENAME }} - {{ page.title }}{% endblock %}</title>
+{% endblock %}
 {% block content %}
 
 <section id="content" class="body">
diff --git a/theme-bits/templates/tag.html b/theme-bits/templates/tag.html
index ce6dcb7..7e2014f 100644
--- a/theme-bits/templates/tag.html
+++ b/theme-bits/templates/tag.html
@@ -1,2 +1,6 @@
 {% extends "index.html" %}
-{% block title %}{{ SITENAME }} <small>{{ tag }}</small>{% endblock %}
\ No newline at end of file
+
+{% block head %}
+{{ super() }}
+    <title>{% block windowtitle %}{{ SITENAME }} - {{ tag }} {% endblock %}</title>
+{% endblock %}
diff --git a/theme-bits/templates/tags.html b/theme-bits/templates/tags.html
index db1c520..e286a52 100644
--- a/theme-bits/templates/tags.html
+++ b/theme-bits/templates/tags.html
@@ -1,5 +1,10 @@
 {% extends "base.html" %}
-{% block title %}{{ SITENAME }} <small>[tgs]</small>{% endblock %}
+
+{% block head %}
+{{ super() }}
+    <title>{% block windowtitle %}{{ SITENAME }} - Tags {% endblock %}</title>
+{% endblock %}
+
 {% block content %}
 <ul>
 {% for tag, articles in tags %}

-- 
Git repository for debbits



More information about the Debbits-commit mailing list