2023-07-17 00:36:13 +01:00
|
|
|
{{!< default}}
|
|
|
|
{{!-- The tag above means: insert everything in this file into the body of the default.hbs template --}}
|
|
|
|
|
|
|
|
<main class="gh-main gh-outer">
|
|
|
|
|
|
|
|
{{#tag}}
|
2023-07-27 15:22:59 +01:00
|
|
|
<section class="gh-archive{{#if feature_image}} has-image{{/if}} gh-inner">
|
|
|
|
<header class="gh-archive-wrapper">
|
|
|
|
<h1 class="gh-article-title is-title">{{name}}</h1>
|
|
|
|
{{#if description}}
|
|
|
|
<p class="gh-article-excerpt">{{description}}</p>
|
|
|
|
{{/if}}
|
|
|
|
</header>
|
2023-07-17 00:36:13 +01:00
|
|
|
{{> "feature-image"}}
|
|
|
|
</section>
|
|
|
|
{{/tag}}
|
2023-07-27 15:22:59 +01:00
|
|
|
|
|
|
|
<section class="gh-container is-{{#match @custom.post_list_style "List"}}list{{else}}grid{{/match}}{{#if @custom.show_sidebar}} has-sidebar{{/if}}{{#if @custom.hide_images}} no-image{{/if}}">
|
2023-07-17 00:36:13 +01:00
|
|
|
<div class="gh-container-inner gh-inner">
|
2023-07-27 15:22:59 +01:00
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
<main class="gh-main">
|
|
|
|
<div class="gh-feed">
|
|
|
|
{{#foreach posts}}
|
2023-07-30 11:48:03 +01:00
|
|
|
{{> "post-card"}}
|
2023-07-17 00:36:13 +01:00
|
|
|
{{/foreach}}
|
|
|
|
</div>
|
|
|
|
</main>
|
2023-07-27 15:22:59 +01:00
|
|
|
|
|
|
|
{{#if @custom.show_sidebar}}
|
|
|
|
<aside class="gh-sidebar">
|
|
|
|
<section class="gh-about">
|
|
|
|
{{#if @site.icon}}
|
|
|
|
<img class="gh-about-icon" src="{{@site.icon}}" alt="{{@site.title}}">
|
|
|
|
{{/if}}
|
|
|
|
<h3 class="gh-about-title is-title">{{@site.title}}</h3>
|
|
|
|
{{#if @site.description}}
|
|
|
|
<p class="gh-about-description is-body">{{@site.description}}</p>
|
|
|
|
{{/if}}
|
|
|
|
{{#if @site.members_enabled}}
|
|
|
|
{{#unless @member}}
|
|
|
|
<button class="gh-button">Subscribe</button>
|
|
|
|
{{/unless}}
|
|
|
|
{{/if}}
|
|
|
|
</section>
|
|
|
|
</aside>
|
|
|
|
{{/if}}
|
|
|
|
|
2023-07-17 00:36:13 +01:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
</main>
|