48 lines
1.4 KiB
HTML
Raw Normal View History

2021-01-13 18:58:23 -05:00
---
layout: default
2022-07-26 21:59:19 -04:00
pagination:
enabled: false
2021-01-13 18:58:23 -05:00
---
{% comment %}
2022-07-26 21:59:19 -04:00
This layout is the single page of a blog post.
2021-01-13 18:58:23 -05:00
{% endcomment %}
<section id="main" class="wrapper style1">
<div class="inner">
{% unless page.layout == "posts" or page.layout == "products" %}
2022-10-15 18:28:57 -04:00
<!-- The back button on a single post -->
2022-07-26 21:59:19 -04:00
<section class="row product-cart journal">
<div class="col-12">
<a href="{{site.url}}/blog"><h5 class="button back">< Go Back</h5></a>
</div>
2022-10-15 18:28:57 -04:00
</section>
{% endunless %}
2021-01-13 18:58:23 -05:00
2022-07-26 21:59:19 -04:00
<!-- Title -->
<header class="major special journal">
<div class="hero"> <img class="image fit" src="{{ page.banner_image }}" alt="{{ page.banner_image_alt }}"> </div>
<h1>{{ page.title }}</h1>
2022-10-15 18:28:57 -04:00
<p>{{ page.subheading }}</p>
2022-07-26 21:59:19 -04:00
</header>
2021-01-13 18:58:23 -05:00
<!-- Content -->
2022-07-26 21:59:19 -04:00
<div class="content">
{{ content }}
2022-11-02 21:41:00 -04:00
{% assign author = page.author %}
2022-07-26 21:59:19 -04:00
{%- include author_card.html -%}
{%- include back-to-top.html -%}
2022-07-26 21:59:19 -04:00
<!-- Related posts collection -->
<section class="row related-items">
<div class="col-12">
<h3>More Posts</h3>
</div>
{%- assign related_posts = site.posts | where_exp:"post", "post.url != page.url" | sample:3 -%}
2022-11-02 21:41:00 -04:00
{%- include post_related.html -%}
2022-07-26 21:59:19 -04:00
</section>
<!-- A Placeholder for Community Discussion aka Comments -->
2022-07-26 21:59:19 -04:00
</div>
</div>
2021-01-13 18:58:23 -05:00
</section>