Skip to content

Commit

Permalink
gtag (#169)
Browse files Browse the repository at this point in the history
Signed-off-by: JYC0413 <juyichen0413@foxmail.com>
  • Loading branch information
JYC0413 authored Sep 8, 2023
1 parent 27183bc commit 7552161
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ const config = {
}
},

plugins: [
[
'@docusaurus/plugin-google-gtag',
{
trackingID: 'G-Q77VSJHYQB',
},
],
],

presets: [
[
'classic',
Expand Down Expand Up @@ -86,9 +95,9 @@ const config = {
({
metadata: [
{ name: 'keywords', content: 'wasmedge, wasm, web assembly, rust, cncf, edge devices, cloud, serverless' },
{ name: 'description', content: 'WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.' },
{ name: 'description', content: 'WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.' },
{ name: 'og:title', content: 'WasmEdge' },
{ name: 'og:description', content: 'WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.' },
{ name: 'og:description', content: 'WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.' },
{ name: 'og:url', content: 'https://wasmedge.org/' },
{ name: 'og:type', content: 'Documentation' },
{ name: 'twitter:card', content: 'summary' },
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
},
"dependencies": {
"@docusaurus/core": "^2.4.0",
"@docusaurus/plugin-google-gtag": "^2.4.1",
"@docusaurus/preset-classic": "^2.4.0",
"@docusaurus/theme-mermaid": "^2.4.1",
"@easyops-cn/docusaurus-search-local": "^0.35.0",
Expand Down

0 comments on commit 7552161

Please sign in to comment.