crappy-reverie/_layouts/post.html

42 lines
1.3 KiB
HTML
Raw Permalink Normal View History

2019-02-12 19:04:04 +00:00
---
layout: default
---
<article class="post detailed">
<h1>{{ page.title }}</h1>
<div>
2023-04-18 10:18:15 +00:00
<p class="author_title">{% if site.author %} {{site.author}} · {% endif %}{{ page.date | date: "%B %e, %Y" }}</p>
2019-02-12 19:04:04 +00:00
{% if page.last_modified_at %}
<p class="author_title" datetime="{{ page.last_modified_at | date_to_xmlschema }}">(Updated: {{ page.last_modified_at | date: "%b %-d, %Y" }})</p>
{% endif %}
<div class="post-tags">
{% if post %}
{% assign categories = post.categories %}
{% else %}
{% assign categories = page.categories %}
{% endif %}
{% for category in categories %}
<a href="{{site.baseurl}}/categories/#{{category|slugize}}">{{category}}</a>
{% unless forloop.last %}&nbsp;{% endunless %}
{% endfor %}
</div>
</div>
<div class="entry">
{{ content }}
</div>
{% if site.social_share == true %}
2019-02-12 19:04:04 +00:00
<div>
<p><span class="share-box">Share:</span> <a href="http://twitter.com/share?text={{ page.title }}&url={{site.url}}{{page.url}}" target="_blank">Twitter</a>, <a href="https://www.facebook.com/sharer.php?u={{site.url}}{{page.url}}" target="_blank">Facebook</a></p>
</div>
2023-04-18 13:36:55 +00:00
{% endif %}
2019-02-12 19:04:04 +00:00
<!--<div class="date">
Written on {{ page.date | date: "%B %e, %Y" }}
</div>-->
{% include disqus.html %}
</article>