Merge pull request #143 from cubb/master

Fixes to visual bugs on static pages
This commit is contained in:
John O'Nolan 2014-10-29 18:31:04 +01:00
commit 9a1988aa6d
1 changed files with 9 additions and 5 deletions

View File

@ -3,10 +3,12 @@
{{! This is a page template. A page outputs content just like any other post, and has all the same
attributes by default, but you can also customise it to behave differently if you prefer. }}
<nav class="main-nav clearfix">
<a class="back-button icon-arrow-left" href="{{@blog.url}}">Home</a>
<a class="subscribe-button icon-feed" href="{{@blog.url}}/rss/">Subscribe</a>
</nav>
<header class="main-header post-head {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}">
<nav class="main-nav {{#if image}}overlay{{/if}} clearfix">
<a class="back-button icon-arrow-left" href="{{@blog.url}}">Home</a>
<a class="subscribe-button icon-feed" href="{{@blog.url}}/rss/">Subscribe</a>
</nav>
</header>
<main class="content" role="main">
@ -14,7 +16,9 @@
{{! Everything inside the #post tags pulls data from the post }}
{{#post}}
<h1 class="post-title">{{title}}</h1>
<header class="post-header">
<h1 class="post-title">{{title}}</h1>
</header>
<section class="post-content">
{{content}}