-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclimbing.html
39 lines (39 loc) · 2.09 KB
/
climbing.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
layout: naked
title: Climbing
---
<div class="row">
<div class="col-md-12">
<div class="page-header">
<h1>Climbing <small>and other such chatter</small></h1>
</div>
<p>Here are all my ramblings about climbing.
Well not just climbing; I've basically lumped any blog posts about "adventure sports"
here. Climbing summer/winter is going to form the main bulk of the content with some
posts about skiing, kayaking, cycing and triathlon.</p>
</div>
</div>
<div class="row">
<div class="col-md-12">
<h2>Latest blog posts</h2>
{% for post in site.categories["climbing"] %}
<div class="media climbing" itemid="{{ site.url }}{{ post.url }}" itemscope itemtype="http://schema.org/BlogPosting">
<div class="media-body">
<h3 class="media-heading" itemprop="name"><a href="{{ site.url }}{{ post.url }}" itemprop="url mainEntityOfPage">{{ post.title }}</a></h3>
{% if post.image %}<div class="hidden" itemprop="image" itemscope itemtype="http://schema.org/ImageObject">
<img itemprop="url" src="{{ post.image }}" alt="{{ post.title }}" />
</div>{% endif %}
<p><time class="label label-default" itemprop="datePublished dateModified" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_long_string }}</time>
{% for category in post.categories %}<a class="label label-primary" href="/{% if site.my_categories contains category %}{{ category }}{% else %}other{% endif %}.html" itemprop="keywords">{{ category }}</a> {% endfor %}
{% for tag in post.tags %}<a class="label label-info" href="/tag/{{ tag }}.html" itemprop="keywords">{{ tag }}</a> {% endfor %}
<span itemprop="author publisher" itemscope itemtype="http://schema.org/Person">
by <a itemprop="name" href="{{ site.url }}">Simon Mayes</a> (<a href="https://twitter.com/msyea">@msyea</a>)
</span>
</p>
<meta itemprop="headline" content="{{ post.excerpt | newline_to_br | replace: '<br />', ' ' | strip_html | strip_newlines | strip | truncatewords:20 }}" />
<div>{{ post.excerpt }}</div>
</div>
</div>
{% endfor %}
</div>
</div>