Skip to content

Commit

Permalink
handle pages without title
Browse files Browse the repository at this point in the history
--HG--
branch : jekyll
  • Loading branch information
christianspecht committed Dec 22, 2013
1 parent 660402c commit 3eaa6af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_layouts/default.html
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>{{ page.title }} - {{ site.authorname }}</title>
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.authorname }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Personal site of Christian Specht, software developer from Kerpen, Germany.">
<meta name="author" content="{{ site.authorname }}">
Expand Down

0 comments on commit 3eaa6af

Please sign in to comment.