File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ module.exports = {
77 organizationName : 'coderoad' ,
88 projectName : 'coderoad.github.io' ,
99 themeConfig : {
10+ themeConfig : {
11+ googleAnalytics : {
12+ trackingID : 'UA-166812953-1' ,
13+ } ,
14+ } ,
1015 navbar : {
1116 title : 'CodeRoad' ,
1217 logo : {
@@ -88,4 +93,16 @@ module.exports = {
8893 } ,
8994 ] ,
9095 ] ,
96+ plugins : [
97+ [
98+ '@docusaurus/plugin-ideal-image' ,
99+ '@docusaurus/plugin-google-analytics' ,
100+ '@docusaurus/plugin-sitemap' ,
101+ {
102+ cacheTime : 600 * 1000 , // 600 sec - cache purge period
103+ changefreq : 'weekly' ,
104+ priority : 0.5 ,
105+ } ,
106+ ] ,
107+ ] ,
91108}
Original file line number Diff line number Diff line change 1010 },
1111 "dependencies" : {
1212 "@docusaurus/core" : " ^2.0.0-alpha.54" ,
13+ "@docusaurus/plugin-google-analytics" : " ^2.0.0-alpha.37" ,
14+ "@docusaurus/plugin-ideal-image" : " ^2.0.0-alpha.39" ,
15+ "@docusaurus/plugin-sitemap" : " ^2.0.0-alpha.37" ,
1316 "@docusaurus/preset-classic" : " ^2.0.0-alpha.54" ,
1417 "classnames" : " ^2.2.6" ,
1518 "react" : " ^16.8.4" ,
2730 " last 1 safari version"
2831 ]
2932 }
30- }
33+ }
You can’t perform that action at this time.
0 commit comments