Skip to content

Commit aedefaa

Browse files
committed
Add intro footer.
1 parent e73167e commit aedefaa

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tools/create_package.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,13 @@ def CreateWebsite (rootDir, websiteDir, version, testBuild):
6464
replacer.ReplaceTokenContent ('<!-- website init start -->', '<!-- website init end -->', initScriptContent)
6565
replacer.ReplaceTokenContent ('<!-- embed init start -->', '<!-- embed init end -->', embedInitScriptContent)
6666
metaFile = os.path.join (rootDir, 'plugins', 'website_meta_data.txt')
67+
introFooterFile = os.path.join (rootDir, 'plugins', 'website_intro_footer_data.txt')
6768
if os.path.exists (metaFile):
6869
metaContent = Utils.GetFileContent (metaFile)
6970
replacer.ReplaceTokenContent ('<!-- meta start -->', '<!-- meta end -->', metaContent)
71+
if os.path.exists (introFooterFile):
72+
introFooterContent = Utils.GetFileContent (introFooterFile)
73+
replacer.ReplaceTokenContent ('<!-- intro footer start -->', '<!-- intro footer end -->', introFooterContent)
7074
websiteAnalyticsFile = os.path.join (rootDir, 'plugins', 'website_analytics_data.txt')
7175
if os.path.exists (websiteAnalyticsFile) and not testBuild:
7276
websiteAnalyticsContent = Utils.GetFileContent (websiteAnalyticsFile)

website/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@
9393
<a href="#model=assets/models/extrusion3.wrl">wrl</a>
9494
</div>
9595
</div>
96+
<!-- intro footer start -->
97+
<!-- intro footer end -->
9698
</div>
9799
</div>
98100
</body>

0 commit comments

Comments
 (0)