Basic version of the sidebar
This commit is contained in:
parent
eb9a650e9e
commit
9eb2643e9c
1 changed files with 12 additions and 6 deletions
|
@ -15,6 +15,18 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="panel radius">
|
||||
<h3>Recent posts</h3>
|
||||
<ul>
|
||||
{% for post in site.posts limit:5 %}
|
||||
<li>
|
||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="panel radius">
|
||||
<h3>Links</h3>
|
||||
{% for link_cat in site.data.links %}
|
||||
|
@ -26,10 +38,4 @@
|
|||
</ul>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<div class="panel radius">
|
||||
<h3>Recent comments</h3>
|
||||
<p>TODO</p>
|
||||
</div>
|
||||
|
||||
</aside>
|
Reference in a new issue