Add religion placeholder, make top category menu code cleaner.
This commit is contained in:
@ -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 %}
|
||||
|
Reference in New Issue
Block a user