last update
This commit is contained in:
parent
a73115df74
commit
eb36f2d7b6
1 changed files with 7 additions and 0 deletions
7
build.py
7
build.py
|
@ -1,5 +1,6 @@
|
|||
#! /usr/bin/env python3
|
||||
|
||||
import datetime
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
|
@ -30,6 +31,7 @@ def main():
|
|||
with open(link_svg, 'br') as f:
|
||||
link_text = f.read().decode('u8')
|
||||
page_file = os.path.join(web, 'index.html')
|
||||
timestamp = datetime.datetime.now().strftime('%Y/%m/%d %H:%M:%S')
|
||||
page_text = f'''\
|
||||
<!DOCTYPE html>
|
||||
|
||||
|
@ -179,6 +181,11 @@ def main():
|
|||
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<hr />
|
||||
Last update: {timestamp}
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue