Skip to content

Commit

Permalink
Merge pull request #57 from GaiaNet-AI/update-icon
Browse files Browse the repository at this point in the history
add head
  • Loading branch information
alabulei1 authored Aug 30, 2024
2 parents 5e1146b + 0a2c8ac commit aaa135c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,42 @@ const config = {
],
],

headTags: [
{
tagName: 'link',
attributes: {
rel: 'alternate',
hreflang: 'en',
href: 'https://docs.gaianet.ai'
},
},
{
tagName: 'link',
attributes: {
rel: 'alternate',
hreflang: 'ko',
href: 'https://ko.docs.gaianet.ai'
},
},
{
tagName: 'script',
attributes: {
type: 'text/javascript',
src: 'https://cdn.weglot.com/weglot.min.js',
},
},
{
tagName: 'script',
attributes: {},
innerHTML: `
Weglot.initialize({
api_key: 'wg_8d3dd85f0e6d941759812a29e1d2e0d95'
});
`,
},
],


themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
Expand Down

0 comments on commit aaa135c

Please sign in to comment.