_layouts/home.html in miniscule-0.1.9 vs _layouts/home.html in miniscule-0.2.0
- old
+ new
@@ -8,25 +8,25 @@
{%- endif -%}
{{ content }}
{%- if site.posts.size > 0 -%}
- <ul class="post-list">
+ <div style="display: flex; flex-direction: row; justify-content: flex-start; flex-wrap: wrap;" class="post-list">
{%- for post in site.posts -%}
- <li>
+ <div style="border: #f0f0f0 solid 1px; padding: 7px; margin: 5px; max-width: 150px; min-height: 220px">
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
<h3>
<a class="post-link" href="{{ post.url | relative_url }}">
{{ post.title | escape }}
</a>
</h3>
<span class="post-meta">{{ post.date | date: date_format }}</span>
{%- if site.show_excerpts -%}
{{ post.excerpt }}
{%- endif -%}
- </li>
+ </div>
{%- endfor -%}
- </ul>
+ </div>
{%- endif -%}
{%- if site.twitter_username and site.show_twitter_feed -%}
<h2>Twitter feed</h2>