diff src/index.html.luan @ 3:fc3ee39d7764

login
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 19 Jun 2022 20:47:31 -0600
parents 6a1e2749571d
children be36282b556a
line wrap: on
line diff
--- a/src/index.html.luan	Thu Jun 16 20:52:24 2022 -0600
+++ b/src/index.html.luan	Sun Jun 19 20:47:31 2022 -0600
@@ -7,6 +7,7 @@
 local header = Shared.header or error()
 local footer = Shared.footer or error()
 local Forum = require "site:/lib/Forum.luan"
+local forum_title = Forum.title or error()
 
 
 return function()
@@ -16,7 +17,7 @@
 <html>
 	<head>
 <%		head() %>
-		<title><%=Forum.title%></title>
+		<title><%=forum_title%></title>
 	</head>
 	<body>
 <%		header() %>