2015-01-02 18:35:38 +02:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
---
|
2015-02-15 19:42:43 +02:00
|
|
|
{% assign post = page %}
|
|
|
|
{% if post.tags.size > 0 %}
|
|
|
|
{% capture tags_content %}Post tags {% if post.tags.size == 1 %}<i class="fa fa-tag"></i>{% else %}<i class="fa fa-tags"></i>{% endif %}: {% endcapture %}
|
|
|
|
{% for post_tag in post.tags %}
|
|
|
|
{% for data_tag in site.data.tags %}
|
|
|
|
{% if data_tag.slug == post_tag %}
|
|
|
|
{% assign tag = data_tag %}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
{% if tag %}
|
|
|
|
{% capture tags_content_temp %}{{ tags_content }}<a href="/blog/tags/{{ tag.slug }}">{{ tag.name }}</a>{% if forloop.last == false %}, {% endif %}{% endcapture %}
|
|
|
|
{% assign tags_content = tags_content_temp %}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
{% assign tags_content = '' %}
|
|
|
|
{% endif %}
|
|
|
|
|
2015-01-02 18:35:38 +02:00
|
|
|
<article>
|
|
|
|
<header>
|
2015-02-17 19:55:38 +02:00
|
|
|
<div class="page-title">
|
|
|
|
<!-- Icon is based on work by Freepik (http://www.freepik.com) and is licensed under Creative Commons BY 3.0 -->
|
|
|
|
<img src="//static.monero.cc/images/icon_blog_post.svg" class="title-icon"><h2 class="inline">{{ page.title }}</h2>
|
|
|
|
</div>
|
|
|
|
<span class="author">{% t blog.author %}: {% if page.author %}{{page.author}}{% else %}{{site.author}}{% endif%}</span>
|
2015-01-02 18:35:38 +02:00
|
|
|
</header>
|
|
|
|
|
2015-02-17 19:55:38 +02:00
|
|
|
<p>{{ content }}</p>
|
2015-01-02 18:35:38 +02:00
|
|
|
|
2015-02-15 19:42:43 +02:00
|
|
|
<footer><p id="post-meta">{{ tags_content }}</p></footer>
|
2015-01-02 18:35:38 +02:00
|
|
|
|
|
|
|
</article>
|