From aedefaafa7db682fac3082fa5aac65b09c4cd267 Mon Sep 17 00:00:00 2001 From: Viktor Kovacs Date: Mon, 17 Jun 2024 20:39:37 +0200 Subject: [PATCH] Add intro footer. --- tools/create_package.py | 4 ++++ website/index.html | 2 ++ 2 files changed, 6 insertions(+) diff --git a/tools/create_package.py b/tools/create_package.py index 03d36b1c..12bf5336 100644 --- a/tools/create_package.py +++ b/tools/create_package.py @@ -64,9 +64,13 @@ def CreateWebsite (rootDir, websiteDir, version, testBuild): replacer.ReplaceTokenContent ('', '', initScriptContent) replacer.ReplaceTokenContent ('', '', embedInitScriptContent) metaFile = os.path.join (rootDir, 'plugins', 'website_meta_data.txt') + introFooterFile = os.path.join (rootDir, 'plugins', 'website_intro_footer_data.txt') if os.path.exists (metaFile): metaContent = Utils.GetFileContent (metaFile) replacer.ReplaceTokenContent ('', '', metaContent) + if os.path.exists (introFooterFile): + introFooterContent = Utils.GetFileContent (introFooterFile) + replacer.ReplaceTokenContent ('', '', introFooterContent) websiteAnalyticsFile = os.path.join (rootDir, 'plugins', 'website_analytics_data.txt') if os.path.exists (websiteAnalyticsFile) and not testBuild: websiteAnalyticsContent = Utils.GetFileContent (websiteAnalyticsFile) diff --git a/website/index.html b/website/index.html index 0b9e4181..f08b53ea 100644 --- a/website/index.html +++ b/website/index.html @@ -93,6 +93,8 @@ wrl + +