瀏覽代碼

simple cosmetic counters

byte 6 月之前
父節點
當前提交
485986dab9
共有 1 個文件被更改,包括 1 次插入1 次删除
  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_tag("h2",
             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",
                 xs_html_attr("open", NULL),
                 xs_html_tag("summary",