This commit is contained in:
relikd
2020-08-23 21:18:40 +02:00
commit ec6e4b5a90
72 changed files with 4913 additions and 0 deletions

33
src/html_root.py Executable file
View File

@@ -0,0 +1,33 @@
#!/usr/bin/env python3
import common_lib as mylib
def gen_root():
with open(mylib.path_out('index.html'), 'w') as fp:
fp.write(mylib.template_with_base('''
<h2>About</h2>
<p class="squeeze">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
<a id="get-appcheck" href="https://testflight.apple.com/join/9jjaFeHO">
<img src="/static/appcheck.svg" alt="app-icon" width="30" height="30">
<p>
Get the app and contribute.<br />
Join the TestFlight Beta.
</p>
</a>{}'''. format('')))
def process():
print('generating root html ...')
gen_root() # root index.thml
if __name__ == '__main__':
process()