Mercurial Hosting > disearch
view src/lib/Shared.luan @ 2:5ae5fbce0d75
start header
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 21 Oct 2023 21:29:56 -0600 |
parents | d19b150ecb83 |
children | 8896ffd7b152 |
line wrap: on
line source
local Luan = require "luan:Luan.luan" local error = Luan.error local Time = require "luan:Time.luan" local Shared = {} local started = Time.now() function Shared.head() %> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> @import "/site.css?s=<%=started%>"; </style> <% end function Shared.header() %> <div header> <h1><a href="/">Disearch</a></h1> <span>login</span> </div> <hr> <% end function Shared.footer() %> <hr> <div footer> something or other in the footer </div> <% end return Shared