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

View File

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