mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 13:24:05 -06:00
Merge branch 'page-count' of https://github.com/NONONOexe/quartz into page-count
This commit is contained in:
commit
442903f517
@ -2,11 +2,7 @@ import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } fro
|
||||
import { classNames } from "../util/lang"
|
||||
import { i18n } from "../i18n"
|
||||
|
||||
const PageCount: QuartzComponent = ({
|
||||
allFiles,
|
||||
displayClass,
|
||||
cfg,
|
||||
}: QuartzComponentProps) => {
|
||||
const PageCount: QuartzComponent = ({ allFiles, displayClass, cfg }: QuartzComponentProps) => {
|
||||
const count = allFiles.length
|
||||
return (
|
||||
<div class={classNames(displayClass, "page-count")}>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user