Update existing elements to match Bulma
This commit is contained in:
parent
96038c3286
commit
549bd070c8
13 changed files with 80 additions and 59 deletions
|
@ -2,17 +2,17 @@
|
|||
<div class="latest-posts panel panel-default">
|
||||
<div class="latest-posts__heading panel-heading">Latest blog posts</div>
|
||||
|
||||
<ul class="list-group">
|
||||
{% for post in data.posts|slice(0, site.latest_posts) %}
|
||||
<li class="post list-group-item">
|
||||
{% for post in data.posts|slice(0, site.latest_posts) %}
|
||||
<div class="post panel-block">
|
||||
<div>
|
||||
<span class="post__title">
|
||||
<a href="{{ post.url }}">
|
||||
{{ post.title }}
|
||||
</a>
|
||||
</span> -
|
||||
<span class="post__date">{{ post.date|date(site.default_date_format) }}</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue