Initial Commit
This commit is contained in:
33
templates/base.html
Normal file
33
templates/base.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<!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/bulma.min.css">
|
||||
<script async src="/static/iconify.min.js"></script>
|
||||
{{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 — 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>
|
||||
Reference in New Issue
Block a user