Update '_layouts/home.html'
This commit is contained in:
parent
6a1178ccb6
commit
ace6013519
@ -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">
|
||||||
|
Reference in New Issue
Block a user