Permalink
Browse files

Display header like path

  • Loading branch information...
1 parent 42d9494 commit b6461ebc1f8cd1f12d39f0f15872a68767aaac5a Anatoliy Chakkaev committed May 13, 2011
Showing with 6 additions and 2 deletions.
  1. +1 −1 .railway
  2. +1 −1 app/views/layouts/cms_layout.ejs
  3. +4 −0 public/stylesheets/style.css
@@ -25,7 +25,7 @@
<div class="wrap">
<div class="header">
<h1 class="title">
- <%= page.title %>
+ <a href="/">Railway</a><%= page.title !== 'Railway' ? ' / ' + page.title : '' %>
</h1>
<% if (user) { %>
<%- link_to('Edit', edit_page(page)) %>
@@ -104,6 +104,10 @@ h1.title {
font-size: 25pt;
}
+h1.title a {
+ text-decoration: none;
+}
+
.content h2 {
font-size: 18pt;
padding-top: 20px;

0 comments on commit b6461eb

Please sign in to comment.