Skip to content

Commit

Permalink
seo optimize page title
Browse files Browse the repository at this point in the history
  • Loading branch information
kblomqvist committed Mar 11, 2012
1 parent 10ed822 commit 061e231
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 3 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
title: My blog
#url: http://www.mydomain.com

markdown: rdiscount
pygments: true
#url: http://www.mydomain.com
permalink: /:year/:month/:day/:title

lsi: true
Expand Down
8 changes: 6 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

<title>{{ page.title }}</title>
{% if page.title %}
<title>{{ page.title }} &raquo; {{ site.title }}</title>
{% else %}
<title>{{ site.title }}</title>
{% endif %}
<meta name="description" content="{{ page.description }}">

<meta name="viewport" content="width=device-width,initial-scale=1">
Expand All @@ -26,7 +30,7 @@

<div id="header-container">
<header class="wrapper clearfix">
<h1 id="title">My blog</h1>
<h1 id="title">{{ site.title }}</h1>
<nav>{% include menulist.html %}</nav>
</header>
</div>
Expand Down
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
layout: default
title: My blog
description: This is the landing page
---

Expand Down

0 comments on commit 061e231

Please sign in to comment.