From 8778126d8f3bb1cba8f6fa5e4ba4ea1088d01a39 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Sun, 8 May 2016 11:01:25 +0200 Subject: [PATCH] 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) --- partials/loop.hbs | 4 ++-- post.hbs | 2 +- tag.hbs | 10 ++++++---- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/partials/loop.hbs b/partials/loop.hbs index 7daef19..0aa0297 100644 --- a/partials/loop.hbs +++ b/partials/loop.hbs @@ -7,7 +7,7 @@ {{#foreach posts}}
-

{{{title}}}

+

{{title}}

{{excerpt words="26"}} »

@@ -16,7 +16,7 @@ {{#if author.image}}{{author.name}}{{/if}} {{author}} {{tags prefix=" on "}} - +
{{/foreach}} diff --git a/post.hbs b/post.hbs index 677e925..5d85551 100644 --- a/post.hbs +++ b/post.hbs @@ -21,7 +21,7 @@

{{title}}

diff --git a/tag.hbs b/tag.hbs index 3230191..0ed7187 100644 --- a/tag.hbs +++ b/tag.hbs @@ -10,16 +10,18 @@ {{/if}}
+ {{#tag}}
-

{{tag.name}}

+

{{name}}

- {{#if tag.description}} - {{tag.description}} + {{#if description}} + {{description}} {{else}} - A {{pagination.total}}-post collection + A {{../pagination.total}}-post collection {{/if}}

+ {{/tag}}