Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (37 sloc) 1.07 KB
layout wrap title
default
true
TTN NYC Blog

{{ page.title }}

Show by Tag:
All
{% for tag_entry in site.tags %}
{{ tag_entry[0] }}
{% endfor %}

{% for post in site.posts %}

## [{{ post.title }}]({{ post.url }}) {{ post.excerpt }} Tags: {{post.tags | join: ", " }}
{% endfor %} <script> function setVisibility(name, vis) { [].forEach.call(document.getElementsByClassName(name), function (el) { el.style.display = vis; }); } function hideAll() { setVisibility("post", "none") } function showAll() { setVisibility("post", "unset") } function showClass(tag) { hideAll(); setVisibility(tag, "unset"); } document.getElementById("show-all").addEventListener("click",showAll,false); {% for tag_entry in site.tags %} document.getElementById("show-{{ tag_entry[0] }}").addEventListener("click",function(e) { showClass("tag-{{ tag_entry[0] }}"); }, false); {% endfor %} </script>
You can’t perform that action at this time.