-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpost.html
executable file
·31 lines (26 loc) · 1.17 KB
/
post.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
---
layout: default
---
<div id="main-content" class="container">
<div class="row">
<div class="col-md-9 push-md-3">
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<h2 class="post-title" itemprop="name headline">{{ page.title }}</h2>
<p><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}</p>
<div class="post-categories">
{% assign categories = page.categories %}
{% for category in categories %}
<a href="{{site.baseurl}}/categories/#{{category|slugize}}" title="View all posts in the {{category}} category">{{category}}</a>
{% unless forloop.last %} {% endunless %}
{% endfor %}
</div>
<div class="post-content" itemprop="articleBody">
{{ content }}
</div>
</article>
</div>
<div class="col-md-3 pull-md-9">
{% include components/post-categories.html %}
</div>
</div>
</div>