Remove superfluous notice on search results

This commit is contained in:
James Mills
2021-02-03 01:01:47 +10:00
parent 929c91af02
commit 382fd677c3
2 changed files with 53 additions and 42 deletions

View File

@@ -1,6 +1,7 @@
{{define "base"}}
<!DOCTYPE html>
<html lang="en" {{ with .Theme }}data-theme="{{ . }}" {{ end }}>
<head>
{{ if $.Debug }}
<link href="/css/01-pico.css" rel="stylesheet" />
@@ -19,19 +20,29 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{ .InstanceName }} {{ .Title }}</title>
{{ with .Meta.Title }}<meta name="title" content="{{ . }}">{{ end }}
{{ with .Meta.Author }}<meta name="author" content="{{ . }}">{{ end }}
{{ with .Meta.Keywords }}<meta name="keywords" content="{{ . }}">{{ end }}
{{ with .Meta.Description }}<meta name="description" content="{{ . }}">{{ end }}
{{ with .Meta.Title }}
<meta name="title" content="{{ . }}">{{ end }}
{{ with .Meta.Author }}
<meta name="author" content="{{ . }}">{{ end }}
{{ with .Meta.Keywords }}
<meta name="keywords" content="{{ . }}">{{ end }}
{{ with .Meta.Description }}
<meta name="description" content="{{ . }}">{{ end }}
<!-- OpenGraph Meta Tags -->
{{ with .Meta.Title }}<meta property="og:title" content="{{ . }}">{{ end }}
{{ with .Meta.Description }}<meta property="og:description" content="{{ . }}">{{ end }}
{{ with .Meta.UpdatedAt }}<meta property="og:updated_time" content="{{ . }}" />{{ end }}
{{ with .Meta.Image }}<meta property="og:image" content="{{ . }}">{{ end }}
{{ with .Meta.URL }}<meta property="og:url" content="{{ . }}">{{ end }}
{{ with .Meta.Title }}
<meta property="og:title" content="{{ . }}">{{ end }}
{{ with .Meta.Description }}
<meta property="og:description" content="{{ . }}">{{ end }}
{{ with .Meta.UpdatedAt }}
<meta property="og:updated_time" content="{{ . }}" />{{ end }}
{{ with .Meta.Image }}
<meta property="og:image" content="{{ . }}">{{ end }}
{{ with .Meta.URL }}
<meta property="og:url" content="{{ . }}">{{ end }}
<meta property="og:site_name" content="{{ .InstanceName }}">
</head>
<body>
<nav id="mainNav" class="container-fluid">
<ul>
@@ -76,7 +87,7 @@
{{template "content" . }}
<div class="container-fluid">
<small>
This search engine is a <i>work in progress</i>
This search engine is a <i>work-in-progress</i>.
Please contact <a href="/support">Support</a>
if you have any questions, concerns or feedback!
</small>
@@ -106,5 +117,6 @@
<script type="application/javascript" src="/js/{{ .Commit }}/spyda.min.js"></script>
{{ end }}
</body>
</html>
{{end}}

View File

@@ -21,6 +21,5 @@
<p>No search results</p>
{{ end }}
{{ end }}
<small>If your page appears here and you do not want it to, please contact <a href="/support">Support</a></small>
</div>
{{end}}