Add religion placeholder, make top category menu code cleaner.
This commit is contained in:
parent
1f428fc9ce
commit
e3d72d3b2e
|
@ -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
4
religion/index.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
layout: default
|
||||
---
|
||||
Sorry, there is nothing here yet.
|
Loading…
Reference in New Issue
Block a user