diff options
| -rw-r--r-- | nuldoc-src/pages/about.ts | 8 | ||||
| -rw-r--r-- | public/about/index.html | 8 |
2 files changed, 11 insertions, 5 deletions
diff --git a/nuldoc-src/pages/about.ts b/nuldoc-src/pages/about.ts index 459b88c..3306006 100644 --- a/nuldoc-src/pages/about.ts +++ b/nuldoc-src/pages/about.ts @@ -117,7 +117,13 @@ export async function generateAboutPage( el( "ul", [], - ...slides.map((slide) => + ...Array.from(slides).sort((a, b) => { + const ta = dateToString(getPostCreatedDate(a)); + const tb = dateToString(getPostCreatedDate(b)); + if (ta > tb) return -1; + if (ta < tb) return 1; + return 0; + }).map((slide) => el( "li", [], diff --git a/public/about/index.html b/public/about/index.html index a238a4c..efbef3f 100644 --- a/public/about/index.html +++ b/public/about/index.html @@ -67,19 +67,19 @@ <h2>登壇</h2> <ul> <li> - <a href="/slides/2023-01-18/phpstudy-tokyo-148/">2023-01-18: PHP 勉強会@東京 第148 回 (LT)</a> + <a href="/slides/2023-03-25/phperkaigi-2023-tokens/">2023-03-25: PHPerKaigi 2023 (トークン解説セッション)</a> </li> <li> - <a href="/slides/2023-02-15/phpstudy-tokyo-149/">2023-02-15: PHP 勉強会@東京 第149 回 (LT)</a> + <a href="/slides/2023-03-24/phperkaigi-2023/">2023-03-24: PHPerKaigi 2023 (レギュラートーク)</a> </li> <li> <a href="/slides/2023-03-15/phpstudy-tokyo-150/">2023-03-15: PHP 勉強会@東京 第150 回 (LT)</a> </li> <li> - <a href="/slides/2023-03-24/phperkaigi-2023/">2023-03-24: PHPerKaigi 2023 (レギュラートーク)</a> + <a href="/slides/2023-02-15/phpstudy-tokyo-149/">2023-02-15: PHP 勉強会@東京 第149 回 (LT)</a> </li> <li> - <a href="/slides/2023-03-25/phperkaigi-2023-tokens/">2023-03-25: PHPerKaigi 2023 (トークン解説セッション)</a> + <a href="/slides/2023-01-18/phpstudy-tokyo-148/">2023-01-18: PHP 勉強会@東京 第148 回 (LT)</a> </li> </ul> </section> |
