logo

stagit

STAtic GIT web view generator (in C) git clone https://hacktivis.me/git/stagit.git
commit: 45c5c8dcc1dd9e52544f10d24b2310730bad7bcc
parent a284f3a9b56601e2c7fe6e04d150c56ad8b517d6
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 @@ -86,7 +86,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>Please <a href=\"https://hacktivis.me/about\">contact me</a> by any means for patches, issues(tracker will maybe be added oneday), thanks/donations, or whatever else.</footer>\n", fp); + fputs("</body>\n</html>\n", fp); } int diff --git a/stagit.c b/stagit.c @@ -522,7 +522,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>Please <a href=\"https://hacktivis.me/about\">contact me</a> by any means for patches, issues(tracker will maybe be added oneday), thanks/donations, or whatever else.</footer>\n", fp); + fputs("</body>\n</html>\n", fp); } size_t