about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-16 10:59:40 -0400
committerJune McEnroe <june@causal.agency>2020-04-16 10:59:40 -0400
commit7406d6e90761064ffba5e46024654427b19a8843 (patch)
tree79781740148562e911f000698364b31348563321
parentRender text/plain to HTML (diff)
downloadbubger-7406d6e90761064ffba5e46024654427b19a8843.tar.gz
bubger-7406d6e90761064ffba5e46024654427b19a8843.zip
Move message fragment link to subject
Diffstat (limited to '')
-rw-r--r--html.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/html.c b/html.c
index b977137..22fafd5 100644
--- a/html.c
+++ b/html.c
@@ -105,14 +105,13 @@ int htmlMessageOpen(FILE *file, const struct Envelope *envelope) {
 	const char *template = TEMPLATE(
 		<article class="message" id="[messageID]">
 		<header>
-			<h2>[subject]</h2>
+			<h2><a href="[fragment]">[subject]</a></h2>
 			<address class="from">
 				<a href="[mailto]">[from]</a>
 			</address>
 			<time datetime="[utc]">[date]</time>
 			<nav>
 				<ul>
-					<li><a href="[fragment]">permalink</a></li>
 					<li><a href="[mbox]">mbox</a></li>
 				</ul>
 			</nav>