42 lines
2.1 KiB
Handlebars
42 lines
2.1 KiB
Handlebars
{{!< default}}
|
|
|
|
<section class="gh-about gh-outer{{#match @custom.header_section_layout "!=" "Typographic profile"}}{{#unless @site.cover_image}} no-image{{/unless}}{{else}}{{#unless @site.icon}} no-image{{/unless}}{{/match}}">
|
|
<div class="gh-about-inner gh-inner">
|
|
<div class="gh-about-content">
|
|
<div class="gh-about-content-inner">
|
|
{{#if @custom.primary_header}}
|
|
<h1 class="gh-about-primary">{{{@custom.primary_header}}}</h1>
|
|
{{/if}}
|
|
{{#if @custom.secondary_header}}
|
|
<p class="gh-about-secondary">{{{@custom.secondary_header}}}</p>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
{{#match @custom.header_section_layout "!=" "Typographic profile"}}
|
|
{{#if @site.cover_image}}
|
|
<img class="gh-about-image" src="{{@site.cover_image}}" alt="{{@site.title}}">
|
|
{{/if}}
|
|
{{else}}
|
|
{{#if @site.icon}}
|
|
<img class="gh-about-image" src="{{@site.icon}}" alt="{{@site.title}}">
|
|
{{/if}}
|
|
{{/match}}
|
|
<form class="gh-subscribe-form" action="https://lists.pcv.org.au/subscription/form" method="post">
|
|
<input id="3694e" type="checkbox" name="l" value="3694eeb7-fcd2-4ca2-963e-68263ff5d7a1" checked hidden />
|
|
<input class="gh-subscribe-input" name="email" type="email" placeholder="you@example.com" required>
|
|
<button class="gh-btn gh-primary-btn" type="submit" aria-label="Subscribe">Subscribe</button>
|
|
</form>
|
|
</div>
|
|
</section>
|
|
<hr />
|
|
|
|
<main class="gh-main gh-outer">
|
|
<div class="gh-feed gh-inner">
|
|
{{#foreach posts}}
|
|
{{> "loop"}}
|
|
{{/foreach}}
|
|
</div>
|
|
</main>
|
|
|
|
{{#contentFor "body_class"}}{{#match @custom.header_section_layout "Side by side"}} has-side-about{{/match}}{{#match @custom.header_section_layout "Large background"}}{{#if @site.cover_image}} is-head-transparent has-background-about{{else}} has-side-about{{/if}}{{/match}}{{#match @custom.header_section_layout "Typographic profile"}}{{#if @site.icon}} has-typographic-about{{else}} has-side-about{{/if}}{{/match}}{{/contentFor}}
|