aboutsummaryrefslogtreecommitdiffhomepage
path: root/nuldoc-src
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-03-19 00:52:16 +0900
committernsfisis <nsfisis@gmail.com>2023-03-19 01:12:08 +0900
commit0021721514e95ae0ba4e64d9a57780f0c9ee65fa (patch)
tree1c14c54dc98f77c4132bafc605641d5ac3810f36 /nuldoc-src
parent8aee2418d9ea730ec0ed5770be6b1918a072e17c (diff)
downloadblog.nsfisis.dev-0021721514e95ae0ba4e64d9a57780f0c9ee65fa.tar.gz
blog.nsfisis.dev-0021721514e95ae0ba4e64d9a57780f0c9ee65fa.tar.zst
blog.nsfisis.dev-0021721514e95ae0ba4e64d9a57780f0c9ee65fa.zip
fix(nuldoc): sort order of tag list page
Diffstat (limited to 'nuldoc-src')
-rw-r--r--nuldoc-src/pages/tag_list.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuldoc-src/pages/tag_list.ts b/nuldoc-src/pages/tag_list.ts
index bb481f8..2b58ff3 100644
--- a/nuldoc-src/pages/tag_list.ts
+++ b/nuldoc-src/pages/tag_list.ts
@@ -33,8 +33,8 @@ export async function generateTagListPage(
...Array.from(tags).sort((a, b) => {
const ta = a.tagSlug;
const tb = b.tagSlug;
- if (ta > tb) return -1;
- if (ta < tb) return 1;
+ if (ta < tb) return -1;
+ if (ta > tb) return 1;
return 0;
}).map((tag) =>
el(