Mercurial > prosody-modules
view mod_http_dir_listing2/resources/template.html @ 5526:46e512f4ba14
mod_http_oauth2: Simplify template using if-falsy operator
Relies on Prosody rev af1e3b7d9ea3 which added the {var~if-falsy},
released in 0.12. Since this module requires trunk this is fine.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 07 Jun 2023 12:54:52 +0200 |
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>