stagit

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.clttr.info/stagit.git
Log | Files | Refs | README | LICENSE

commit 164795c9c081578659d9fa4394b4d4fd9b978881
parent 289045115432562f5fb4ddc721bd9008e8df4ad5
Author: René Wagner <rwa@clttr.info>
Date:   Sat,  4 Jun 2022 21:57:54 +0200

add description to index

Diffstat:
Mstagit-index.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/stagit-index.c b/stagit-index.c @@ -105,9 +105,10 @@ writeheader(FILE *fp) fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath); fputs("</head>\n<body>\n", fp); fprintf(fp, "<table>\n<tr><td><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></td>\n" - "<td><span class=\"desc\">", relpath); + "<td><h1>", relpath); xmlencode(fp, description, strlen(description)); - fputs("</span></td></tr><tr><td></td><td>\n" + fputs("</h1><span>For bug reports, feature proposals, patches or pull requests mail" + "to <a href=\"mailto:rwa@clttr.info\">rwa@clttr.info</a></span></td></tr><tr><td></td><td>\n" "</td></tr>\n</table>\n<hr/>\n<div id=\"content\">\n" "<table id=\"index\"><thead>\n" "<tr><td><b>Name</b></td><td><b>Description</b></td><td><b>Owner</b></td>"