Permalink
Browse files

fixed page title

don't write dash on empty page title
use right variable name for page title
  • Loading branch information...
1 parent daba058 commit 9998f9e23e31121f38db918149ebe91bd4af9100 @und3f und3f committed Feb 23, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 _layouts/default.html
View
6 _layouts/default.html
@@ -1,7 +1,11 @@
<!doctype html>
<head>
<meta charset="UTF-8">
- <title>Kiev Perl Mongers - {{ title }}</title>
+ <title>Kiev Perl Mongers
+ {% if page.title %}
+ - {{ page.title }}
+ {% endif %}
+ </title>
<link rel="stylesheet" href="bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="styles.css" type="text/css" />
<script type="text/javascript" src="jquery-1.7.1.min.js"></script>

0 comments on commit 9998f9e

Please sign in to comment.