summaryrefslogtreecommitdiff
path: root/index.lua
diff options
context:
space:
mode:
Diffstat (limited to 'index.lua')
-rw-r--r--index.lua9
1 files changed, 2 insertions, 7 deletions
diff --git a/index.lua b/index.lua
index fea3fec..d8f7c2e 100644
--- a/index.lua
+++ b/index.lua
@@ -1,11 +1,6 @@
require"h"
-head ={ safereadf "head.html", tag("title","ubq323's website") }
-top = header {
- tag("img",{id="me",src="me.png"},""),
- h1 "ubq323's website",
- p [[rebecca, "ubq323" (she/her, 20) - eminently engromulent]],
-}
+head = mkhead("ubq323's website")
function l(text,path) return li(a(text,path or "/"..text)) end
mainsect = section {
@@ -47,5 +42,5 @@ footer = safe [[
print(html{
- head, top, mainsect, contact, footer
+ head, site_top, mainsect, contact, footer
})