From 727a09a98f71451f3486c020c951edd263b13f67 Mon Sep 17 00:00:00 2001 From: Rui Date: Thu, 1 Mar 2018 00:37:01 +0900 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=B1=A5=E6=AD=B4=E3=82=9210?= =?UTF-8?q?=E4=BB=B6=E3=81=BE=E3=81=A7=E8=A1=A8=E7=A4=BA=E3=81=99=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _includes/update-history.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/_includes/update-history.md b/_includes/update-history.md index 532e4d9..50a98d5 100644 --- a/_includes/update-history.md +++ b/_includes/update-history.md @@ -7,14 +7,11 @@ Markdownの作成 {% endcomment %} {% capture list %} {% comment %} - 全てのページのリストを更新日時でソート + 全てのページのリストを更新日時でソートし逆順にする {% endcomment %} - {% assign sorted_pages = (site.pages | sort: "date") %} + {% assign sorted_pages = (site.pages | sort: "date" | reverse) %} - {% comment %} - 逆順(新しいものから)でFor実行 - {% endcomment %} - {% for page in sorted_pages reversed %} + {% for page in sorted_pages limit: 10 %} {% comment %} 更新日時未記入の場合スキップ {% endcomment %}