From 9e534b693cc85fbe9c665dc62ba7cb23f7e68429 Mon Sep 17 00:00:00 2001 From: Andreas Kollegger Date: Mon, 9 Sep 2024 11:04:11 +0100 Subject: [PATCH] changed footer to include CC license by Neo4j --- astro.config.mjs | 4 ++++ src/components/GrFooter.astro | 43 +++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 src/components/GrFooter.astro diff --git a/astro.config.mjs b/astro.config.mjs index 07bc181..11aff14 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -17,6 +17,7 @@ export default defineConfig({ editLink: { baseUrl: 'https://github.com/graphrag/graphrag.github.io/edit/main/', }, + lastUpdated: true, sidebar: [ { label: 'Concepts', @@ -69,6 +70,9 @@ export default defineConfig({ ] } ], + components: { + Footer: './src/components/GrFooter.astro' + } }), ], }); diff --git a/src/components/GrFooter.astro b/src/components/GrFooter.astro new file mode 100644 index 0000000..dbedbc2 --- /dev/null +++ b/src/components/GrFooter.astro @@ -0,0 +1,43 @@ +--- +import type { Props } from '@astrojs/starlight/props'; +import EditLink from '@astrojs/starlight/components/EditLink.astro'; +import LastUpdated from '@astrojs/starlight/components/LastUpdated.astro'; +import Pagination from '@astrojs/starlight/components/Pagination.astro'; +--- + + + \ No newline at end of file