Skip to content

Commit

Permalink
Fix <title> on generated pages
Browse files Browse the repository at this point in the history
  • Loading branch information
feld committed Feb 18, 2016
1 parent ee11f65 commit ef8b4d8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tuxlite_tbs/templates/archives.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% block title %}{{ SITENAME }} <small>[archive]</small>{% endblock %}
{% block title %}{{ SITENAME }} - Archives{% endblock %}
{% block content %}

<h1>Archives</h1>
Expand Down
1 change: 1 addition & 0 deletions tuxlite_tbs/templates/article.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - {{ article.title }}{% endblock %}
{% block content %}
<div class='article'>
<div class="content-title">
Expand Down
2 changes: 1 addition & 1 deletion tuxlite_tbs/templates/category.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{% extends "index.html" %}
{% block title %}{{ SITENAME }} <small>{{ category }}</small>{% endblock %}
{% block title %}{{ SITENAME }} - {{ category }}{% endblock %}
2 changes: 1 addition & 1 deletion tuxlite_tbs/templates/page.html
Original file line number Diff line number Diff line change
@@ -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">
Expand Down
2 changes: 1 addition & 1 deletion tuxlite_tbs/templates/tags.html
Original file line number Diff line number Diff line change
@@ -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 %}
Expand Down

0 comments on commit ef8b4d8

Please sign in to comment.