aboutsummaryrefslogtreecommitdiff
path: root/altnavbar.patch
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-06-17 22:30:49 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-06-17 22:31:25 +0100
commit015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30 (patch)
tree81cf315da47e263a79a892428240502cf0f7d079 /altnavbar.patch
parentbf1a991d4337ebc15ed4e52176c8acf382ef0701 (diff)
downloadhonk_custom-015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30.tar.gz
honk_custom-015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30.zip
shorter patch names, updated README.md, new Makefile
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>