Skip to content

Commit

Permalink
use blog config struct for title / author display
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Wiggins committed Nov 4, 2008
1 parent 173a506 commit 517a6ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions views/index.erb
@@ -1,14 +1,14 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>a tornado of razorblades</title>
<title><%= Blog.title %></title>
<link href="/main.css" rel="stylesheet" type="text/css" />
<link href="/feed" rel="alternate" title="Primary Feed" type="application/atom+xml" />
</head>
<body>
<div id="header">
<div id="logo">
<h1><a href="/">a tornado of razorblades</a></h1>
<h1><a href="/"><%= Blog.title %></a></h1>
<p>by adam @ heroku</p>
</div>
</div>
Expand Down Expand Up @@ -54,7 +54,7 @@

<div id="footer">
<p id="legal">
Content by Adam Wiggins |
Content by <%= Blog.author %> |
Design adapted from <a href="http://www.freecsstemplates.org/preview/replenish">Replenish</a>
</div>
</body>
Expand Down
6 changes: 3 additions & 3 deletions views/layout.erb
@@ -1,13 +1,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><%= @title || 'a tornado of razorblades' %></title>
<title><%= @title || Blog.title %></title>
<link href="/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">
<div id="logo2">
<h1><a href="/">a tornado of razorblades</a></h1>
<h1><a href="/"><%= Blog.title %></a></h1>
<p>by adam @ heroku</p>
</div>
</div>
Expand All @@ -18,7 +18,7 @@

<div id="footer">
<p id="legal">
Content by Adam Wiggins |
Content by <%= Blog.author %> |
Design adapted from <a href="http://www.freecsstemplates.org/preview/replenish">Replenish</a>
</div>
</body>
Expand Down

0 comments on commit 517a6ba

Please sign in to comment.