Strip away theme demo content

This commit is contained in:
Thomas Busby
2018-05-26 18:47:27 +02:00
parent b21ab8b3a3
commit 8b9299e83a
43 changed files with 33 additions and 1249 deletions

View File

@@ -1,26 +0,0 @@
{% if site.enableTags == true %}
<div id="tag-filter" class="tag-group">
<span class="tag-filter tag-cloud all active">All</span>
{% assign tagarray = site.tagarray %}
{% for project in site.data.projects %}
{% for tag in project.tags %}
{% assign tagarray = tagarray | push: tag %}
{% endfor %}
{% endfor %}
{% assign tags = tagarray[1] %}
{% for item in tagarray %}
{% assign tagDown = item | downcase %}
{% assign tagComp = tags | downcase %}
{% unless tagComp contains tagDown %}
{% capture tags %}{{ tags }}|{{ item }}{% endcapture %}
{% endunless %}
{% endfor %}
{% assign taglist = tags | split: '|' | sort %}
{% for tag in taglist %}
<span class="tag-filter tag-cloud" data-tag="{{ tag | downcase }}">{{ tag }}</span>
{% endfor %}
</div>
{% endif %}