stagit
Personal fork of stagit
git clone git://mccd.space/stagit
| Log | Files | Refs | README | LICENSE |
commit 4290600030c33324959923687dfaf996c1364c09 parent ea0d97edce887ef6e24d9113a8b52c54286bf7b2 Author: Marc <marc@coquand.email> Date: Mon, 29 Jun 2026 17:55:54 +0200 Reference correct css Diffstat:
| M | stagit-index.c | | | 2 | +- |
| M | stagit.c | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/stagit-index.c b/stagit-index.c
@@ -102,7 +102,7 @@ writeheader(FILE *fp)
"<title>", fp);
xmlencode(fp, description, strlen(description));
fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%sfavicon.png\" />\n", relpath);
- fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath);
+ fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"/css/main.css\" />\n");
fputs("</head>\n<body>\n", fp);
fputs("<div id=\"content\">\n"
"<table id=\"index\"><thead>\n"
diff --git a/stagit.c b/stagit.c
@@ -518,7 +518,7 @@ writeheader(FILE *fp, const char *title)
fputs("<link rel=\"alternate\" type=\"application/atom+xml\" title=\"", fp);
xmlencode(fp, name, strlen(name));
fprintf(fp, " Atom Feed (tags)\" href=\"%stags.xml\" />\n", relpath);
- fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath);
+ fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"/css/main.css\" />\n");
fputs("</head>\n<body>\n<table><tr>", fp);
fputs("<td><h1>", fp);
xmlencode(fp, strippedname, strlen(strippedname));