Add religion placeholder, make top category menu code cleaner.

This commit is contained in:
Anna Rose 2016-05-04 15:37:33 -04:00
parent 1f428fc9ce
commit e3d72d3b2e
2 changed files with 8 additions and 5 deletions

View File

@ -3,11 +3,10 @@ layout: default
---
<div class="home">
<div class="category-menu">
{% for category in site.categories %}
{% if category.first == "meta" %} {% continue %} {% endif %}
{% for category in site.category_titles %}
<span class="category-link">
<a href="{{category.first | prepend: site.baseurl}}">
{{ site.category_titles[category.first] }}
{{ category.last }}
</a>
</span>
{% endfor %}
@ -28,10 +27,10 @@ layout: default
<p class="post-meta" style="margin-top: 40px">
For more posts, choose a category:
<ul>
{% for category in site.categories %}
{% for category in site.category_titles %}
<li>
<a href="{{category.first | prepend: site.baseurl}}">
{{category.first}}
{{category.last}}
</a>
</li>
{% endfor %}

4
religion/index.html Normal file
View File

@ -0,0 +1,4 @@
---
layout: default
---
Sorry, there is nothing here yet.