This commit is contained in:
Oliver Davies 2015-06-16 18:39:59 +01:00
parent 0a99d6643b
commit 26506c0778
5 changed files with 8 additions and 8 deletions

View file

@ -3,7 +3,7 @@
<h2>Latest Posts</h2>
<ul>
{% for post in data.posts | slice(0,5) %}
{% for post in data.posts|slice(0,5) %}
<li{% if page.url == post.url %} class="active"{% endif %}><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>

View file

@ -1,5 +1,5 @@
<h1>{{ page.title }}</h1>
<p class="posted">Posted: {{ page.date | date('jS F Y') }}</p>
<p class="posted">Posted: {{ page.date|date('jS F Y') }}</p>
{#
{% if page.tags %}
Tags: