mirror of
https://github.com/bspeice/speice.io
synced 2024-12-22 16:48:10 -05:00
47 lines
1.4 KiB
HTML
47 lines
1.4 KiB
HTML
---
|
|
layout: page
|
|
---
|
|
<article class="c-article">
|
|
<header class="c-article__header">
|
|
<h1 class="c-article__title">{{ page.title }}</h1>
|
|
<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 }}">« {{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.previous.url | prepend: site.baseurl }}">{{page.next.title}} »</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 %}
|
|
</article>
|