Comparison

mod_conversejs/README.markdown @ 5895:1c8197075d04

mod_conversejs: Allow installation as PWA
author BetaRays <BetaRays@proton.me>
date Sun, 17 Mar 2024 15:05:29 +0100
parent 4913:47d03db2fca8
comparison
equal deleted inserted replaced
5894:1ac4a59ac575 5895:1c8197075d04
156 } 156 }
157 ``` 157 ```
158 158
159 The example above uses the `[[` and `]]` syntax simply because it will not conflict with any embedded quotes. 159 The example above uses the `[[` and `]]` syntax simply because it will not conflict with any embedded quotes.
160 160
161 Custimizing the generated PWA options
162 -------------------------------------
163
164 ``` {.lua}
165 conversejs_name = "Service name" -- Also used as the web page title
166 conversejs_short_name = "Shorter name"
167 conversejs_description = "Description of the service"
168 conversejs_manifest_icons = {
169 {
170 src = "https://example.com/logo/512.png",
171 sizes = "512x512",
172 },
173 {
174 src = "https://example.com/logo/192.png",
175 sizes = "192x192",
176 },
177 {
178 src = "https://example.com/logo/192.svg",
179 sizes = "192x192",
180 },
181 {
182 src = "https://example.com/logo/512.svg",
183 sizes = "512x512",
184 },
185 }
186 conversejs_pwa_color = "#397491"
187 ```
188
161 Compatibility 189 Compatibility
162 ============= 190 =============
163 191
164 Prosody version state 192 Prosody version state
165 ----------------- --------------- 193 ----------------- ---------------