Removed accidentally included changes from another commit.

This commit is contained in:
Alexey Chernyavskiy 2025-07-27 09:23:26 +05:00
parent 47654cacbe
commit c5b7ab80af
No known key found for this signature in database
GPG Key ID: 402AE34C2F14446E

View File

@ -13,7 +13,6 @@ interface Options {
limit: number
linkToMore: SimpleSlug | false
showTags: boolean
showDescription: boolean
filter: (f: QuartzPluginData) => boolean
sort: (f1: QuartzPluginData, f2: QuartzPluginData) => number
}
@ -22,7 +21,6 @@ const defaultOptions = (cfg: GlobalConfiguration): Options => ({
limit: 3,
linkToMore: false,
showTags: true,
showDescription: false,
filter: () => true,
sort: byDateAndAlphabetical(cfg),
})
@ -74,10 +72,6 @@ export default ((userOpts?: Partial<Options>) => {
))}
</ul>
)}
{opts.showDescription && page.frontmatter?.description && (
<p class="description">{page.frontmatter.description}</p>
)}
</div>
</li>
)