diff options
author | Arun Isaac | 2022-12-25 14:45:22 +0000 |
---|---|---|
committer | Arun Isaac | 2022-12-25 23:33:04 +0000 |
commit | 38fb87bb4e34d88bc9f07e53a2e000b9eca88aac (patch) | |
tree | 2412e1dc42e7ab03a240da3457fc959da547aa17 /issues | |
parent | 3304bdae6d3df5ec0dd5b737743cbd2109d50423 (diff) | |
download | tissue-38fb87bb4e34d88bc9f07e53a2e000b9eca88aac.tar.gz tissue-38fb87bb4e34d88bc9f07e53a2e000b9eca88aac.tar.lz tissue-38fb87bb4e34d88bc9f07e53a2e000b9eca88aac.zip |
web: Do not pass project configuration to theme.
Parameters from the project configuration may be needed by the
theme. But, these parameters should not passed as explicit parameters
to the generic function of the theme. Instead, they should be passed
implicitly through the lexical context of the generic methods.
* tissue/web/server.scm (search-handler): Do not pass project to
search renderer.
* tissue/web/themes/default.scm: Do not import (tissue tissue).
(default-theme): New public function.
(make-head-renderer): New function.
(render-sxml): Make private. Remove project parameter from all generic
methods.
* tissue/tissue.scm (tissue-configuration): Set default value of
web-search-renderer to (default-theme) instead of render-sxml.
Diffstat (limited to 'issues')
0 files changed, 0 insertions, 0 deletions