Browse Source

simple cosmetic counters

byte 6 months ago
parent
commit
485986dab9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      html.c

+ 1 - 1
html.c

@@ -3710,7 +3710,7 @@ xs_html *html_people_list(snac *user, xs_list *list, const char *header, const c
     xs_html *people = xs_html_tag("div",
     xs_html *people = xs_html_tag("div",
         xs_html_tag("h2",
         xs_html_tag("h2",
             xs_html_attr("class", "snac-header"),
             xs_html_attr("class", "snac-header"),
-            xs_html_text(header)),
+            xs_html_raw(xs_fmt("%s - %d\n", header, xs_list_len(list)))),
         snac_posts = xs_html_tag("details",
         snac_posts = xs_html_tag("details",
                 xs_html_attr("open", NULL),
                 xs_html_attr("open", NULL),
                 xs_html_tag("summary",
                 xs_html_tag("summary",