M cogito2/templates/base.html +1 -1
@@ 2,7 2,7 @@
<html>
<head>
<meta charset="UTF-8">
- <title>{% block title %}Welcome!{% endblock %}</title>
+ <title>{% block title %}{{ get_env('OWNER_NAME', 'XXX') }}'s blog{% endblock %}</title>
<link href="{{ url_for('static', filename='css/blog.css') }}" rel="stylesheet"/>
{% block stylesheets %}{% endblock %}
</head>
M cogito2/templates/show.html +2 -0
@@ 1,5 1,7 @@
{% extends "base.html" %}
+{% block title %}{{ article.get_title() }}{% endblock %}
+
{% block body %}
<h2><span>{{ article.get_title() }}</span></h2>
<p class="date">