mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 23:04:05 -06:00
chore(prettier): run
This commit is contained in:
parent
2bab23f64e
commit
2aac704812
@ -28,8 +28,7 @@ function boolToStringBool(b: boolean): string {
|
||||
export default ((opts: Options) => {
|
||||
const Comments: QuartzComponent = ({ displayClass, fileData, cfg }: QuartzComponentProps) => {
|
||||
// check if comments should be displayed according to frontmatter
|
||||
if ((opts.respectFrontmatter ?? false) &&
|
||||
!(fileData.frontmatter?.comments ?? false)) {
|
||||
if ((opts.respectFrontmatter ?? false) && !(fileData.frontmatter?.comments ?? false)) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user