summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--html.c1
-rw-r--r--stylesheet.c3
2 files changed, 1 insertions, 3 deletions
diff --git a/html.c b/html.c
index 25565c6..f8f8539 100644
--- a/html.c
+++ b/html.c
@@ -464,6 +464,7 @@ static uint32_t threadCount(struct List thread) {
 }
 
 static int htmlReplies(FILE *file, uint32_t replies) {
+	if (!replies) return 0;
 	const char *template = Q(
 		<data class="replies" value="[replies]">[replies] repl[ies]</data>
 	);
diff --git a/stylesheet.c b/stylesheet.c
index 236dea0..237bc96 100644
--- a/stylesheet.c
+++ b/stylesheet.c
@@ -27,9 +27,6 @@ const char Stylesheet[] = Q(
 	main.index time, main.index data.replies {
 		display: block;
 	}
-	main.index data.replies[value="0"] {
-		display: none;
-	}
 
 	article.message header {
 		background-color: gainsboro;
3' class='logmsg'> 2018-08-18Run tf/cfg link script with /bin/shJune McEnroe 2018-08-18Run {,s,t}up with /bin/shJune McEnroe 2018-08-18Use whence instead of typeJune McEnroe type is an alias for whence -v and is more for human consumption. 2018-08-18Cut off path components until right prompt fitsJune McEnroe Keeps paths valid (from somehwere) rather than abrupt truncation. 2018-08-17Add "private" alias to source encrypted fileJune McEnroe Why is there no easy way to *edit* an encrypted file? 2018-08-17Add vim mapping to add a #includeJune McEnroe