scope/templates/base.html

36 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>{{template "page" .}} - {{.Config "site.name"}}</title>
<link rel="search" type="application/opensearchdescription+xml" title='{{.Config "site.name"}}' href="/opensearch">
<link rel="stylesheet" href="/static/ext/bulma.min.css">
<script async src="/static/ext/iconify.min.js"></script>
{{if .Config "site.theme" | ne "light"}}
<link rel="stylesheet" href="/static/DarkReader-scope.css">
{{end}}
{{if .Card}}
{{.Card.Head}}
{{end}}
</head>
<body>
{{template "body" .}}
{{if .Config "page.results.footer.enabled"}}
<section id="footer" class="px-4 py-0 has-background-light is-fullwidth mt-3">
<div class="columns">
<div class="column is-one-quarter has-text-left is-hidden-mobile">
<p>Rendered in {{.LoadTime}}</p>
</div>
<div class="column has-text-right has-text-centered-mobile">
<p class="is-hidden-mobile">Powered by Scope &mdash; A simple and minimal metasearch engine</span>
<div>
Licensed under the
<a href="https://www.gnu.org/licenses/agpl-3.0-standalone.html">AGPLv3</a>.
<a href='{{.Config "site.sourceURL"}}'>Source Code</a>.
</div>
</div>
</div>
</section>
{{end}}
</body>
</html>