2014-12-29 18:35:21 +01:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
---
|
2015-01-24 13:44:00 +01:00
|
|
|
{% if post.tags.size > 0 %}
|
|
|
|
{% capture tags_content %}Posted with {% 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/tag/{{ tag.slug }}/">{{ tag.name }}</a>{% if forloop.last == false %}, {% endif %}{% endcapture %}
|
|
|
|
{% assign tags_content = tags_content_temp %}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
{% assign tags_content = '' %}
|
|
|
|
{% endif %}
|
2014-12-29 18:35:21 +01:00
|
|
|
<div class="post">
|
|
|
|
|
|
|
|
<header class="post-header">
|
|
|
|
<h1 class="post-title">{{ page.title }}</h1>
|
|
|
|
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<article class="post-content">
|
|
|
|
{{ content }}
|
2015-01-24 13:44:00 +01:00
|
|
|
<p id="post-meta">{{ tags_content }}</p>
|
2014-12-29 18:35:21 +01:00
|
|
|
</article>
|
|
|
|
|
2015-02-14 10:53:26 +01:00
|
|
|
{% if page.comments %}
|
2015-02-14 10:51:09 +01:00
|
|
|
<div id="disqus_thread"></div>
|
|
|
|
<script type="text/javascript">
|
|
|
|
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
|
|
|
|
var disqus_shortname = 'mikaeladotinfo'; // required: replace example with your forum shortname
|
|
|
|
|
|
|
|
/* * * DON'T EDIT BELOW THIS LINE * * */
|
|
|
|
(function() {
|
|
|
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
|
|
|
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
|
|
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
|
|
|
})();
|
|
|
|
</script>
|
|
|
|
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
2015-02-14 10:53:26 +01:00
|
|
|
{% endif %}
|
2015-02-14 10:51:09 +01:00
|
|
|
|
2014-12-29 18:35:21 +01:00
|
|
|
</div>
|