示例#1
0
def author(au=None):
    stderr.write("html author!\n")
    if "au" in bottle.request.params:
        au = bottle.request.params["au"]

    if au:
        template = catlookup.get_template("author.html")
    else:
        template = catlookup.get_template("authorbrowse.html")

    return catrender(template, author_id=au)
示例#2
0
def title():
    stderr.write("html title!\n")
    template = catlookup.get_template("title.html")
    return catrender(template)
示例#3
0
def index():
    stderr.write("html index!\n")
    template = catlookup.get_template("root.html")
    return catrender(template)