X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=tag.hbs;h=49288f3170c58d21c2a783a41ad1d6e54b440a81;hb=714fb918d579b6767e2069a6152e09128757643d;hp=c6e4798fcebc0d31c1394c6ed0c2050e59adf737;hpb=7611683c757a1fc6ec09ba884c179d98d7d959e0;p=editorial.git diff --git a/tag.hbs b/tag.hbs index c6e4798..49288f3 100644 --- a/tag.hbs +++ b/tag.hbs @@ -2,46 +2,40 @@ {{!-- The tag above means: insert everything in this file into the {body} of the default.hbs template --}} -{{!-- Main --}} -
+{{!-- Tag info --}} +{{#tag}} +
+

{{name}}

+ {{#if description}} +

{{description}}

+ {{else}} +

A collection of {{plural ../pagination.total empty='posts' singular='% post' plural='% posts'}}

+ {{/if}} + {{#if feature_image}} + {{title}} + {{/if}} +
+{{/tag}} - {{!-- Tag info --}} - {{#tag}} -
-

{{name}}

- {{#if description}} -

{{description}}

- {{else}} -

A collection of {{plural ../pagination.total empty='posts' singular='% post' plural='% posts'}}

- {{/if}} - {{#if feature_image}} - {{title}} - {{/if}} -
- {{/tag}} +{{!-- Posts --}} +
- {{!-- Posts --}}
- {{#foreach posts}} {{/foreach}} -
- {{!-- Pagination --}} - {{pagination}} +
-
\ No newline at end of file +{{!-- Pagination --}} +{{pagination}}