aboutsummaryrefslogtreecommitdiff
path: root/altnavbar.patch
diff options
context:
space:
mode:
Diffstat (limited to 'altnavbar.patch')
-rw-r--r--altnavbar.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/altnavbar.patch b/altnavbar.patch
new file mode 100644
index 0000000..10864bf
--- /dev/null
+++ b/altnavbar.patch
@@ -0,0 +1,42 @@
+--- a/views/header.html
++++ b/views/header.html
+@@ -1,6 +1,7 @@
+ <!doctype html>
+ <html>
+ <head>
++ <link rel="shortcut icon" href="/favicon.ico"/>
+ <title>honk</title>
+ <link href="/style.css{{ .StyleParam }}" rel="stylesheet">
+ {{ if .LocalStyleParam }}
+@@ -12,6 +13,8 @@
+ <link href="/icon.png" rel="icon">
+ <meta name="theme-color" content="#305">
+ <meta name="viewport" content="width=device-width">
++<meta name="description" content="Federated ActivityPub instance running the Honk server. things happen">
++<meta name="keywords" content="honk">
+ </head>
+ <body>
+ <header>
+@@ -57,6 +60,22 @@
+ </form>
+ </ul>
+ </details>
++
++<!-- CUSTOM HONK NAVIGATION BAR -->
++ <div id="altnavbar">
++ <a href="/newhonk" tabindex="2">new honk</a> |
++ <a title="Public timeline" href="/front">ptl</a> |
++ <a href="/">home</a> |
++ <a title="To fetch posts from a remote user" href="/xzone">fetch</a> |
++ <a href="/atme">@me</a> |
++ <a href="/u/{{ .UserInfo.Username}}">profile</a> |
++ <a href="/account">settings</a> |
++ <form style="display:inline" action="/q" method="GET">
++ <input type="text" tabindex="1" name="q" autocomplete="off" size="10" placeholder="search">
++ </form>
++ </div>
++<!-- END -->
++
+ <p id="topspacer"></p>
+ {{ else }}
+ <span><a id="homelink" href="/">home</a></span>