get rid of webpy renderer
Getty Ritter
4 years ago
| 46 | 46 |
|
| 47 | 47 |
|
| 48 | 48 |
db = storage.DB()
|
| 49 | |
render = web.template.render(
|
| 50 | |
"old_templates/",
|
| 51 | |
globals=dict(
|
| 52 | |
markdown=markdown.markdown,
|
| 53 | |
slugify=storage.slugify,
|
| 54 | |
all_categories=db.all_categories,
|
| 55 | |
),
|
| 56 | |
)
|
| 57 | 49 |
|
| 58 | 50 |
|
| 59 | 51 |
def main(func):
|