-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault.html
27 lines (25 loc) · 925 Bytes
/
default.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
<!doctype html>
<html lang="en" prefix="og: http://ogp.me/ns#">
{%- include head.html -%}
<body>
{%- include header.html -%}
{{ content }}
{% capture difference %}{{ page.tags | size | minus: 1 }}{% endcapture %}
{% if difference != '-1' %}
<section class='tags'>
<div class="container-fluid">
<div class="row">
<div class="col-md-6 offset-md-1">
<h4>Tags:</h4>
{% for tag in page.tags %}
{% capture tag_name %}{{ tag }}{% endcapture %}
<a href="{{ site.baseurl }}/tag/{{ tag_name }}"><code class="highlighter-rouge">{{ tag_name }}</code></a>
{% endfor %}
</div>
</div>
</div>
</section>
{% endif %}
{%- include footer.html -%}
</body>
</html>