Reorder hero on image variant

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-10-27 12:29:14 +00:00
parent 10495003c1
commit a4a024f654
7 changed files with 49 additions and 16 deletions

View File

@@ -6,13 +6,19 @@
{{#match @page.show_title_and_feature_image}}
<header class="gh-article-header gh-canvas">
{{#match @custom.mode "Image-based"}}
{{> common/feature-image}}
{{/match}}
<h1 class="gh-article-title">{{title}}</h1>
{{#if custom_excerpt}}
<p class="gh-article-excerpt">{{custom_excerpt}}</p>
{{/if}}
{{#match @custom.mode "Text-based"}}
{{> common/feature-image}}
{{/match}}
</header>
{{/match}}