Commit 113ee25f authored by Laurent Bachelier's avatar Laurent Bachelier

Style fixes

parent a1f4cc8d
......@@ -36,6 +36,7 @@ class Post(object):
self.title = None
self.content = None
class BlogAction(ViewAction):
def get(self):
f = self.ctx.file
......@@ -57,7 +58,6 @@ class BlogAction(ViewAction):
self.ctx.template_vars['stylesheets'].append('blog.css')
self.ctx.res.body = self.ctx.render('blog.html')
pass
class BlogListAction(ViewAction):
NB_ENTRIES = 20
......@@ -110,6 +110,7 @@ class BlogListAction(ViewAction):
self.ctx.template_vars['stylesheets'].append('blog.css')
self.ctx.res.body = self.ctx.render('blog.html')
class BlogPlugin(Plugin):
def init(self):
self.register_web_view(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment