Mercurial Hosting > freedit
view src/lib/Shared.luan @ 2:fc2383eb48a9
set config
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 16 Jun 2022 20:52:24 -0600 |
parents | 6a1e2749571d |
children | fc3ee39d7764 |
line wrap: on
line source
local Luan = require "luan:Luan.luan" local error = Luan.error local Forum = require "site:/lib/Forum.luan" local Shared = {} function Shared.head() %> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> @import "/site.css"; </style> <% end function Shared.header() %> <div header> <a href="/"><%=Forum.title%></a> </div> <% end function Shared.footer() %> <div footer> <a href="/config.html">Configuration</a> </div> <% end return Shared