Add bottom navigation bar

This commit is contained in:
2025-09-17 22:50:35 +09:00
parent 9f0767e0bf
commit cff8aaef04
6 changed files with 62 additions and 0 deletions

View File

@@ -31,5 +31,17 @@
{{end}}
</ul>
<div>
<br />
<a href="/">
<picture>
<source srcset="/logo.png?a=static" media="(prefers-color-scheme: light)">
<source srcset="/logo-dark.png?a=static" media="(prefers-color-scheme: dark)">
<img src="/logo.png?a=static" alt="{{.SiteName}}">
</picture>
</a>
<a href="/">Back</a>
</div>
</body>
</html>

View File

@@ -15,6 +15,7 @@
<title>Edit - {{.Name}} - {{.SiteName}}</title>
</head>
<body>
<a id="top"></a>
<h1>Edit - {{.Name}}</h1>
@@ -47,5 +48,9 @@
</div>
{{end}}
<div>
<br />
<a href="#top">Top</a>
</div>
</body>
</html>

View File

@@ -38,5 +38,18 @@
<input type="submit" name="revert" value="Revert" />
</form>
<div>
<br />
<a href="/">
<picture>
<source srcset="/logo.png?a=static" media="(prefers-color-scheme: light)">
<source srcset="/logo-dark.png?a=static" media="(prefers-color-scheme: dark)">
<img src="/logo.png?a=static" alt="{{.SiteName}}">
</picture>
</a>
<a href="/{{.Name | pathescape}}">Current</a>
<a href="/{{.Name | pathescape}}?a=revs">Rev.</a>
</div>
</body>
</html>

View File

@@ -41,5 +41,17 @@ No revisions found.
{{end}}
</ul>
<div>
<br />
<a href="/">
<picture>
<source srcset="/logo.png?a=static" media="(prefers-color-scheme: light)">
<source srcset="/logo-dark.png?a=static" media="(prefers-color-scheme: dark)">
<img src="/logo.png?a=static" alt="{{.SiteName}}">
</picture>
</a>
<a href="/{{.Name | pathescape}}">Current</a>
</div>
</body>
</html>

View File

@@ -10,6 +10,7 @@
<title>Search - {{.SiteName}}</title>
</head>
<body>
<a id="top"></a>
<h1>Search</h1>
@@ -52,5 +53,9 @@ Content Search
</ul>
{{end}}
<div>
<br />
<a href="#top">Top</a>
</div>
</body>
</html>

View File

@@ -43,5 +43,20 @@
{{.Rendered}}
</div>
<div>
<br />
<a href="/">
<picture>
<source srcset="/logo.png?a=static" media="(prefers-color-scheme: light)">
<source srcset="/logo-dark.png?a=static" media="(prefers-color-scheme: dark)">
<img src="/logo.png?a=static" alt="{{.SiteName}}">
</picture>
</a>
<a href="/{{.Name | pathescape}}?a=edit">Edit</a>
<a href="/{{.Name | pathescape}}?a=revs">Rev.</a>
<a href="/?a=search">Search</a>
<a href="/?a=all">All</a>
</div>
</body>
</html>