Skip to content

Commit

Permalink
fix: add google console search function (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
gloriaJun committed May 23, 2023
1 parent a6756e7 commit cdbcbf8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ coverage
*.tgz

# dotenv environment variable files
.env*
#.env*

# Optional npm cache directory
.npm
Expand Down
1 change: 1 addition & 0 deletions apps/doc/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GOOGLE_SEARCH_CONSOLE_KEY="PrqvOIk9NNqMEDDZ5mciMBaskqjDRVbL7g1lqt_S64Y"
9 changes: 6 additions & 3 deletions apps/doc/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');

const blogTitle = 'L.E.T';
const myGitHubUrl = 'https://github.com/gloriajun';

Expand Down Expand Up @@ -58,6 +55,12 @@ const config = {
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
metadata: [
{
name: 'google-site-verification',
content: process.env.GOOGLE_SEARCH_CONSOLE_KEY,
},
],
navbar: {
title: blogTitle,
logo: {
Expand Down

0 comments on commit cdbcbf8

Please sign in to comment.