Clear up header

This commit is contained in:
David Darnes 2019-11-06 17:58:03 +07:00
parent 79c9548fef
commit 54cb1d4d70
3 changed files with 35 additions and 11 deletions

View file

@ -3,6 +3,18 @@
{{#post}}
<article class="gh-page {{post_class}} {{#unless feature_image}}no-image{{/unless}}">
<header class="gh-header gh-canvas">
{{#if feature_image}}
<img class="gh-image" src="{{feature_image}}" alt="{{title}}" />
{{/if}}
<h1 class="gh-title">{{title}}</h1>
{{#if custom_excerpt}}
<p class="gh-excerpt">{{custom_excerpt}}</p>
{{/if}}
</header>
<div class="gh-content gh-canvas">
{{content}}
</div>