You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.5 KiB
38 lines
1.5 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<link
|
|
rel="search"
|
|
type="application/opensearchdescription+xml"
|
|
title="riff-raff"
|
|
href="/search_plugin.xml"
|
|
/>
|
|
|
|
<Url type="application/opensearchdescription+xml"
|
|
rel="self"
|
|
template="/search_plugin.xml" />
|
|
</head>
|
|
<body style="display: flex; width: 100%; align-items: center; flex-direction: column;">
|
|
<div style="display: flex; align-content: center; flex-direction: column; min-width: 40%;">
|
|
<h1>I was only away for a minute... master.</h1>
|
|
<!-- Add search box form here for testing/adding shortcuts -->
|
|
<form action="/search" method="GET" style="display:flex; margin-bottom: 10px; width: 100%;">
|
|
<input type="text" name="q" value="" style="flex-grow: 1;"/>
|
|
<input type="submit" />
|
|
</form>
|
|
<div style="background: lightgray; padding: 10px 5px; margin-bottom: 10px;">
|
|
add <shortcut> <url>: adds a url as a shortcut<br/>
|
|
remove <shortcut> : removes a url shortcut<br/>
|
|
</div>
|
|
<ul style="list-style-type: none; padding: 0; margin-top: 15px;">
|
|
{{ range $key, $value := .Entries }}
|
|
<li>
|
|
- {{ $key }} → <a href="{{ $value }}">{{ $value }}</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|