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.
 
 
 
 
blog/_layouts/post.html

31 lines
857 B

---
layout: default
---
{% 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-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_date != page_updated %}
<div class="updated-on">Last updated on {{ page.updated | date: '%B %-d, %Y' }}</div>
{% endif %}
</div>
<div class="post" id="main">
{{ content }}
</div>