forked from mirror/oddmu
To transjovian.org and default theme. I must have dropped it at some point but I think it makes no sense.
47 lines
1.6 KiB
HTML
47 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{.Language}}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="format-detection" content="telephone=no">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
|
|
<title>{{.Title}}</title>
|
|
<style>
|
|
html { max-width: 70ch; padding: 1ch; margin: auto; color: #111; background-color: #ffe }
|
|
body { hyphens: auto }
|
|
header a { margin-right: 1ch }
|
|
h1 { text-wrap: balance }
|
|
form { display: inline-block }
|
|
input#search { width: 12ch }
|
|
button { background-color: #eee; color: inherit; border-radius: 4px; border-width: 1px }
|
|
footer { border-top: 1px solid #888 }
|
|
img { max-width: 100% }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<a href="#main">Skip</a>
|
|
<a href="/view/index">Home</a>
|
|
<a href="changes">Changes</a>
|
|
<a href="/edit/{{.Path}}" accesskey="e">Edit</a>
|
|
<a href="/add/{{.Path}}" accesskey="a">Add</a>
|
|
<a href="/diff/{{.Path}}" accesskey="d">Diff</a>
|
|
<a href="/archive/{{.Dir}}data.zip" accesskey="z">Zip</a>
|
|
<a href="/upload/{{.Dir}}?filename={{.Base}}-1.jpg&pagename={{.Base}}" accesskey="u">Upload</a>
|
|
<form role="search" action="/search/{{.Dir}}" method="GET">
|
|
<label for="search">Search:</label>
|
|
<input id="search" type="text" spellcheck="false" name="q" accesskey="f" placeholder="term #tag title:term blog:true" required>
|
|
<button>Go</button>
|
|
</form>
|
|
</header>
|
|
<main>
|
|
<h1>{{.Title}}</h1>
|
|
{{.Html}}
|
|
</main>
|
|
<footer>
|
|
<address>
|
|
Comments? Send mail to Your Name <<a href="mailto:you@example.org">you@example.org</a>>
|
|
</address>
|
|
</footer>
|
|
</body>
|
|
</html>
|