Mercurial > libervia-web
view libervia/pages/_browser/browser_meta.json @ 1258:92ff09cdd6dd
server: gather themes data:
- the new LiberviaRootResource's `site_themes` attribute is a set of available themes for
a site, it is set a template variable for pages.
- if `browser_meta` are available for a theme, the metadata are merged with pages root
`_browser` data
- if python files are found in `browser_path`, they are added to be handled by brython
task.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 03 May 2020 19:28:14 +0200 |
parents | 1ec41ac1e7cf |
children |
line wrap: on
line source
{ "js": { "package": { "dependencies": { "nunjucks": "latest", "ogv": "latest" } }, "brython_map": { "nunjucks": "nunjucks/browser/nunjucks.min.js", "ogv": { "path": "ogv/dist/ogv.js", "export": ["OGVCompat", "OGVLoader", "OGVMediaError", "OGVMediaType", "OGVTimeRanges", "OGVPlayer", "OGVVersion"], "extra_init": "OGVLoader.base='/{build_dir}/node_modules/ogv/dist'" } } } }