Finish layout updates. Recent posts now appear in single-column on the main page.

This commit is contained in:
Anna Rose 2016-05-04 15:23:37 -04:00
parent 9ead6e05b6
commit e45382d439
2 changed files with 24 additions and 1 deletions

View File

@ -23,3 +23,13 @@
.col-4 {
width: 25%;
}
.category-menu {
margin-bottom: $spacing-unit;
}
.category-link {
font-size: $large-font-size;
padding: 0px 10px;
}

View File

@ -23,5 +23,18 @@ layout: default
</div>
{% endif %}
{% include post_list.html categories=site.main_categories limit=5 %}
{% include post_list.html categories=site.main_categories limit=10 %}
<p class="post-meta" style="margin-top: 40px">
For more posts, choose a category:
<ul>
{% for category in site.categories %}
<li>
<a href="{{category.first | prepend: site.baseurl}}">
{{category.first}}
</a>
</li>
{% endfor %}
</ul>
</p>
</div>