logo

stagit

STAtic GIT web view generator (in C) git clone https://hacktivis.me/git/stagit.git
commit: 438dc792f01165c8d78fbacb99688ce34824a218
parent c20a0e1855ff30f8b4d21a740de05eefd9f041cb
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 21 Apr 2018 17:31:24 +0200

stagit*.c: Custom footer

Diffstat:

Mstagit-index.c4+++-
Mstagit.c4+++-
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/stagit-index.c b/stagit-index.c @@ -118,7 +118,9 @@ writeheader(FILE *fp) void writefooter(FILE *fp) { - fputs("</tbody>\n</table>\n</div>\n</body>\n</html>\n", fp); + fputs("</tbody>\n</table>\n</div>\n",fp); + fputs("\t<footer>Here's my <a href=\"https://hacktivis.me/about\">contacts</a> for patches, issues (tracker will maybe be added oneday), …\n", fp); + fputs("</body>\n</html>\n", fp); } int diff --git a/stagit.c b/stagit.c @@ -556,7 +556,9 @@ writeheader(FILE *fp, const char *title) void writefooter(FILE *fp) { - fputs("</main>\n</body>\n</html>\n", fp); + fputs("</main>\n", fp); + fputs("\t<footer>Here's my <a href=\"https://hacktivis.me/about\">contacts</a> for patches, issues (tracker will maybe be added oneday), …\n", fp); + fputs("</body>\n</html>\n", fp); } size_t