From aade5a390ca17cd9c890bfdf0212e44da3e6b87f Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Fri, 6 Sep 2024 00:46:35 +0300 Subject: [PATCH] yandex metrica --- .quartz/quartz.config.ts | 1 + .quartz/quartz.layout.ts | 20 +++++++++----------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.quartz/quartz.config.ts b/.quartz/quartz.config.ts index e37f88ce..93847b81 100644 --- a/.quartz/quartz.config.ts +++ b/.quartz/quartz.config.ts @@ -75,6 +75,7 @@ const config: QuartzConfig = { Plugin.ComponentResources(), Plugin.ContentPage(), Plugin.FolderPage(), + Plugin.TagPage(), Plugin.ContentIndex({ enableSiteMap: true, enableRSS: true, diff --git a/.quartz/quartz.layout.ts b/.quartz/quartz.layout.ts index c8d03dcc..900d038c 100644 --- a/.quartz/quartz.layout.ts +++ b/.quartz/quartz.layout.ts @@ -14,17 +14,15 @@ export const sharedPageComponents: SharedLayout = { locale: 'ru', } }), + Component.YandexMetrika(), ], - footer: [ - Component.Footer({ - links: { - "About Me": "https://mark.struchkov.dev/cv/", - "B.log": "https://struchkov.dev", - "CV": "https://mark.struchkov.dev/cv/?utm_source=gardenru&utm_medium=organic&utm_campaign=static", - }, - }), - Component.YandexMetrika() - ], + footer: Component.Footer({ + links: { + "About Me": "https://mark.struchkov.dev/cv/", + "B.log": "https://struchkov.dev", + "CV": "https://mark.struchkov.dev/cv/?utm_source=gardenru&utm_medium=organic&utm_campaign=static", + }, + }), } const githubSourceConfig = { repoLink: "https://github.com/upagge/digital-garden", @@ -41,7 +39,7 @@ export const defaultContentPageLayout: PageLayout = { Component.PageTitle(), Component.MobileOnly(Component.Spacer()), Component.Search(), - Component.DesktopOnly(Component.RecentNotes({showTags: false, limit: 4})), + Component.DesktopOnly(Component.RecentNotes({ showTags: false, limit: 4 })), Component.Ads(), Component.Darkmode(), ],