stagit


stagit

~ Unnamed repository; edit this file 'description' to name the repository.
log | files | refs | archive | README | LICENSE

commit 9474a7cbdaaa9dc2abfed7400a5164354a5ed945
parent 336c5bd2391e77905cbdb0deac731eabade5308a
Author: djnn <email@djnn.sh>
Date: Wed, 5 Nov 2025 22:09:40 +0100

i dont even know anymore

Diffstat:
Mstagit.c | 19+++++++------------

1 file changed, 7 insertions(+), 12 deletions(-)

diff --git a/stagit.c b/stagit.c
@@ -480,15 +480,10 @@ void writeheader(FILE *fp, const char *title) {
         fputs(" - ", fp);
     xmlencode(fp, description, strlen(description));
     fputs("</title>\n<meta name=\"description\" content=\"evil.djnn.sh repositories\">\n", fp);
-    fputs("<link rel=\"icon\" type=\"image/png\" href=\"/assets/favicon.png\">\n"
-          "<link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/style.css\">\n"
-          "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"",
+    fputs("<link rel=\"icon\" type=\"image/png\" href=\"/favicon.png\">\n"
+          "<link rel=\"stylesheet\" type=\"text/css\" href=\"/style.css\">\n",
           fp);
     xmlencode(fp, name, strlen(name));
-    fprintf(fp, " Atom Feed\" href=\"%satom.xml\">\n", relpath);
-    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);
     fputs("<center>\n<a href=\"/index.html\">\n</a><br><br>\n<div id=\"content\">\n<div class=\"container\">\n\t<table id=\"container\">\n\t\t<tr><td><h1>", fp);
     xmlencode(fp, strippedname, strlen(strippedname));
     fputs("</h1><span class=\"desc\">", fp);
@@ -502,12 +497,12 @@ void writeheader(FILE *fp, const char *title) {
         fputs("</a></i></td></tr>", fp);
     }
     fputs("\t\t<tr><td>\n", fp);
-    fprintf(fp, "<a href=\"%slog.html\">Log</a> | ", relpath);
-    fprintf(fp, "<a href=\"%sfiles.html\">Files</a> | ", relpath);
-    fprintf(fp, "<a href=\"%srefs.html\">Refs</a> | ", relpath);
-    fprintf(fp, "<a href=\"%sarchive.tar.gz\">Archive</a>", relpath);
+    fprintf(fp, "<a href=\"%slog.html\">log</a> | ", relpath);
+    fprintf(fp, "<a href=\"%sfiles.html\">files</a> | ", relpath);
+    fprintf(fp, "<a href=\"%srefs.html\">refs</a> | ", relpath);
+    fprintf(fp, "<a href=\"%sarchive.tar.gz\">archive</a>", relpath);
     if (submodules)
-        fprintf(fp, " | <a href=\"%sfile/%s.html\">Submodules</a>", relpath, submodules);
+        fprintf(fp, " | <a href=\"%sfile/%s.html\">submodules</a>", relpath, submodules);
     if (readme)
         // fprintf(fp, " | <a href=\"%sfile/%s.html\">README</a>", relpath, readme);
         fprintf(fp, " | <a href=\"%sREADME.html\">README</a>", relpath);