Vivid-Casper/page.hbs

33 lines
842 B
Handlebars
Raw Normal View History

{{!< default}}
2014-01-10 15:59:27 +00: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. }}
<main class="content" role="main">
<article class="{{post_class}}">
<header class="post-header">
2013-12-02 10:53:48 +00:00
<a class="blog-logo" href="{{@blog.url}}">
{{#if @blog.logo}}
<img src="{{@blog.logo}}" alt="Blog Logo" />
{{else}}
<span class="blog-title">{{@blog.title}}</span>
{{/if}}
</a>
</header>
{{#post}}
2014-01-10 15:59:27 +00:00
<h1 class="post-title">{{{title}}}</h1>
2014-01-10 15:59:27 +00:00
<section class="post-content">
{{content}}
</section>
{{/post}}
</article>
</main>