mirror of
https://github.com/YGGverse/nexy.git
synced 2026-03-31 17:25:27 +00:00
implement list_url_encode argument with optional regex value support
This commit is contained in:
parent
aa40a51440
commit
bc4bc506f8
4 changed files with 44 additions and 4 deletions
13
README.md
13
README.md
|
|
@ -77,14 +77,20 @@ nexy -p /path/to/public_dir
|
|||
|
||||
* this template file expects pattern and cannot be in binary format
|
||||
|
||||
**Patterns** * `{list}` - entries list for the `public` directory * `{hosts}` - unique visitors count * `{hits}` - requests count
|
||||
**Patterns**
|
||||
* `{list}` - entries list for the `public` directory
|
||||
* `{hosts}` - unique visitors count
|
||||
* `{hits}` - requests count
|
||||
|
||||
--template-index <TEMPLATE_INDEX>
|
||||
Absolute path to the `Index` template file for each directory
|
||||
|
||||
* this template file expects pattern and cannot be in binary format
|
||||
|
||||
**Patterns** * `{list}` - entries list for the current directory * `{hosts}` - unique visitors count * `{hits}` - requests count
|
||||
**Patterns**
|
||||
* `{list}` - entries list for the current directory
|
||||
* `{hosts}` - unique visitors count
|
||||
* `{hits}` - requests count
|
||||
|
||||
--list-dir-show-count
|
||||
Show files count in dir (as the alternative text for navigation links)
|
||||
|
|
@ -150,6 +156,9 @@ nexy -p /path/to/public_dir
|
|||
|
||||
[default: %Y/%m/%d]
|
||||
|
||||
--list-url-encode <LIST_URL_ENCODE>
|
||||
Encode listing URL match regex pattern (use `.*` for all entries)
|
||||
|
||||
-r, --read-chunk <READ_CHUNK>
|
||||
Optimize memory usage on reading large files or stream
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue