blog_by_tag.html 1014 Bytes
Newer Older
1 2 3 4
<!DOCTYPE html>
<html>
  {% assign filename = page.path | remove: '.md' | split: '/' | last %}
  {% for data_tag in site.data.tags %}
Riccardo Spagni's avatar
Riccardo Spagni committed
5 6 7
	{% if data_tag.slug == filename %}
		{% assign tag = data_tag %}
	{% endif %}
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
  {% endfor %}

  {% include head.html %}

  <body>

    {% include header.html %}

    <div class="container main-content">

		<div class="page-title">
		  <!-- Icon is based on work by Sergiu Bagrin (http://pixelkit.com) and is licensed under Creative Commons BY 3.0 -->
		  <img src="//static.getmonero.org/images/icon_tags.svg" class="title-icon"><h2 class="inline">{% t tags.all %}: <span class="kicks">{{ tag.name }}</span></h2>
		</div>

		<div>
			{% if site.tags[tag.slug] %}
				{% for post in site.tags[tag.slug] %}
				  <h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
				  <blockquote>
					{{ post.summary }}
				  </blockquote>
				{% endfor %}
			{% else %}
				<h3>{% t tags.notags %}</h3>
			{% endif %}
		</div>
    </div>

    {% include footer.html %}

  </body>
Riccardo Spagni's avatar
Riccardo Spagni committed
40

41
</html>