Skip to content

Commit

Permalink
Quartz sync: Sep 9, 2024, 2:57 AM
Browse files Browse the repository at this point in the history
  • Loading branch information
warren committed Sep 9, 2024
1 parent d6b1e68 commit a9e280b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions quartz.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const config: QuartzConfig = {
},
plugins: {
transformers: [
Plugin.FrontMatter(),
Plugin.SyntaxHighlighting({
theme: {
light: "github-light",
Expand Down
6 changes: 3 additions & 3 deletions quartz/components/ContentMeta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ export default ((opts?: Partial<ContentMetaOptions>) => {
if (text) {
const segments: (string | JSX.Element)[] = []

if (fileData.dates) {
segments.push(formatDate(getDate(cfg, fileData)!, cfg.locale))
}
// if (fileData.dates) {
// segments.push(formatDate(getDate(cfg, fileData)!, cfg.locale))
// }

// Display reading time if enabled
if (options.showReadingTime) {
Expand Down

0 comments on commit a9e280b

Please sign in to comment.