mirror of
https://github.com/codeninjasuk/showcase.git
synced 2024-11-25 08:58:03 -05:00
120 lines
No EOL
3.9 KiB
HTML
120 lines
No EOL
3.9 KiB
HTML
---
|
|
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="{{ site.baseurl }}/{{ page.image }}" alt="{{ page.title }}">{% endif %}
|
|
<!-- 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>
|
|
|
|
<!-- Post Date -->
|
|
<p>
|
|
<small>
|
|
<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}}">« {{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}} »</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;">
|
|
<img class="author-thumb" src="{{site.baseurl}}/{{author.avatar}}" alt="{{ author.display_name }}">
|
|
</div>
|
|
<div class="col-md-10">
|
|
<a target="_blank" class="link-dark" href="{{ author.web }}">{{ author.display_name }}</a>
|
|
<!-- <a target="_blank" href="{{ author.twitter }}" class="btn follow">Follow</a> -->
|
|
<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
|
|
================================================== --> |