refactor render function and add home page

This commit is contained in:
rramiachraf
2022-10-26 23:19:03 +01:00
parent e7e08aad6d
commit 4b70a153aa
6 changed files with 56 additions and 12 deletions

18
views/home.tmpl Normal file
View File

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>dumb</title>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="/static/style.css" />
</head>
<body>
<h1 id="nav">DUMB</h1>
<div id="home">
<div>
<h1>Welcome to dumb</h1>
<p>An alternative frontend for genius.com</p>
</div>
<code>Just redirect Genius URLs to this instance and It's all good.</code>
</div>
</body>
</html>