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.

1234567891011121314151617181920212223242526272829303132333435
  1. {{!< default}}
  2. {{!-- The tag above means: insert everything in this file
  3. into the {body} of the default.hbs template --}}
  4. {{> header background=@site.cover_image}} {{!--Special header.hbs partial to generate the <header> tag--}}
  5. <div class="inner">
  6. <div class="site-header-content">
  7. <h1 class="site-title">
  8. {{#if @site.logo}}
  9. <img class="site-logo" src="{{img_url @site.logo size="l"}}" alt="{{@site.title}}" />
  10. {{else}}
  11. {{@site.title}}
  12. {{/if}}
  13. </h1>
  14. <h2 class="site-description">{{@site.description}}</h2>
  15. </div>
  16. {{> "site-nav"}}
  17. </div>
  18. </header>
  19. {{!-- The main content area --}}
  20. <main id="site-main" class="site-main outer">
  21. <div class="inner">
  22. <div class="post-feed">
  23. {{#foreach posts}}
  24. {{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
  25. {{> "post-card"}}
  26. {{/foreach}}
  27. </div>
  28. </div>
  29. </main>