last update

This commit is contained in:
Marc Beninca 2023-07-06 10:41:05 +02:00
parent a73115df74
commit eb36f2d7b6

View file

@ -1,5 +1,6 @@
#! /usr/bin/env python3 #! /usr/bin/env python3
import datetime
import os import os
import subprocess import subprocess
@ -30,6 +31,7 @@ def main():
with open(link_svg, 'br') as f: with open(link_svg, 'br') as f:
link_text = f.read().decode('u8') link_text = f.read().decode('u8')
page_file = os.path.join(web, 'index.html') page_file = os.path.join(web, 'index.html')
timestamp = datetime.datetime.now().strftime('%Y/%m/%d %H:%M:%S')
page_text = f'''\ page_text = f'''\
<!DOCTYPE html> <!DOCTYPE html>
@ -179,6 +181,11 @@ def main():
</main> </main>
<footer>
<hr />
Last update: {timestamp}
</footer>
</body> </body>
</html> </html>