comparison index_app.py @ 96:259a484f691b

fix <head> tags
author paulo
date Sun, 08 Jul 2018 23:31:13 -0700
parents 0fbe37b56e84
children
comparison
equal deleted inserted replaced
2:73411b5df952 3:5bcf8afb21e4
30 dirs.append((i, mtime, indexroot)) 30 dirs.append((i, mtime, indexroot))
31 31
32 root = html.HTML("html") 32 root = html.HTML("html")
33 title = "-[pauloang.com]-" 33 title = "-[pauloang.com]-"
34 34
35 header = root.header 35 header = root.head
36 header.title(title) 36 header.title(title)
37 header.link(rel="stylesheet", type="text/css", href="index.css") 37 header.link(rel="stylesheet", type="text/css", href="index.css")
38 38
39 body = root.body(klass="body") 39 body = root.body(klass="body")
40 body.h1(title, escape=False) 40 body.h1(title, escape=False)