diff --git a/docusaurus.config.js b/docusaurus.config.js index c573f74b..18f7622c 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -13,6 +13,45 @@ const config = { favicon: "design/web/favicon.ico", organizationName: "meshtastic", projectName: "meshtastic", + ssrTemplate: ` + > + + + + + <% if (it.noIndex) { %> + + <% } %> + + <%~ it.headTags %> + <% it.metaAttributes.forEach((metaAttribute) => { %> + <%~ metaAttribute %> + <% }); %> + <% it.stylesheets.forEach((stylesheet) => { %> + + <% }); %> + <% it.scripts.forEach((script) => { %> + + <% }); %> + + > + <%~ it.preBodyTags %> +
+ <%~ it.appHtml %> +
+ <% it.scripts.forEach((script) => { %> + + <% }); %> + <%~ it.postBodyTags %> + + `, themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ { colorMode: { respectPrefersColorScheme: true, diff --git a/static/design b/static/design index b75f60a9..2c19d981 160000 --- a/static/design +++ b/static/design @@ -1 +1 @@ -Subproject commit b75f60a91abc22367ec017ab0c9eea828784a6ac +Subproject commit 2c19d98137a5461811bcddc83765a4e3699b9452 diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 00000000..6f27bb66 --- /dev/null +++ b/static/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: \ No newline at end of file