Fix layout to include category titles and links to category pages.
This commit is contained in:
parent
4c719fa3cf
commit
04a034f5d0
2 changed files with 5 additions and 2 deletions
|
@ -4,8 +4,10 @@ layout: default
|
|||
<div class="home">
|
||||
{% for category in site.categories %}
|
||||
{% if category.first == "meta" %} {% continue %} {% endif %}
|
||||
<h1 class="page-heading">{{ site.config.category_titles[category] }}</h1>
|
||||
<div class="column col-{{site.categories.size | minus: 1}}">
|
||||
<a href="{{category.first | prepend: site.baseurl}}">
|
||||
<h1 class="page-heading">{{ site.category_titles[category.first] }}</h1>
|
||||
</a>
|
||||
{% include category_list.html category=category.first limit=5 %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue