A bunch of layout changes to support a new category and make everything work better.
This commit is contained in:
parent
a053ac1be7
commit
f5320c3717
8 changed files with 51 additions and 20 deletions
10
index.html
10
index.html
|
@ -3,10 +3,10 @@ layout: default
|
|||
---
|
||||
<div class="home">
|
||||
<div class="category-menu">
|
||||
{% for category in site.category_titles %}
|
||||
{% for category in site.category_metadata %}
|
||||
<span class="category-link">
|
||||
<a href="{{category.first | prepend: site.baseurl}}">
|
||||
{{ category.last }}
|
||||
{{ category.last["title"] }}
|
||||
</a>
|
||||
</span>
|
||||
{% endfor %}
|
||||
|
@ -22,15 +22,15 @@ layout: default
|
|||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% include post_list.html categories=site.main_categories limit=10 %}
|
||||
{% include post_list_main.html limit=10 %}
|
||||
|
||||
<p class="post-meta" style="margin-top: 40px">
|
||||
For more posts, choose a category:
|
||||
<ul>
|
||||
{% for category in site.category_titles %}
|
||||
{% for category in site.category_metadata %}
|
||||
<li>
|
||||
<a href="{{category.first | prepend: site.baseurl}}">
|
||||
{{category.last}}
|
||||
{{ category.last["title"]}}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue