view src/lib/Shared.luan @ 0:c604a58600be

start
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 07 Apr 2022 16:06:10 -0600
parents
children da780d885325
line wrap: on
line source

local Luan = require "luan:Luan.luan"
local error = Luan.error


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="/">Reactionary Software</a>
		</div>
<%
end

return Shared