Software / code / prosody-modules
Comparison
mod_http_index/README.markdown @ 3752:8992f84ca870
mod_http_index: Only show http apps that include a title by default
This lets http modules indicate whether they make sense to be
user-facing or not.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 17 Nov 2019 16:33:28 +0100 |
| parent | 3751:cb9517827d76 |
| child | 5995:28b386fc7a05 |
comparison
equal
deleted
inserted
replaced
| 3751:cb9517827d76 | 3752:8992f84ca870 |
|---|---|
| 20 } | 20 } |
| 21 ``` | 21 ``` |
| 22 | 22 |
| 23 # Advanced | 23 # Advanced |
| 24 | 24 |
| 25 ## Listing all items | |
| 26 | |
| 27 By default only HTTP apps that include a human-readable title are | |
| 28 listed. This filtering can be disabled by setting: | |
| 29 | |
| 30 ```lua | |
| 31 http_index_list_all = true | |
| 32 ``` | |
| 33 | |
| 25 ## Template | 34 ## Template |
| 26 | 35 |
| 27 The template can be customized by copying the included `http_index.html` | 36 The template can be customized by copying the included `http_index.html` |
| 28 and pointing to it with the `http_index_template` setting: | 37 and pointing to it with the `http_index_template` setting: |
| 29 | 38 |