comparison mod_http_index/http_index.html @ 3336:4af114684e0a

mod_http_index: Allow listed modules to include a friendlier name Example: ``` module:provides("http", { name = "demo"; title = "Demo HTTP Module"; route = { GET = function() return "Hello"; end; }; }); ```
author Kim Alvefur <zash@zash.se>
date Thu, 27 Sep 2018 17:13:10 +0200
parents 04fe2b41da91
children 4c1f80076606
comparison
equal deleted inserted replaced
3335:04fe2b41da91 3336:4af114684e0a
31 </header> 31 </header>
32 <hr> 32 <hr>
33 <div class="content"> 33 <div class="content">
34 <nav> 34 <nav>
35 <ul>{items# 35 <ul>{items#
36 <li><a href="{item.url}" title="{item.module}">{item.name}</a></li>} 36 <li><a href="{item.url}" title="{item.module}">{item.title?{item.name}}</a></li>}
37 </ul> 37 </ul>
38 </nav> 38 </nav>
39 </div> 39 </div>
40 <hr> 40 <hr>
41 <footer> 41 <footer>