Set page title based on content

This commit is contained in:
Correl Roush 2014-11-26 15:26:14 -05:00
parent 0197e98b8b
commit d621a6a3c0

View file

@ -3,7 +3,13 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1"> <meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>correl.phoenixinquis.net by correl</title> <title>
{% if page.title %}
{{ page.title }}
{% else %}
Projects and Coding Adventures
{% endif %}
</title>
<link rel="stylesheet" href="/stylesheets/styles.css"> <link rel="stylesheet" href="/stylesheets/styles.css">
<link rel="stylesheet" href="/stylesheets/blog.css"> <link rel="stylesheet" href="/stylesheets/blog.css">
<link rel="stylesheet" href="/stylesheets/pygment_trac.css"> <link rel="stylesheet" href="/stylesheets/pygment_trac.css">