mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-23 12:54:06 -06:00
Removed accidentally included changes from another commit.
This commit is contained in:
parent
47654cacbe
commit
c5b7ab80af
@ -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>
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user