Fix base and index template
This commit is contained in:
@@ -13,14 +13,6 @@
|
||||
<link rel="icon" type="image/png" href="/img/{{ .Commit}}/favicon.png" />
|
||||
{{ end }}
|
||||
|
||||
{{ range .Alternatives }}
|
||||
<link rel="alternate" type="{{ .Type }}" title="{{ .Title }}" href="{{ .URL }}" />
|
||||
{{ end }}
|
||||
|
||||
{{ range .Links }}
|
||||
<link href="{{ .Href }}" rel="{{ .Rel }}" />
|
||||
{{ end }}
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
@@ -104,7 +96,6 @@
|
||||
<a href="/abuse" target="_blank" class="menu-item">Abuse</a>
|
||||
<a href="/help" target="_blank" class="menu-item">Help</a>
|
||||
<a href="/support" target="_blank" class="menu-item">Support</a>
|
||||
<a href="/atom.xml" target="_blank">Atom <i class="icss-rss"></i></a>
|
||||
</div>
|
||||
</footer>
|
||||
{{ if $.Debug }}
|
||||
|
||||
@@ -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