Minor consistency fixups

- use a `{{#tag}}{{/tag}}` block for tag in tag.hbs
- use two braces consistently for `{{title}}`
- use double quotes consistently for attributes (quote switching is unnecessary)
This commit is contained in:
Hannah Wolfe
2016-05-08 11:01:25 +02:00
parent 09b4830398
commit 8778126d8f
3 changed files with 9 additions and 7 deletions

10
tag.hbs
View File

@@ -10,16 +10,18 @@
{{/if}}
</nav>
<div class="vertical">
{{#tag}}
<div class="main-header-content inner">
<h1 class="page-title">{{tag.name}}</h1>
<h1 class="page-title">{{name}}</h1>
<h2 class="page-description">
{{#if tag.description}}
{{tag.description}}
{{#if description}}
{{description}}
{{else}}
A {{pagination.total}}-post collection
A {{../pagination.total}}-post collection
{{/if}}
</h2>
</div>
{{/tag}}
</div>
</header>