Mercurial > hg > index.fcgi > www > www-1
comparison myrss/myrss_app.py @ 96:259a484f691b
fix <head> tags
author | paulo |
---|---|
date | Sun, 08 Jul 2018 23:31:13 -0700 |
parents | 8214951cb8e7 |
children | 9bd400576469 |
comparison
equal
deleted
inserted
replaced
11:7c46cfd8542c | 12:3b8fc2caf179 |
---|---|
118 datetime_str = dtnow.strftime("%Y-%m-%d %H:%M %Z") | 118 datetime_str = dtnow.strftime("%Y-%m-%d %H:%M %Z") |
119 page_title = "myrss -- %s" % datetime_str | 119 page_title = "myrss -- %s" % datetime_str |
120 | 120 |
121 root = html.HTML("html") | 121 root = html.HTML("html") |
122 | 122 |
123 header = root.header | 123 header = root.head |
124 header.title(page_title) | 124 header.title(page_title) |
125 header.link(rel="stylesheet", type="text/css", href="index.css") | 125 header.link(rel="stylesheet", type="text/css", href="index.css") |
126 | 126 |
127 body = root.body | 127 body = root.body |
128 body.h1(page_title) | 128 body.h1(page_title) |