Skip to content

Commit c11066c

Browse files
committed
ニュース一覧のタグの位置が揃うように日付を0埋めで表示する
1 parent 8fc64a7 commit c11066c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_pages/news.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ permalink: /news/
1515
<li class="py-4">
1616
<a href="{{ post.url }}">
1717
<div class="flex items-center gap-x-2">
18-
<time class="text-sm text-gray-600">{{ post.date | date:"%Y.%-m.%-d" }}</time>
18+
<time class="text-sm text-gray-600">{{ post.date | date:"%Y.%m.%d" }}</time>
1919
<span class="block min-w-24 text-center px-4 py-px rounded-xs bg-[#cc8f2e] text-white">{{ post.tags }}</span>
2020
</div>
2121
<p>

0 commit comments

Comments
 (0)