Skip to content

Commit

Permalink
chore: add plugin for tag manager
Browse files Browse the repository at this point in the history
  • Loading branch information
kahboom committed Jan 22, 2025
1 parent 147434d commit 73b15b1
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 19 deletions.
31 changes: 18 additions & 13 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ const config: Config = {
presets: [
[
"classic",
{
gtag: {
trackingID: "G-CWTDJL6TEQ",
},
},
{
docs: {
beforeDefaultRemarkPlugins: [[remarkCodeHike, chConfig]],
Expand Down Expand Up @@ -115,19 +120,19 @@ const config: Config = {
// },
// ],
// },
{
title: "More",
items: [
// {
// label: 'Blog',
// to: '/blog',
// },
{
label: "GitHub",
href: "https://github.com/securesign/trusted-foundations",
},
],
},
// {
// title: "More",
// items: [
// // {
// // label: 'Blog',
// // to: '/blog',
// // },
// {
// label: "GitHub",
// href: "https://github.com/securesign/trusted-foundations",
// },
// ],
// },
],
copyright: `Copyright © ${new Date().getFullYear()} Trusted Foundations`,
},
Expand Down
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
},
"dependencies": {
"@docusaurus/core": "3.7.0",
"@docusaurus/plugin-google-gtag": "^3.7.0",
"@docusaurus/plugin-sitemap": "^3.7.0",
"@docusaurus/preset-classic": "3.7.0",
"@docusaurus/theme-mermaid": "^3.7.0",
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ export default function Home(): ReactNode {
const { siteConfig } = useDocusaurusContext();
return (
<Layout
title={`Hello from ${siteConfig.title}`}
description="Description will go into a meta tag in <head />"
title={`${siteConfig.title} | Public notes on software supply chain security`}
description="Learn about securing your code from design to delivery <head />"
>
<HomepageHeader />
<main>
Expand Down

0 comments on commit 73b15b1

Please sign in to comment.