Mercurial > prosody-modules
view mod_http_dir_listing2/resources/template.html @ 4525:b68b801ddc50
mod_rest: Restore 'kind' property in JSON-mapped objects
The datamapper schema has no 'kind' field, instead handling it as a
top-level property of the currently unused <xmpp> element and doing this
early dispatch on the top level element name.
This puts the field back into the output JSON.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 23 Mar 2021 17:44:49 +0100 |
parents | c91c9b87929e |
children |
line wrap: on
line source
<html> <head> <title>Index of {path}</title> <meta charset="utf-8"/> <style>{style}</style> </head> <body> <h1>Index of {path}</h1> <ul class="filelist">{filelist# <li class="{item.class}"><a href="{item.href}"{item.rel& rel="{item.rel}"}>{item.text}</a></li>} </ul> <footer>{footer}</footer> </body> </html>