Mercurial > prosody-modules
diff mod_http_dir_listing2/resources/template.html @ 3002:c91c9b87929e
mod_http_dir_listing2: Switch to util.interpolation for HTML rendering
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 16 Apr 2018 21:18:47 +0200 |
parents | 1108a40c3118 |
children |
line wrap: on
line diff
--- a/mod_http_dir_listing2/resources/template.html Mon Apr 16 21:03:13 2018 +0200 +++ b/mod_http_dir_listing2/resources/template.html Mon Apr 16 21:18:47 2018 +0200 @@ -7,7 +7,9 @@ <body> <h1>Index of {path}</h1> - {filelist} + <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>