Finish layout updates. Recent posts now appear in single-column on the main page.
This commit is contained in:
parent
9ead6e05b6
commit
e45382d439
|
@ -23,3 +23,13 @@
|
||||||
.col-4 {
|
.col-4 {
|
||||||
width: 25%;
|
width: 25%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.category-menu {
|
||||||
|
margin-bottom: $spacing-unit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.category-link {
|
||||||
|
font-size: $large-font-size;
|
||||||
|
padding: 0px 10px;
|
||||||
|
}
|
||||||
|
|
15
index.html
15
index.html
|
@ -23,5 +23,18 @@ layout: default
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% 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>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user