New navigation structure to make way for MU changes

This commit is contained in:
John O'Nolan
2014-07-20 16:43:44 +02:00
parent 2dafaa257a
commit 448082bd48
9 changed files with 235 additions and 137 deletions

View File

@@ -3,30 +3,23 @@
{{! 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 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}}">
{{#post}}
<header class="post-header">
<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>
<h1 class="post-title">{{{title}}}</h1>
{{#post}}
<h1 class="post-title">{{{title}}}</h1>
<section class="post-content">
{{content}}
</section>
{{/post}}
<section class="post-content">
{{content}}
</section>
{{/post}}
</article>
</main>