Fix base and index template
This commit is contained in:
@@ -1,22 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>veri</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<a href="/"><h1>veri</h1></a>
|
||||
</header>
|
||||
<main>
|
||||
<form action="/search" method="get">
|
||||
<input type="text" id="search" name="q"><br><br>
|
||||
<input type="submit" value="Search">
|
||||
</form>
|
||||
</main>
|
||||
<footer>
|
||||
<p><a href="https://sr.ht/~ols/veri/">about</a></p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
{{define "content"}}
|
||||
<article class="container">
|
||||
<form action="/search" method="GET">
|
||||
<input type="text" id="search" name="q" placeholder="{{ $.SearchPrompt }}">
|
||||
<button id="go" type="submit">
|
||||
<i class="icss-search"></i>
|
||||
Go!
|
||||
</button>
|
||||
</form>
|
||||
</article>
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user