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.
 
 
 

37 lines
1.1 KiB

  1. {{!< default}}
  2. {{!-- The tag above means: insert everything in this file
  3. into the {body} of the default.hbs template --}}
  4. {{!-- The big featured header, it uses blog cover image as a BG if available --}}
  5. <header class="site-header outer {{#if @blog.cover_image}}" style="background-image: url({{@blog.cover_image}}){{else}}no-cover{{/if}}">
  6. <div class="inner">
  7. <div class="site-header-content">
  8. <h1 class="site-title">
  9. {{#if @blog.logo}}
  10. <img class="site-logo" src="{{@blog.logo}}" alt="{{@blog.title}}" />
  11. {{else}}
  12. {{@blog.title}}
  13. {{/if}}
  14. </h1>
  15. <h2 class="site-description">{{@blog.description}}</h2>
  16. </div>
  17. {{> "site-nav"}}
  18. </div>
  19. </header>
  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>