Skip to content

Commit

Permalink
fix: sitemap setting + gtag
Browse files Browse the repository at this point in the history
  • Loading branch information
minsgy committed Feb 15, 2024
1 parent 0893449 commit 2398cfc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { themes as prismThemes } from "prism-react-renderer";
import { EnumChangefreq } from "sitemap";
import type { Config } from "@docusaurus/types";
import type * as Preset from "@docusaurus/preset-classic";

Expand Down Expand Up @@ -51,6 +52,13 @@ const config: Config = {
theme: {
customCss: "./src/css/custom.css",
},
gtag: {
trackingID: "G-MESEC84TJV",
},
sitemap: {
changefreq: EnumChangefreq.WEEKLY,
priority: 0.5,
},
} satisfies Preset.Options,
],
],
Expand Down

0 comments on commit 2398cfc

Please sign in to comment.