mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 09:49:29 +02:00
pregen html_head when static
This commit is contained in:
parent
d08e872062
commit
435db14798
16 changed files with 50 additions and 20 deletions
|
@ -64,6 +64,8 @@ if you give it the value `@ASDF` it will try to open a file named ASDF and send
|
|||
|
||||
if the value starts with `%` it will assume a jinja2 template and expand it; the template has access to the `HttpCli` object through a property named `this` as well as everything in `j2a` and the stuff added by `self.j2s`; see [browser.html](https://github.com/9001/copyparty/blob/hovudstraum/copyparty/web/browser.html) for inspiration or look under the hood in [httpcli.py](https://github.com/9001/copyparty/blob/hovudstraum/copyparty/httpcli.py)
|
||||
|
||||
there is also `--html-head-s` and volflag `html_head_s` to add a plain static bit of text, possibly in addition to `--html-head`
|
||||
|
||||
|
||||
# translations
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue