Make the index be what was main.html, redirect main to index, and set the Home link to the main wxPython site.

This commit is contained in:
Robin Dunn
2017-07-20 21:01:43 -07:00
parent eea6c699ea
commit f06c6533f5
6 changed files with 89 additions and 174 deletions

View File

@@ -678,7 +678,7 @@ def postProcess(folder, options):
split = os.path.split(files)[1]
if split == 'main.html':
if split == 'index.html':
text = changeWelcomeText(text, options)
else:
text = text.replace('class="headerimage"', 'class="headerimage-noshow"')
@@ -751,7 +751,7 @@ def changeWelcomeText(text, options):
from git revision:
<a href="https://github.com/wxWidgets/Phoenix/commit/{revhash}">{revhash}</a>.
""".format(version=cfg.VERSION, today=TODAY, revhash=revhash)
text = text.replace('|WELCOME|', welcomeText)
text = text.replace('!WELCOME!', welcomeText)
return text