weflock/page.hbs

32 lines
1 KiB
Handlebars
Raw Normal View History

{{!< default}}
2014-01-10 10:59:27 -05:00
{{! 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. }}
{{! Everything inside the #post tags pulls data from the page }}
{{#post}}
<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">
2015-02-28 07:34:58 -05:00
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="Blog Logo" /></a>{{/if}}
2015-02-28 08:00:15 -05:00
{{#if @blog.navigation}}
2015-02-28 07:34:58 -05:00
<a class="menu-button" href="#"><span class="burger">&#9776;</span><span class="word">Menu</span></a>
2015-02-27 09:48:15 -05:00
{{/if}}
</nav>
</header>
<main class="content" role="main">
<article class="{{post_class}}">
<header class="post-header">
<h1 class="post-title">{{title}}</h1>
</header>
<section class="post-content">
{{content}}
</section>
</article>
</main>
{{/post}}