Skip to content

Commit 076783c

Browse files
committed
TOPのみNewsの表示件数を最大4件に
あわせて、News一覧への導線を追加
1 parent 045c964 commit 076783c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ <h2 class="heading__01">NEWS</h2>
4949
</div>
5050
<div class="container">
5151
<div class="row post-list">
52-
{% for news in site.news %}
52+
{% for news in site.news limit:4 %}
5353
{% if news.layout == "archive" %}
5454
{% else %}
5555
<div class="col-6">
@@ -72,6 +72,9 @@ <h3 class="post-list__title">{{ news.j-title }}</h3>
7272
{% endif %}
7373
{% endfor %}
7474
</div>
75+
<div class="text-center">
76+
<a class="btn btn__white btn__xxl" href="/news/" role="button">New一覧へ</a>
77+
</div>
7578
</div>
7679
</section>
7780
<section id="access" class="access pb-5">

0 commit comments

Comments
 (0)