Mercurial > hg > decoupage
comparison decoupage/web.py @ 14:4ca2530f8be1
stub for putting stylesheets and includes on templates"
author | k0s <k0scist@gmail.com> |
---|---|
date | Fri, 25 Dec 2009 17:20:06 -0500 |
parents | ab0c2bb4d23d |
children | 8923fda80bd4 |
comparison
equal
deleted
inserted
replaced
13:ab0c2bb4d23d | 14:4ca2530f8be1 |
---|---|
97 | 97 |
98 # build data dictionary | 98 # build data dictionary |
99 files = self.filedata(path, directory, conf) | 99 files = self.filedata(path, directory, conf) |
100 data = {'path': path, 'files': files, 'request': request } | 100 data = {'path': path, 'files': files, 'request': request } |
101 data['title'] = conf.get('/title') | 101 data['title'] = conf.get('/title') |
102 data['direcory'] = directory | |
103 data['include'] = None | |
104 data['css'] = () | |
102 | 105 |
103 # apply formatters | 106 # apply formatters |
104 # XXX this should be cached if not self.auto_reload | 107 # XXX this should be cached if not self.auto_reload |
105 if '/formatters' in conf: | 108 if '/formatters' in conf: |
106 # ordered list of formatters to be applied first | 109 # ordered list of formatters to be applied first |