Custom Ghost theme for my blog, based on Casper https://www.geber.ga
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tag.hbs 1.1KB

1234567891011121314151617181920212223242526272829303132
  1. {{!< default}}
  2. {{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
  3. {{#tag}}
  4. {{> header background=feature_image}} {{!--Special header.hbs partial to generate the <header> tag--}}
  5. <div class="inner">
  6. {{> "site-nav"}}
  7. <div class="site-header-content">
  8. <h1 class="site-title">{{name}}</h1>
  9. <h2 class="site-description">
  10. {{#if description}}
  11. {{description}}
  12. {{else}}
  13. A collection of {{plural ../pagination.total empty='posts' singular='% post' plural='% posts'}}
  14. {{/if}}
  15. </h2>
  16. </div>
  17. </div>
  18. </header>
  19. {{/tag}}
  20. {{!-- The main content area --}}
  21. <main id="site-main" class="site-main outer">
  22. <div class="inner">
  23. <div class="post-feed">
  24. {{#foreach posts}}
  25. {{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
  26. {{> "post-card"}}
  27. {{/foreach}}
  28. </div>
  29. </div>
  30. </main>