viewdefs is now boolean
[citadel.git] / webcit / blogview_renderer.c
index fcfada6e796cbb2dc4d4024876da614bd48eea94..3cf584af9623b9a92aead20e27081b37711a1e86 100644 (file)
@@ -54,12 +54,13 @@ void blogpost_render_and_destroy(struct blogpost *bp) {
                        /* Show the number of comments */
                        wc_printf("<a href=\"readfwd?p=%d?gotofirst=", bp->top_level_id);
                        urlescputs(ChrPtr(WC->CurRoom.name));
-                       wc_printf("\">%d comments</a>", bp->num_msgs - 1);
+                       wc_printf("#comments\">%d comments</a>", bp->num_msgs - 1);
                }
                else if (bp->num_msgs < 2) {
                        wc_printf("dere r no comments here!<br>\n");
                }
                else {
+                       wc_printf("<a name=\"comments\"></a>\n");
                        wc_printf("%d comments<br>\n", bp->num_msgs - 1);
                        wc_printf("<blockquote>");
                        for (i=1; i<bp->num_msgs; ++i) {