From 965425d54d801c29c65dac7f21f92485be8405f5 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 10 Jul 2024 00:55:19 +0000
Subject: [PATCH] docs + chore: cleanup custom sort ordering for folder + tag listings, add docs

---
 docs/plugins/TagPage.md |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/docs/plugins/TagPage.md b/docs/plugins/TagPage.md
index 9c704b3..9556363 100644
--- a/docs/plugins/TagPage.md
+++ b/docs/plugins/TagPage.md
@@ -9,10 +9,12 @@
 > [!note]
 > For information on how to add, remove or configure plugins, see the [[configuration#Plugins|Configuration]] page.
 
-This plugin has no configuration options.
-
 The pages are displayed using the `defaultListPageLayout` in `quartz.layouts.ts`. For the content, the `TagContent` component is used. If you want to modify the layout, you must edit it directly (`quartz/components/pages/TagContent.tsx`).
 
+This plugin accepts the following configuration options:
+
+- `sort`: A function of type `(f1: QuartzPluginData, f2: QuartzPluginData) => number{:ts}` used to sort entries. Defaults to sorting by date and tie-breaking on lexographical order.
+
 ## API
 
 - Category: Emitter

--
Gitblit v1.10.0