From 0e8cf9cf4e8aa43c474cca64c3f795778ab75e6c Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 17 Oct 2020 00:30:44 -0400 Subject: Revert to original header --- stagit-index.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/stagit-index.c b/stagit-index.c index 83d66ca..488637f 100644 --- a/stagit-index.c +++ b/stagit-index.c @@ -12,8 +12,8 @@ static git_repository *repo; static const char *relpath = ""; -static char description[255] = "Chausse Benjamin"; -static char *name = "test"; +static char description[255] = "Repositories"; +static char *name = "Benjamin Chausse"; static char owner[255]; void @@ -66,16 +66,19 @@ writeheader(FILE *fp) fputs("\n" "\n\n" "\n" - "\n" - "Git Repositories | Oscar Benedito\n", fp); - fprintf(fp, "\n", relpath); + "", fp); + xmlencode(fp, description, strlen(description)); + fprintf(fp, "\n\n", relpath); fprintf(fp, "\n", relpath); - fputs("\n\n

", fp); + fputs("\n\n", fp); + fprintf(fp, "\n\n" + "
\"\"", relpath); xmlencode(fp, description, strlen(description)); - fputs("\n
\n" - "

Repositories

\n" - "
\n\n" - "" + fputs("\n
NameDescriptionLast commit
\n" + "
\n
\n
\n" + "\n" + "" + "" "\n", fp); } -- cgit v1.2.3
NameDescriptionOwnerLast commit