def render_standard(org, standard): c = new_context() c.nav_path = "/%s/%s" % (org, standard) c.org = org c.standard = standard c.index = stan.read_index(org, standard) return template("standard.html", c=c)
def render_clause(org, standard, part, clause): c = new_context() c.nav_path = "/%s/%s" % (org, standard) c.org = org c.standard = standard c.stan = stan.read_page(org, standard, part, clause) c.index = stan.read_index(org, standard) return template("clause.html", c=c)