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]">)
 	};
602bdbd5a5d0161e465326ea8d&follow=1'>tests: successfully validate rc versionsChristian Hesse 2019-06-05git: update to v2.21.0Christian Hesse 2019-06-05ui-ssdiff: ban strncat()Christian Hesse 2019-06-05global: make 'char *path' const where possibleChristian Hesse 2019-05-20ui-shared: restrict to 15 levelsJason A. Donenfeld 2019-02-23ui-diff,ui-tag: don't use htmlf with non-formatted stringsChris Mayo 2019-02-23ui-ssdiff: resolve HTML5 validation errorsChris Mayo 2019-01-03filters: migrate from luacrypto to luaosslJason A. Donenfeld 2019-01-02ui-shared: fix broken sizeof in title setting and rewriteJason A. Donenfeld 2018-12-09git: update to v2.20.0Christian Hesse 2018-11-25ui-blame: set repo for sbJason A. Donenfeld 2018-11-25auth-filter: pass url with query string attachedJason A. Donenfeld 2018-11-21git: use xz compressed archive for downloadChristian Hesse 2018-10-12git: update to v2.19.1Christian Hesse 2018-09-11ui-ssdiff: ban strcat()Christian Hesse 2018-09-11ui-ssdiff: ban strncpy()Christian Hesse 2018-09-11ui-shared: ban strcat()Christian Hesse 2018-09-11ui-patch: ban sprintf()Christian Hesse 2018-09-11ui-log: ban strncpy()Christian Hesse 2018-09-11ui-log: ban strcpy()Christian Hesse 2018-09-11parsing: ban sprintf()Christian Hesse 2018-09-11parsing: ban strncpy()Christian Hesse 2018-08-28filters: generate anchor links from markdownChristian Hesse 2018-08-03Bump version.Jason A. Donenfeld 2018-08-03clone: fix directory traversalJason A. Donenfeld 2018-08-03config: record repo.snapshot-prefix in the per-repo configKonstantin Ryabitsev