From 169e748a78f6a05c1494b3bda91e2eceeb68b154 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 10 Sep 2021 17:18:15 +0200 Subject: [PATCH] website: prepare go vanity URL Signed-off-by: Jens Langhammer --- website/docusaurus.config.js | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index e1c28f59d..426517ac0 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -118,4 +118,36 @@ module.exports = { }, ], ], + ssrTemplate: ` +> + + + + + + <%~ it.headTags %> + <% it.metaAttributes.forEach((metaAttribute) => { %> + <%~ metaAttribute %> + <% }); %> + <% it.stylesheets.forEach((stylesheet) => { %> + + <% }); %> + <% it.scripts.forEach((script) => { %> + + <% }); %> + + itemscope="" itemtype="http://schema.org/Organization"> + <%~ it.preBodyTags %> +
+ <%~ it.appHtml %> +
+
+ Custom markup +
+ <% it.scripts.forEach((script) => { %> + + <% }); %> + <%~ it.postBodyTags %> + +` };