clean html

This commit is contained in:
Marc Beninca 2023-07-01 12:22:27 +02:00
parent 0b1097ce35
commit 3cd2f89ea1

View file

@ -31,26 +31,29 @@ def main():
link_text = f.read().decode('u8')
page_file = os.path.join(web, 'index.html')
page_text = f'''\
<!DOCTYPE html><html><head>
<!----------------------------------------------------------------------------->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="flattr:id" content="z3d26l" />
<meta name="viewport" content="initial-scale=1,width=device-width" />
<link rel="stylesheet" href="{style}/index.css" />
<script src="{script}/index.js"></script>
<title>Marc Beninca</title>
</head>
<!----------------------------------------------------------------------------->
</head><body onload="main()"><header>
<!----------------------------------------------------------------------------->
<body onload="main()">
<header>
<h1>Marc Beninca</h1>
<input type="checkbox" id="dark" onclick="swap()">Dark</input>
<!----------------------------------------------------------------------------->
</header><main>
<!----------------------------------------------------------------------------->
</header>
<main>
<div class="tabs">
<input type="radio" onclick="update(id)"
@ -109,7 +112,11 @@ def main():
</div></div>
</div>
</main></body></html>
</main>
</body>
</html>
'''
css_file = os.path.join(css, 'index.css')
css_text = f'''\