aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_layouts/post.html
blob: 92fa9651760afdaf3bea3e8ad33d31014acce69e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
layout: default
---
<div class="post-header">
  <h1>{{ page.title }}</h1>
  <div class="post-date">
    <p class="text-muted">
      {%- comment -%}
        Collapse the Liquid whitespace here, so that no extra spaces
        between <span>s are introduced.
      {%- endcomment -%}
      {%- if page.category -%}
        <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a class="category" href="{{ '/' | relative_url }}{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a>
      {%- endif -%}
      <span class="glyphicon glyphicon-time"></span>&nbsp;{{ page.date | date: '%-d&nbsp;%b&nbsp;%Y' }}
    </p>
  </div>
</div>
{{ content }}