Building a new theme for the Ghost CMS for use on https://chrg.nl

tag.hbs 892B

1234567891011121314151617181920212223242526272829303132
  1. {{!< default}}
  2. {{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
  3. {{> "header" }}
  4. <header class="main-header tag-head {{#if tag.feature_image}}" style="background-image: url({{tag.feature_image}}){{else}}no-cover{{/if}}">
  5. </header>
  6. {{!-- The main content area on the homepage --}}
  7. <main class="content" role="main">
  8. {{#tag}}
  9. <div class="main-header-content inner">
  10. <h1 class="page-title">
  11. {{name}}
  12. {{#if description}}
  13. <span class="description">{{description}}</span>
  14. {{/if}}
  15. </h1>
  16. <hr/>
  17. </div>
  18. {{/tag}}
  19. {{!-- The tag below includes the post loop - partials/loop.hbs --}}
  20. {{#if pagination.total}}
  21. {{> "loop"}}
  22. {{else}}
  23. <div class="inner"><p>There are no items in this collection.</p></div>
  24. {{/if}}
  25. </main>