summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-05-11 12:49:56 -0400
committerJune McEnroe <june@causal.agency>2020-05-11 12:49:56 -0400
commitbdd0a2c0595a49785d4cfe870cb3e345713252ef (patch)
tree71875885497bd8ee15d0f0c1c310c3f80e54320d
parentEliminate stray whitespace in HTML and Atom (diff)
downloadbubger-bdd0a2c0595a49785d4cfe870cb3e345713252ef.tar.gz
bubger-bdd0a2c0595a49785d4cfe870cb3e345713252ef.zip
Remove base title from thread titles
-rw-r--r--bubger.15
-rw-r--r--html.c2
2 files changed, 3 insertions, 4 deletions
diff --git a/bubger.1 b/bubger.1
index f257bd3..324d7c6 100644
--- a/bubger.1
+++ b/bubger.1
@@ -1,4 +1,4 @@
-.Dd May  1, 2020
+.Dd May 11, 2020
 .Dt BUBGER 1
 .Os
 .
@@ -87,8 +87,7 @@ link of
 to the index page navigation.
 .
 .It Fl t Ar title
-Set the base title for HTML pages
-and the index Atom feed.
+Set the title for the index HTML page and Atom feed.
 The default title is the mailbox name.
 .
 .It Fl u Ar base
diff --git a/html.c b/html.c
index 0d086da..99f04c7 100644
--- a/html.c
+++ b/html.c
@@ -380,7 +380,7 @@ int htmlThreadHead(FILE *file, const struct Envelope *envelope) {
 		Q(<!DOCTYPE html>)
 		Q(<meta charset="utf-8">)
 		Q(<meta name="generator" content="[generator]">)
-		Q(<title>[subject] &middot; [title]</title>)
+		Q(<title>[subject]</title>)
 		Q(<link rel="alternate" type="application/atom+xml" href="[atom]">)
 		Q(<link rel="alternate" type="application/mbox" href="[mbox]">)
 	};