2024-02-12 12:39:05 +00:00
|
|
|
<article class="single {{post_class}}">
|
|
|
|
|
|
|
|
{{#match @page.show_title_and_feature_image}}
|
2024-09-15 21:39:51 +00:00
|
|
|
<header class="single-header gh-canvas">
|
|
|
|
{{#is "post"}}
|
|
|
|
<div class="single-meta">
|
|
|
|
<!--
|
2024-02-12 12:39:05 +00:00
|
|
|
<span class="single-meta-item single-meta-date">
|
|
|
|
<time datetime="{{date format="YYYY-MM-DD"}}">
|
|
|
|
{{date published_at}}
|
|
|
|
</time>
|
|
|
|
</span>
|
2024-02-12 12:42:26 +00:00
|
|
|
-->
|
2024-09-15 21:39:51 +00:00
|
|
|
<span class="single-meta-item single-meta-length">
|
|
|
|
{{reading_time}}
|
|
|
|
</span>
|
|
|
|
{{#primary_tag}}
|
|
|
|
<span class="single-meta-item single-meta-tag">
|
|
|
|
<a class="post-tag post-tag-{{slug}}" href="{{url}}">{{name}}</a>
|
|
|
|
</span>
|
|
|
|
{{/primary_tag}}
|
|
|
|
</div>
|
|
|
|
{{/is}}
|
2024-02-12 12:39:05 +00:00
|
|
|
|
2024-09-15 21:39:51 +00:00
|
|
|
<h1 class="single-title">{{title}}</h1>
|
2024-02-12 12:39:05 +00:00
|
|
|
|
2024-09-15 21:39:51 +00:00
|
|
|
{{#if custom_excerpt}}
|
|
|
|
<div class="single-excerpt">
|
|
|
|
{{custom_excerpt}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
<div
|
|
|
|
id="order-detail-rose-ash-shop"
|
|
|
|
hx-get="order"
|
|
|
|
hx-trigger="load delay:1ms, paid from:body"
|
|
|
|
hx-on::config-request="event.detail.path = new URLSearchParams(window.location.search).get('order') ? 'shop/order/' + new URLSearchParams(window.location.search).get('order')+ '/?embed=true' : null; //6a919002-94eb-467d-a226-5dd05b7f44a3 '"
|
|
|
|
hx-on::confirm = " if (!new URLSearchParams(window.location.search).get('order')) { event.preventDefault(); }"
|
|
|
|
hx-swap="innerHTML"
|
|
|
|
|
|
|
|
>
|
|
|
|
</div>
|
2024-02-12 12:39:05 +00:00
|
|
|
|
2024-09-15 21:39:51 +00:00
|
|
|
{{#if feature_image}}
|
|
|
|
{{#unless no_image}}
|
|
|
|
<figure class="single-media kg-width-{{width}}">
|
|
|
|
<img srcset="{{> "srcset"}}" sizes="(min-width: 1023px) 920px, calc(90vw)" src="{{img_url feature_image size="l"}}" alt="{{#if feature_image_alt}}{{feature_image_alt}}{{else}}{{title}}{{/if}}">
|
|
|
|
{{#if feature_image_caption}}
|
|
|
|
<figcaption>{{feature_image_caption}}</figcaption>
|
|
|
|
{{/if}}
|
|
|
|
</figure>
|
|
|
|
{{/unless}}
|
2024-02-12 12:39:05 +00:00
|
|
|
{{/if}}
|
2024-09-15 21:39:51 +00:00
|
|
|
</header>
|
2024-02-12 12:39:05 +00:00
|
|
|
{{/match}}
|
|
|
|
|
|
|
|
<div class="single-content gh-content gh-canvas">
|
|
|
|
{{content}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#is "post"}}
|
|
|
|
<div class="gh-canvas">
|
2024-09-15 21:39:51 +00:00
|
|
|
<footer class="single-footer">
|
2024-02-12 12:39:05 +00:00
|
|
|
|
2024-09-15 21:39:51 +00:00
|
|
|
<div class="single-footer-left">
|
|
|
|
{{#prev_post}}
|
|
|
|
<div class="navigation navigation-previous">
|
|
|
|
<a class="navigation-link" href="{{url}}" aria-label="Previous post">
|
|
|
|
<span class="navigation-icon">{{> "icons/arrow-left"}}</span>
|
|
|
|
</a>
|
2024-02-12 12:39:05 +00:00
|
|
|
</div>
|
2024-09-15 21:39:51 +00:00
|
|
|
{{/prev_post}}
|
|
|
|
</div>
|
2024-02-12 12:39:05 +00:00
|
|
|
|
2024-09-15 21:39:51 +00:00
|
|
|
<div class="single-footer-middle">
|
|
|
|
{{#if @custom.show_author}}
|
|
|
|
<div class="single-footer-top">
|
|
|
|
<h3 class="single-footer-title">Published by:</h3>
|
|
|
|
<div class="author-list">
|
|
|
|
{{#foreach authors}}
|
2024-02-12 12:39:05 +00:00
|
|
|
<div class="author-image-placeholder u-placeholder square">
|
|
|
|
<a href="{{url}}" title="{{name}}">
|
|
|
|
{{#if profile_image}}
|
2024-09-15 21:39:51 +00:00
|
|
|
<img class="author-image u-object-fit" src="{{img_url profile_image size="xs"}}" alt="{{name}}" loading="lazy">
|
2024-02-12 12:39:05 +00:00
|
|
|
{{else}}
|
2024-09-15 21:39:51 +00:00
|
|
|
<span class="u-object-fit">{{> "icons/avatar"}}</span>
|
2024-02-12 12:39:05 +00:00
|
|
|
{{/if}}
|
|
|
|
</a>
|
|
|
|
</div>
|
2024-09-15 21:39:51 +00:00
|
|
|
{{/foreach}}
|
2024-02-12 12:39:05 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-09-15 21:39:51 +00:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
2024-02-12 12:39:05 +00:00
|
|
|
|
2024-09-15 21:39:51 +00:00
|
|
|
<div class="single-footer-right">
|
|
|
|
{{#next_post}}
|
|
|
|
<div class="navigation navigation-next">
|
|
|
|
<a class="navigation-link" href="{{url}}" aria-label="Next post">
|
|
|
|
<span class="navigation-icon">{{> "icons/arrow-right"}}</span>
|
|
|
|
</a>
|
2024-02-12 12:39:05 +00:00
|
|
|
</div>
|
2024-09-15 21:39:51 +00:00
|
|
|
{{/next_post}}
|
2024-02-12 12:39:05 +00:00
|
|
|
</div>
|
2024-09-15 21:39:51 +00:00
|
|
|
</footer>
|
|
|
|
<div id="configure-product" name="configure-product" hx-get="shop/configure?embed" hx-trigger="load">
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
id="orders-rose-ash-shop"
|
|
|
|
hx-get="shop/orders"
|
|
|
|
hx-trigger="load, paid from:body, configured from:body"
|
|
|
|
hx-swap="innerHTML"
|
|
|
|
>
|
|
|
|
</div>
|
2024-02-12 12:39:05 +00:00
|
|
|
</div>
|
|
|
|
{{/is}}
|
|
|
|
|
|
|
|
</article>
|