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

@ -42,13 +42,13 @@
</div>{# .container #}
<footer class="container" role="contentinfo">
<p class="copyright">&copy; 2010-{{ 'now' | date('Y') }} {{ site.title }}.</p>
<p class="copyright">&copy; 2010-{{ 'now'|date('Y') }} {{ site.title }}.</p>
<div class="meetups">
<h2>Meetups</h2>
<ul>
{% for meetup in site.meetups %}
<li class="meetup__{{ meetup.name | lower | replace({ ' ': '-' }) }}">
<li class="meetup__{{ meetup.name|lower|replace({ ' ': '-' }) }}">
<a href="{{ meetup.url }}" title="{{ meetup.name }}">
<img src="/assets/images/meetups/{{ meetup.logo }}" alt="{{ meetup.name }}">
</a>

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:

View file

@ -14,7 +14,7 @@ use:
<article class="post">
<h2>{{ post.title }}</h2>
{% if post.blocks.excerpt %}
{{ post.blocks.excerpt | raw }}
{{ post.blocks.excerpt|raw }}
{% endif %}
<a href="{{ post.url }}">Read more &rarr;</a>
</article>

View file

@ -5,7 +5,7 @@ permalink: sitemap.xml
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>{{ site.url }}</loc>
<lastmod>{{ site.calculated_date | date('Y-m-d') }}</lastmod>
<lastmod>{{ site.calculated_date|date('Y-m-d') }}</lastmod>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
@ -14,7 +14,7 @@ permalink: sitemap.xml
{% for page in pages %}
<url>
<loc>{{ site.url }}/{{ page }}</loc>
<lastmod>{{ site.calculated_date | date('Y-m-d') }}</lastmod>
<lastmod>{{ site.calculated_date|date('Y-m-d') }}</lastmod>
<changefreq>monthly</changefreq>
<priority>0.6</priority>
</url>
@ -22,7 +22,7 @@ permalink: sitemap.xml
<url>
<loc>{{ site.url }}/blog</loc>
<lastmod>{{ site.calculated_date | date('Y-m-d') }}</lastmod>
<lastmod>{{ site.calculated_date|date('Y-m-d') }}</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>