mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-12-23 03:57:38 +00:00
Merge pull request #143 from cubb/master
Fixes to visual bugs on static pages
This commit is contained in:
commit
9a1988aa6d
14
page.hbs
14
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}}">
|
||||||
<a class="back-button icon-arrow-left" href="{{@blog.url}}">Home</a>
|
<nav class="main-nav {{#if image}}overlay{{/if}} clearfix">
|
||||||
<a class="subscribe-button icon-feed" href="{{@blog.url}}/rss/">Subscribe</a>
|
<a class="back-button icon-arrow-left" href="{{@blog.url}}">Home</a>
|
||||||
</nav>
|
<a class="subscribe-button icon-feed" href="{{@blog.url}}/rss/">Subscribe</a>
|
||||||
|
</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}}
|
||||||
|
|
||||||
<h1 class="post-title">{{title}}</h1>
|
<header class="post-header">
|
||||||
|
<h1 class="post-title">{{title}}</h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
<section class="post-content">
|
<section class="post-content">
|
||||||
{{content}}
|
{{content}}
|
||||||
|
Loading…
Reference in New Issue
Block a user