Skip to content

Commit

Permalink
Tweak so that I get a page title, but don't display it on the home page.
Browse files Browse the repository at this point in the history
  • Loading branch information
kslgrd committed Jan 16, 2015
1 parent 2367ed9 commit bcc4c05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">

<title>{{ page.title }} | Keith Silgard</title>
<title>{{ page.title }}</title>
<meta name="description" content="{{ page.description }}">

<link rel="shortcut icon" href="http://static.keithsilgard.com/images/favicon.png">
Expand All @@ -23,13 +23,14 @@ <h3><a href="/">Keith Silgard</a></h3>
<li><a href="/articles">Articles</a></li>
<li><a href="/journal">Journal</a></li>
<li><a href="https://twitter.com/ironkeith">@Twitter</a></li>
<li><a href="http://eepurl.com/jgbR9">Mailing List</a></li>
<li><a href="/feed.xml">RSS</a></li>
</ul>
</nav>
</aside>

<div class="content">
{% if page.title != '' %}
{% if page.title != 'Keith Silgard' %}
<h1>{{ page.title }}</h1>
{% endif %}
{% if page.date %}
Expand Down
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: ""
title: "Keith Silgard"
description: This is Keith's site. He does stuff here. If you're a geek, you just might like it. If you're not, save yourself a click and move along.
---
{% for post in site.posts limit:1 %}
Expand Down

0 comments on commit bcc4c05

Please sign in to comment.