Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
79 lines (74 sloc) 2.4 KB
layout wrap title
default
true
TTN NYC Repositories of Interest

{{ page.title }}

{% assign topics = "" | split: "," %} {% for entry in site.data.repos %} {% assign repo = entry[1] %} {% unless repo.exclude %} {% if repo.topics %} {% assign topics = topics | concat: repo.topics %} {% endif %} {% endunless %} {% endfor %} {% assign topics = topics | uniq %}

Show by Topic:
All
{% for topic in topics %}
{{topic}}
{% endfor %}

{% for repo in site.github.public_repositories %} {% if site.data.repos[repo.full_name] %} {% assign rtopics = site.data.repos[repo.full_name].topics %} {% else %} {% assign rtopics = "" | split: "," %} {% endif %} {% unless site.data.repos[repo.full_name].exclude %}

## [{{ repo.name }}]({{ repo.html_url }}) {{repo.description}} {% if site.data.repos[repo.full_name] -%} {% if site.data.repos[repo.full_name].description -%} {{site.data.repos[repo.full_name].description}} {% endif %} Topics: {{ site.data.repos[repo.full_name].topics | join: ", " }} {% endif %}
{% endunless %} {% endfor %}

{% for entry in site.data.repos %} {% assign user_repo = entry[0] | split: "/" %} {% assign user = user_repo[0] %} {% unless user == "things-nyc" %} {% assign repo = entry[1] %} {% assign rtopics = repo.topics %}

## [{{ entry[0] }}]({{ repo.html_url }}) {{repo.description}} Topics: {{ repo.topics | join: ", " }}
{% endunless %} {% 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", "block") } function showCategory(category) { hideAll(); setVisibility(category, "block"); } document.getElementById("show-all").addEventListener("click",showAll,false); {% for topic in topics %} document.getElementById("show-{{ topic }}").addEventListener("click",function(e) { showCategory("topic-{{ topic }}"); }, false); {% endfor %} </script>
You can’t perform that action at this time.