Remove superfluous notice on search results
This commit is contained in:
@@ -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}}
|
||||
|
||||
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user