speice.io/_layouts/post.html

48 lines
1.5 KiB
HTML
Raw Normal View History

2024-11-10 16:32:36 -05:00
---
layout: page
---
<article class="c-article">
<header class="c-article__header">
<h1 class="c-article__title">{{ page.title }}</h1>
<br>
<h3 class="c-article__description">{{ page.description }}</h3>
<p class="c-article__time"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time></p>
</header>
<!-- Post Tags -->
<ul class="c-tags">
{% for tag in page.tags %}
<li class="c-tag">{{ tag }}</li>
{% endfor %}
</ul>
<div class="c-article__main">
{{ content }}
</div>
<!-- Previous / Next Buttons -->
<div class="pagenav">
{% if page.previous.url %}
<div class="wrapper" id="left">
<small><b>Previous</b> {{page.previous.date | date: "%b %-d, %Y"}}</small>
<br>
<a class="no-hov" href="{{ page.previous.url | prepend: site.baseurl }}">&laquo; {{page.previous.title}}</a>
</div>
{% endif %}
{% if page.next.url %}
<div class="wrapper" id="right">
<small>{{page.next.date | date: "%b %-d, %Y"}} <b>Next</b></small>
<br>
<a class="no-hov" href="{{ page.next.url | prepend: site.baseurl }}">{{page.next.title}} &raquo;</a>
</div>
{% endif %}
</div>
<!-- Disqus comments view -->
{% if page.comments != false and site.disqus_id %}
<div class="post-disqus">
<section id="disqus_thread"></section>
{% include disqus.html %}
</div>
{% endif %}
{% if page.comments != false %}
{% include isso.html %}
{% endif %}
</article>