X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=page-tag.hbs;fp=page-tag.hbs;h=fcd415edf4947394a3492bf0d3caadec9bf210b0;hb=b26b41933237bc40259b6e4751a9ffb26a3551c0;hp=0000000000000000000000000000000000000000;hpb=842d703b029d8eddf7e88dff82e25026c42e9c6b;p=editorial.git diff --git a/page-tag.hbs b/page-tag.hbs new file mode 100644 index 0000000..fcd415e --- /dev/null +++ b/page-tag.hbs @@ -0,0 +1,56 @@ +{{!< default}} +{{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}} + +{{!-- The big featured header, it uses blog cover image as a BG if available --}} +{{#post}} + +
+ + +
+

{{title}}

+
+ + {{#if feature_image}} +
{{title}}
+ {{/if}} + +
+ {{#get 'tags' limit='all' include='count.posts' order='count.posts desc'}} + {{#foreach tags}} + {{!-- The tag below includes the markup for each tag - partials/tag-card.hbs --}} + {{> "tag-card"}} + {{/foreach}} + {{/get}} +
+ +
+ + + +{{!-- The main content area --}} +{{!-- +
+ +
+
+ {{#get 'tags' limit='all' include='count.posts' order='count.posts desc'}} + {{#foreach tags}} + {{> "tag-card"}} + {{/foreach}} + {{/get}} +
+
+
+--}} +{{/post}}