Mercurial > hg > bitsyblog
diff bitsyblog/bitsyblog.py @ 16:2bd6b2b543dc
now have blog entry snippets
author | k0s <k0scist@gmail.com> |
---|---|
date | Sun, 25 Oct 2009 18:11:25 -0400 |
parents | 36698624435b |
children | e5cbc53cacf8 |
line wrap: on
line diff
--- a/bitsyblog/bitsyblog.py Sun Oct 25 17:25:58 2009 -0400 +++ b/bitsyblog/bitsyblog.py Sun Oct 25 18:11:25 2009 -0400 @@ -230,10 +230,11 @@ # GENSHI: data dictionary request.environ['data'] = { 'site_name': self.site_name, 'request': request, - 'link': self.liin} + 'link': self.link, + 'escape': cgi.escape } # front matter of the site - index = self.get_index() + index = get_index() if index is not None: return index @@ -883,7 +884,8 @@ # GENSHI: global data dictionary request.environ['data'] = { 'site_name': self.site_name, 'request': request, - 'link': self.link } + 'link': self.link, + 'escape': cgi.escape } ### user space user, path = self.userpath(request)