removed some parts from the homepage

This commit is contained in:
thepaperpilot 2018-11-12 02:57:52 -06:00
parent ce376ec93f
commit f204bfb822

View file

@ -13,8 +13,6 @@ featured: [Dice Armor, Babble Buds]
</div>
</div>
<h4>Active Projects</h4>
{% for project in page.featured %}
{% assign post = site.posts | where:"title",project | first %}
<div class="card" style="padding-bottom: calc(1rem + 40px);">
@ -31,8 +29,6 @@ featured: [Dice Armor, Babble Buds]
</div>
{% endfor %}
<h4>Featured Projects</h4>
<div class="card">
{% assign projects = site.posts | where:"featured","true" %}
{% for project in projects %}
@ -53,32 +49,3 @@ featured: [Dice Armor, Babble Buds]
</div>
{% endfor %}
</div>
<h4>All Projects (by tag)</h4>
<div class="card container">
<div class="card-content">
{% assign rawtags = "" %}
{% for post in site.posts %}
{% assign ttags = post.tags | join:'|' | append:'|' %}
{% assign rawtags = rawtags | append:ttags %}
{% endfor %}
{% assign rawtags = rawtags | split:'|' | sort %}
{% assign tags = "" %}
{% for tag in rawtags %}
{% if tag != "" %}
{% if tags == "" %}
{% assign tags = tag | split:'|' %}
{% endif %}
{% unless tags contains tag %}
{% assign tags = tags | join:'|' | append:'|' | append:tag | split:'|' %}
{% endunless %}
{% endif %}
{% endfor %}
{% for tag in tags %}
<div class="chip"><a href="/tags/#{{ tag | slugify }}"> {{ tag }} </a></div>
{% endfor %}
</div>
</div>