A full redesign of The Plain Libre Jekyll theme https://software.franco.net.eu.org/frnmst/the-flux-of-thought
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
the-flux-of-thought/_layouts/post.html

34 lines
1.0 KiB

---
layout: default
---
<div class="post-metadata">
<h1>{{ page.title }}</h1>
<div class="written-on">First written on {{ page.date | date: '%B %-d, %Y' }}</div>
{% assign page_date = page.date | date: '%F' %}
{% assign page_updated = page.updated | date: '%F' %}
{% if page_updated < page_date %}
<div class="updated-on">*** ERROR: check front matter <b>updated</b> variable ***</div>
{% elsif page_date != page_updated %}
<div class="updated-on">Last updated on {{ page.updated | date: '%B %-d, %Y' }}</div>
{% endif %}
</div>
{% if page.tags %}
{% assign page_tags = page.tags | sort %}
<div class="tag-list">
<ul>
{% for tag in page_tags %}
<li>
{% assign tagg = tag | slugify %}
{% capture link %}{{ site.baseurl }}/tags/#{{ tagg }}{% endcapture %}
<a href="{{ link }}">{{ tag }}</a>&nbsp;
</li>
{% endfor %}
</ul>
</div>
{% endif %}
<div class="post" id="main">
{% include anchor_headings.html html=content %}
</div>