mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-12-22 19:47:38 +00:00
2f45eda1ca
Replaces all instances of alt="Blog Image" with alt="{{@blog.title}}" and alt="Author Image" with alt="{{@author}}"
33 lines
1.3 KiB
Handlebars
33 lines
1.3 KiB
Handlebars
{{!< default}}
|
|
{{! The tag above means - insert everything in this file into the {body} of the default.hbs template }}
|
|
|
|
{{! If we have a tag cover, display that - else blog cover - else nothing }}
|
|
<header class="main-header tag-head {{#if tag.image}}" style="background-image: url({{tag.image}}){{else}}{{#if @blog.cover}}" style="background-image: url({{@blog.cover}}){{else}}no-cover{{/if}}{{/if}}">
|
|
<nav class="main-nav overlay clearfix">
|
|
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>{{/if}}
|
|
{{#if @blog.navigation}}
|
|
<a class="menu-button icon-menu" href="#"><span class="word">Menu</span></a>
|
|
{{/if}}
|
|
</nav>
|
|
<div class="vertical">
|
|
<div class="main-header-content inner">
|
|
<h1 class="page-title">{{tag.name}}</h1>
|
|
<h2 class="page-description">
|
|
{{#if tag.description}}
|
|
{{tag.description}}
|
|
{{else}}
|
|
A {{pagination.total}}-post collection
|
|
{{/if}}
|
|
</h2>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
{{! The main content area on the homepage }}
|
|
<main class="content" role="main">
|
|
|
|
{{! The tag below includes the post loop - partials/loop.hbs }}
|
|
{{> "loop"}}
|
|
|
|
</main>
|