diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index f9b574a32..12d39925b 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -1,9 +1,12 @@ +const fs = require("fs"); const sidebar = require("./sidebars.js"); const releases = sidebar.docs .filter((doc) => doc.link?.slug === "releases")[0] .items.filter((release) => typeof release === "string"); +const footerEmail = fs.readFileSync("src/footer.html", { encoding: "utf-8" }); + /** @type {import('@docusaurus/types').DocusaurusConfig} */ module.exports = { title: "authentik", @@ -81,6 +84,14 @@ module.exports = { }, footer: { links: [ + { + title: "Subscribe to authentik News", + items: [ + { + html: footerEmail, + }, + ], + }, { title: "Documentation", items: [ diff --git a/website/src/comparison.jsx b/website/src/components/comparison.jsx similarity index 100% rename from website/src/comparison.jsx rename to website/src/components/comparison.jsx diff --git a/website/src/footer.html b/website/src/footer.html new file mode 100644 index 000000000..8ad9080ca --- /dev/null +++ b/website/src/footer.html @@ -0,0 +1,106 @@ + + + +