about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--default.html7
-rw-r--r--html.c6
2 files changed, 10 insertions, 3 deletions
diff --git a/default.html b/default.html
index fefc9c7..7059e61 100644
--- a/default.html
+++ b/default.html
@@ -70,6 +70,13 @@ ul.recipient li:not(:last-child)::after {
 	content: ', ';
 	margin-right: 1ch;
 }
+ul.recipient li.group > address::after {
+	content: ': ';
+}
+ul.recipient li.group::after {
+	content: '; ';
+	margin-right: 1ch;
+}
 address.from::before {
 	content: 'From: ';
 }
diff --git a/html.c b/html.c
index ff08357..bdbc59c 100644
--- a/html.c
+++ b/html.c
@@ -31,9 +31,9 @@ static int htmlAddress(FILE *file, const char *class, struct Address addr) {
 		);
 	} else if (addr.mailbox) {
 		template = TEMPLATE(
-			<li>
-				<address class="[class] group">[mailbox]</address>
-				<ul class="group">
+			<li class="group">
+				<address class="[class]">[mailbox]</address>
+				<ul>
 		);
 	} else {
 		template = TEMPLATE(
/td> 2019-12-19Avoid matching := assignments as tagsJune McEnroe 2019-12-18Hide line numbers when rendering mdocJune McEnroe Hack: output an extra <td> after rendering mdoc so that line numbers can be hidden based on there being three. This required splitting source-filter and about-filter since on about pages there is no table. 2019-12-18Customize cgit CSSJune McEnroe 2019-12-18Use :target rather than :focus pseudo-classJune McEnroe :target persists after you click on something else. 2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe 2019-12-18Add git.causal.agency cgit configJune McEnroe 2019-12-18Bail from hi if input is binaryJune McEnroe NULs in the input cause an infinite loop in htmlEscape, not to mention regexes obviously not working, etc. 2019-12-16Post "cgit setup"June McEnroe