commit f75a467711364a5eac72a2d7946ba07e1194c204
parent f8f51e0742d0220eba359c4a20304c3c6c7456ad
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date: Sat, 23 Mar 2024 21:59:47 -0700
Link to the about page in the index page
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/pages/index.c b/pages/index.c
@@ -35,5 +35,12 @@ pageindex(struct pagedata *pd)
return status;
}
+ if ((status = khtml_elem(&pd->html, KELEM_P)) != KCGI_OK ||
+ (status = khtml_elem(&pd->html, KELEM_HR)) != KCGI_OK ||
+ (status = htmllink(pd, pd->pages[PageAbout], "Learn more about the project")) != KCGI_OK ||
+ (status = khtml_putc(&pd->html, '.')) != KCGI_OK ||
+ (status = khtml_closeelem(&pd->html, 1)))
+ return status;
+
return endpage(pd, &template);
}