blob: eabb22cca688d06dfa9784f922e4b96717392455 (
plain) (
blame)
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
|
<div class="post-header">
{% if include.feed %}
<h5 class="text-monospace">{{ include.title }}</h5>
{% else %}
{% assign post = page %}
<h1><span class="font-size-90">{{ post.title }}</span></h1>
{% endif %}
<div class="post-date">
<p class="text-muted font-size-90">
{%- comment -%}
Collapse the Liquid whitespace here, so that no extra spaces
between <span>s are introduced.
{%- endcomment -%}
{%- if post.category -%}
<span class="glyphicon glyphicon-folder-open"></span>
{%- if include.feed -%}
<span class="category text-monospace">
{%- else -%}
<a class="category text-monospace" href="{{ '/' | relative_url }}{{ post.category | slugify: 'pretty' }}/">
{%- endif -%}
{{ post.category }}
{%- if include.feed -%}
</span>
{%- else -%}
</a>
{%- endif -%}
{%- endif -%}
<span class="glyphicon glyphicon-time"></span> <span class="text-monospace">{{ post.date | date: '%d-%b-%Y' }}</span>
</p>
</div>
</div>
|