Add dates to blog and home (closes #46)

This commit is contained in:
czmj 2018-08-21 16:35:38 +01:00
parent bbeff69a10
commit bc9b85e23b
4 changed files with 7 additions and 4 deletions

View File

@ -6,6 +6,7 @@
<div class="image">{% if post.image %}<img src="{% if site.featured-image-source %}{{ post.image | prepend: site.featured-image-source | absolute_url }}{% else %}{{ "" | absolute_url }}/assets/images/{{ post.image }}{% endif %}" alt="" />{% endif %}</div>
<div class="content">
<h2><a href="{{ post.url | relative_url }}" class="link">{{ post.title }}</a></h2>
<p class="h5">{{ post.date | date: '%B %d, %Y' }}</p>
<p>{{ post.description }}</p>
</div>
</section>

View File

@ -35,6 +35,7 @@
{{ item.title }}
{% if item.layout %}</a>{% endif %}
</h2>
<p class="h5">{{ item.date | date: '%B %d, %Y' }}</p>
<p>{{ item.description }}</p>
</div>
</section>

View File

@ -2,7 +2,7 @@
layout: post
title: Our Founding Principles
description: Autonomic Co-operative And Our Core Values
image: thinkpad.jpg
image: pic01.jpg
category: values
date: 2017-10-03
---

View File

@ -107,6 +107,7 @@ h4 {
h5 {
font-size: 0.8em;
line-height: 1.5em;
font-style: italic;
}
.h6,