Skip to content

Commit

Permalink
Change article list for more room on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
neilstudd committed Jul 17, 2022
1 parent a0b80b6 commit 133366c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,13 @@ <h1 class="page-heading">{{ page.title }}</h1>
{% assign posts = site.posts %}

{%- if posts.size > 0 -%}
<ul class="post-list">
{%- assign date_format = site.minima.date_format | default: "%-d %B %Y" -%}
{%- assign date_format = site.minima.date_format | default: "%-d-%b-%y" -%}
{%- for post in posts -%}
<li>
{{ post.date | date: date_format }}: <strong><a class="post-link" href="{{ post.url | relative_url }}">
{{ post.title | escape }}
</a> </strong>
</li>
</a> </strong><br/>
{%- endfor -%}
</ul>

{%- endif -%}
<br/>
</div>

0 comments on commit 133366c

Please sign in to comment.