Merge pull request #143 from cubb/master
Fixes to visual bugs on static pages
This commit is contained in:
commit
9a1988aa6d
1 changed files with 9 additions and 5 deletions
8
page.hbs
8
page.hbs
|
@ -3,10 +3,12 @@
|
||||||
{{! This is a page template. A page outputs content just like any other post, and has all the same
|
{{! 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. }}
|
attributes by default, but you can also customise it to behave differently if you prefer. }}
|
||||||
|
|
||||||
<nav class="main-nav clearfix">
|
<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="back-button icon-arrow-left" href="{{@blog.url}}">Home</a>
|
||||||
<a class="subscribe-button icon-feed" href="{{@blog.url}}/rss/">Subscribe</a>
|
<a class="subscribe-button icon-feed" href="{{@blog.url}}/rss/">Subscribe</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
<main class="content" role="main">
|
<main class="content" role="main">
|
||||||
|
|
||||||
|
@ -14,7 +16,9 @@
|
||||||
{{! Everything inside the #post tags pulls data from the post }}
|
{{! Everything inside the #post tags pulls data from the post }}
|
||||||
{{#post}}
|
{{#post}}
|
||||||
|
|
||||||
|
<header class="post-header">
|
||||||
<h1 class="post-title">{{title}}</h1>
|
<h1 class="post-title">{{title}}</h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
<section class="post-content">
|
<section class="post-content">
|
||||||
{{content}}
|
{{content}}
|
||||||
|
|
Loading…
Reference in a new issue