add a <title> to UMC listing pages

As I read it, basename() should not be required for path, and I've tested this locally.
This commit is contained in:
Groggy Dice 2013-07-31 01:32:26 -04:00
parent a4ded295ba
commit 09073d3ff5

View file

@ -13,7 +13,9 @@ def output(path, url, data):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">""")
w("<title>Add-ons for Wesnoth %s</title>" % path)
w("""\
<link rel=stylesheet href="style.css" type="text/css">
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="tablesorter.js"></script>