df09b7c375
Static pages were previously missing a margin on the bottom of the post-title h1. By adding <header> with a post-header class around the h1, we gain the exact same bottom margin as seen on post (non-static) pages.
28 lines
801 B
Handlebars
28 lines
801 B
Handlebars
{{!< default}}
|
|
|
|
{{! 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 no-cover 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>
|
|
|
|
<main class="content" role="main">
|
|
|
|
<article class="{{post_class}}">
|
|
{{! Everything inside the #post tags pulls data from the post }}
|
|
{{#post}}
|
|
|
|
<header class="post-header">
|
|
<h1 class="post-title">{{title}}</h1>
|
|
</header>
|
|
|
|
<section class="post-content">
|
|
{{content}}
|
|
</section>
|
|
|
|
{{/post}}
|
|
</article>
|
|
|
|
</main>
|