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

page.hbs 755B

1234567891011121314151617181920212223242526
  1. {{!< default}}
  2. {{!-- This is a page template. A page outputs content just like any other post, and has all the same
  3. attributes by default, but you can also customise it to behave differently if you prefer. --}}
  4. {{> "header" }}
  5. {{!-- Everything inside the #post tags pulls data from the page --}}
  6. {{#post}}
  7. <header class="main-header post-head {{#if feature_image}}" style="background-image: url({{feature_image}}){{else}}no-cover{{/if}}">
  8. </header>
  9. <main class="content" role="main">
  10. <article class="{{post_class}}">
  11. <header class="post-header">
  12. <h1 class="post-title">{{title}}</h1>
  13. </header>
  14. <section class="post-content">
  15. {{content}}
  16. </section>
  17. </article>
  18. </main>
  19. {{/post}}