bbb/_layouts/post.html

58 lines
1.9 KiB
HTML

---
layout: default
---
<article class="post detailed">
<h1>{{ page.title }}</h1>
<div>
<p class="author_title">{{ page.date | date: "%B %e, %Y" }}</p>
{% 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>
<hr/>
<div class="comments">
<b>Have something to say? You can ...</b>
<br/>
<ul>
{% if page.discussion %}
<li>Comment on the below box by authorizing the <a href=https://giscus.app> Gisqus </a> app on your github account.</li>
<li>Comment directly on the <a href="https://github.com/cool-mist/bbb/discussions/{{ page.discussion }}">github discussion page for this article</a>.</li>
{% endif %}
<li>Send an email with your comments to <u>neophytenuggets@proton.me</u>.</li>
</ul>
</div>
{% if page.discussion %}
<script src="https://giscus.app/client.js"
data-repo="cool-mist/bbb"
data-repo-id="MDEwOlJlcG9zaXRvcnkzMTkzNTk1MTI="
data-mapping="number"
data-term="{{page.discussion}}"
data-reactions-enabled="0"
data-emit-metadata="0"
data-input-position="bottom"
data-theme="light_tritanopia"
data-lang="en"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
{% endif %}
</article>