Mercurial Hosting > freedit
diff src/lib/Shared.luan @ 4:a17e400ddaa1
add email
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 21 Jun 2022 11:58:27 -0600 |
parents | fc3ee39d7764 |
children | 2f20b11affdd |
line wrap: on
line diff
--- a/src/lib/Shared.luan Sun Jun 19 20:47:31 2022 -0600 +++ b/src/lib/Shared.luan Tue Jun 21 11:58:27 2022 -0600 @@ -41,6 +41,14 @@ <% end +function Shared.admin_header() +%> + <div header> + <a href="/private/admin.html">Admin</a> + </div> +<% +end + function Shared.base_url() return Http.request.scheme.."://"..Http.request.headers["host"] end