Update '_layouts/home.html'

This commit is contained in:
Kale 2021-06-08 20:16:56 -07:00
parent 6a1178ccb6
commit ace6013519
No known key found for this signature in database
GPG Key ID: F8A6CE83F1274467

View File

@ -16,11 +16,11 @@ layout: default
{% assign posts = site.posts %} {% assign posts = site.posts %}
{% endif %} {% endif %}
{%- if posts.size > 0 -%}
{%- if page.list_title -%}
<section id="grid" class="row flex-grid"> <section id="grid" class="row flex-grid">
<article class="post-list"> <article class="post-list">
<div> <div>
{%- if posts.size > 0 -%}
{%- if page.list_title -%}
<h2 class="post-list-heading">{{ page.list_title }}</h2> <h2 class="post-list-heading">{{ page.list_title }}</h2>
{%- endif -%} {%- endif -%}
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%} {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
@ -36,9 +36,9 @@ layout: default
<blockquote>{{ post.excerpt }}</blockquote> <blockquote>{{ post.excerpt }}</blockquote>
{%- endif -%} {%- endif -%}
</li> </li>
</div>
</article> </article>
{%- endfor -%} {%- endfor -%}
</div>
</section> </section>
{% if site.paginate %} {% if site.paginate %}
<div class="pager"> <div class="pager">