Dramatic layout updates, still in progress.
This commit is contained in:
parent
f343f2b42c
commit
9ead6e05b6
7 changed files with 36 additions and 28 deletions
21
index.html
21
index.html
|
@ -2,6 +2,17 @@
|
|||
layout: default
|
||||
---
|
||||
<div class="home">
|
||||
<div class="category-menu">
|
||||
{% for category in site.categories %}
|
||||
{% if category.first == "meta" %} {% continue %} {% endif %}
|
||||
<span class="category-link">
|
||||
<a href="{{category.first | prepend: site.baseurl}}">
|
||||
{{ site.category_titles[category.first] }}
|
||||
</a>
|
||||
</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% assign last_meta = site.categories.meta.first %}
|
||||
{% if last_meta.active %}
|
||||
<div class="site-update">
|
||||
|
@ -12,13 +23,5 @@ layout: default
|
|||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% for category in site.categories %}
|
||||
{% if category.first == "meta" %} {% continue %} {% endif %}
|
||||
<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 %}
|
||||
{% include post_list.html categories=site.main_categories limit=5 %}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue