diff --git a/quartz/components/ContentMeta.tsx b/quartz/components/ContentMeta.tsx index 5dfec1448..f11983f95 100644 --- a/quartz/components/ContentMeta.tsx +++ b/quartz/components/ContentMeta.tsx @@ -30,7 +30,8 @@ export default ((opts?: Partial) => { const segments: (string | JSX.Element)[] = [] if (fileData.dates) { - segments.push(formatDate(getDate(cfg, fileData)!, cfg.locale)) + segments.push("Создана: " + formatDate(getDate(cfg, fileData)!, cfg.locale)) + segments.push("Обновлена: " + formatDate(getDate(cfg, fileData)!, cfg.locale)) } // Display reading time if enabled diff --git a/quartz/plugins/transformers/lastmod.ts b/quartz/plugins/transformers/lastmod.ts index 9869ee742..f7cf53b8f 100644 --- a/quartz/plugins/transformers/lastmod.ts +++ b/quartz/plugins/transformers/lastmod.ts @@ -58,9 +58,6 @@ export const CreatedModifiedDate: QuartzTransformerPlugin> = (u // Get a reference to the main git repo. // It's either the same as the workdir, // or 1+ level higher in case of a submodule/subtree setup - console.log(`Current working directory: ${file.cwd}`); - console.log(`Attempting to discover Git repository from: ${path.join(file.cwd, 'content')}`); - try { repo = await Repository.discover(path.join(file.cwd, 'content'), { search: true }); console.log(chalk.green(`Git repository found at: ${repo.path()}`));