update webpage name to be much longer, remove .html from links and refactor newsletter layout

This commit is contained in:
Rushabh Mehta
2013-01-01 10:55:58 +05:30
parent 6072a682bc
commit 5f183982cd
4 changed files with 45 additions and 39 deletions

View File

@@ -31,7 +31,7 @@ def generate(domain):
order by modified desc""" % (doctype, d.condition_field))
for p in pages:
page_url = os.path.join(domain, urllib.quote(p[0]) + '.html')
page_url = os.path.join(domain, urllib.quote(p[0]))
modified = p[1].strftime('%Y-%m-%d')
site_map += link_xml % (page_url, modified)