mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-23 21:04:07 -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
|
limit: number
|
||||||
linkToMore: SimpleSlug | false
|
linkToMore: SimpleSlug | false
|
||||||
showTags: boolean
|
showTags: boolean
|
||||||
showDescription: boolean
|
|
||||||
filter: (f: QuartzPluginData) => boolean
|
filter: (f: QuartzPluginData) => boolean
|
||||||
sort: (f1: QuartzPluginData, f2: QuartzPluginData) => number
|
sort: (f1: QuartzPluginData, f2: QuartzPluginData) => number
|
||||||
}
|
}
|
||||||
@ -22,7 +21,6 @@ const defaultOptions = (cfg: GlobalConfiguration): Options => ({
|
|||||||
limit: 3,
|
limit: 3,
|
||||||
linkToMore: false,
|
linkToMore: false,
|
||||||
showTags: true,
|
showTags: true,
|
||||||
showDescription: false,
|
|
||||||
filter: () => true,
|
filter: () => true,
|
||||||
sort: byDateAndAlphabetical(cfg),
|
sort: byDateAndAlphabetical(cfg),
|
||||||
})
|
})
|
||||||
@ -74,10 +72,6 @@ export default ((userOpts?: Partial<Options>) => {
|
|||||||
))}
|
))}
|
||||||
</ul>
|
</ul>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{opts.showDescription && page.frontmatter?.description && (
|
|
||||||
<p class="description">{page.frontmatter.description}</p>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user