from http import HTTPResponse, WebError
+import cgitb
+cgitb.enable()
+
class Data:
def __init__(self):
self.output = ""
class Box(Data):
def __init__(self, headline, subtitle=""):
Data.__init__(self)
- self.w("""<div class="post"><h3>%s</h3>""" % (headline,))
+ self.w("""<div class="post"><h3>%s</h3><a name="%s"></a>""" % (headline,headline,))
if subtitle:
self.w("""<div class="post_info">%s</div>""" % (subtitle,))