aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index 7e9a668..aa7d7bf 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -5,7 +5,15 @@
<meta charset="utf-8" name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="{{ get_url(path='style.css', cachebust=true) }}">
- <title>CHANGE ME</title>
+ {% block rss %}
+ <link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false) }}">
+ {% endblock %}
+<title>
+ {% if page.title %} {{ page.title }} | {{ config.title }}
+ {% elif section.title %} {{ section.title }} | {{ config.title }}
+ {% elif config.title %} {{ config.title }}
+ {% else %} Post {% endif %}
+</title>
</head>
<body>