forked from github.com/pypiserver
Specify doctype for generated pages.
This ensures compliance with PEP 503
This commit is contained in:
parent
bdbd839a1b
commit
057d3b469d
@ -256,6 +256,7 @@ def handle_rpc():
|
||||
def simpleindex():
|
||||
links = sorted(config.backend.get_projects())
|
||||
tmpl = """\
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Simple Index</title>
|
||||
@ -299,6 +300,7 @@ def simple(project):
|
||||
)
|
||||
|
||||
tmpl = """\
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Links for {{project}}</title>
|
||||
@ -328,6 +330,7 @@ def list_packages():
|
||||
)
|
||||
|
||||
tmpl = """\
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Index of packages</title>
|
||||
|
Loading…
Reference in New Issue
Block a user