Skip to content

Commit cccb508

Browse files
committed
Update python script
1 parent 1eabf10 commit cccb508

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def handle_starttag(self, tag, attrs):
4747

4848
if html_files:
4949
with open("./www/nav.html", "wb") as f:
50-
f.write("<><head><title>Navigation</title></head><>".encode())
50+
f.write("<html><head><title>Navigation</title></head><body>".encode())
5151
for file, title in html_files.items():
5252
f.write(
5353
f'<div><a href="{quote_plus(file)}">{html_escape(file)}</a>'.encode()

www/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<meta nav-title="Main page" />
67
<title>Document</title>
78
</head>
89
<body>

0 commit comments

Comments
 (0)