rolandjesse.de/_layouts/tag.html
Panos Sakkos ef491cbb9e Fixes #103
Plus some refactoring and code cleanup 😌
2015-11-22 02:01:43 +01:00

42 lines
800 B
HTML

<!-- Tag Layout Start -->
<!DOCTYPE html>
<html lang="{{ site.lang }}">
{% include head.html %}
<body>
{% include navigation.html %}
<section class="container content-section text-center">
<div class="row">
<div class="col-md-10 col-md-offset-1 col-xs-10 col-xs-offset-1">
{% assign tag = page.title %}
<h3 id="#{{ tag }}">#{{ tag }}</h3>
<div>
{% for post in site.posts %}
{% if post.tags contains tag %}
{% include post-list.html%}
{% endif %}
{% endfor %}
</div>
{% include social-buttons.html %}
</div>
</div>
</section>
{% include footer.html %}
{% include js.html %}
</body>
</html>
<!-- Tag Layout End -->