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