showcase/_layouts/post.html

124 lines
4 KiB
HTML
Raw Normal View History

2023-07-22 13:34:09 -04:00
---
layout: default
disqus: false
archive: false
post_class: post-template
---
<!-- Begin Article
================================================== -->
<div class="row">
<!-- Post -->
{% assign author = site.authors[page.author] %}
<div class="col-sm-8">
<!-- Post Featured Image -->
{% if page.image %}<img class="featured-image img-fluid rounded" src="{{ page.image }}" alt="{{ page.title }}">{% endif %}
2023-07-22 13:34:09 -04:00
<!-- End Featured Image -->
<div class="mainheading">
<!-- Post Categories -->
<div class="after-post-tags">
<ul class="tags">
{% assign sortedCategories = page.categories | sort %}
{% for category in sortedCategories %}
<li>
<a href="{{ site.baseurl }}/categories/#{{ category | slugify }}">{{ category }}</a>
</li>
{% endfor %}
</ul>
</div>
<!-- End Categories -->
<!-- Post Title -->
<h1 class="posttitle">{{ page.title }}</h1>
</div>
<!-- Post Content -->
<div class="article-post serif-font">
{{content}}
<div class="clearfix"></div>
</div>
2023-08-04 06:20:57 -04:00
{% include social.html %}
2023-07-22 13:34:09 -04:00
<!-- Post Date -->
<p>
<small>
2023-08-04 06:20:57 -04:00
</br>
<span>Published on: </span>
2023-07-22 13:34:09 -04:00
<span class="post-date"><time class="post-date" datetime="{{ page.date | date:"%Y-%m-%d" }}">{{ page.date | date_to_string }}</time></span>
{% if page.last_modified_at %}
(Updated: <time datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="dateModified">{{ page.last_modified_at | date: "%b %-d, %Y" }}</time>)
{% endif %}
</small>
</p>
<!-- Prev/Next -->
<div class="row PageNavigation mt-4 prevnextlinks d-flex justify-content-between">
{% if page.previous.url %}
<div class="col-md-6 rightborder pl-0">
<a class="thepostlink" href="{{page.previous.url | absolute_url}}">&laquo; {{page.previous.title}}</a>
</div>
{% endif %}
{% if page.next.url %}
<div class="col-md-6 text-right pr-0">
<a class="thepostlink" href="{{page.next.url | absolute_url}}">{{page.next.title}} &raquo;</a>
</div>
{% endif %}
</div>
<!-- End Prev/Next -->
<!-- Author Box -->
{% if page.author %}
<div class="row post-top-meta">
<div class="col-md-2" style="text-align:center;">
2023-07-22 13:34:09 -04:00
<img class="author-thumb" src="{{site.baseurl}}/{{author.avatar}}" alt="{{ author.display_name }}">
</div>
<div class="col-md-10">
2023-07-23 10:44:46 -04:00
<a target="_blank" class="link-dark" href="{{ author.web }}">{{ author.display_name }}</a>
<!-- <a target="_blank" href="{{ author.twitter }}" class="btn follow">Follow</a> -->
2023-07-22 13:34:09 -04:00
<span class="author-description">{{ author.description }}</span>
</div>
</div>
{% endif %}
<!-- Begin Comments
================================================== -->
<section>
<div id="comments">
{% include disqus.html %}
</div>
</section>
<!--End Comments
================================================== -->
</div>
<!-- End Post -->
<!-- Sidebar -->
<div class="col-sm-4">
{% include sidebar.html %}
</div>
</div>
<!-- End Article
================================================== -->