fixed logo and return to home link
authorGeorgios Atheridis <georgios@atheridis.org>
Tue, 27 Dec 2022 10:39:02 +0000 (10:39 +0000)
committerGeorgios Atheridis <georgios@atheridis.org>
Tue, 27 Dec 2022 11:42:37 +0000 (11:42 +0000)
stagit-index.c
stagit.c

index a5eddc4d46783cd1951b70924d1cd1271d4c9fdc..a9915fcfd4564ecd40b6a43e28b2fe3e1698c2e8 100644 (file)
@@ -112,7 +112,7 @@ writeheader(FILE *fp)
        xmlencode(fp, description, strlen(description));
        fputs("</span></td></tr><tr><td></td><td>\n"
                "</td><td id=\"return-to-home\">\n"
-               "<a href=\"https://atheridis.com\">Return to Home</a>\n"
+               "<a href=\"https://atheridis.org\">Return to Home</a>\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>"
index 244646697f5a95d37bb3e946ca57b41860f4ac5a..fb808ddc75f4285c70aebd74b2d2fca62d58906a 100644 (file)
--- a/stagit.c
+++ b/stagit.c
@@ -520,7 +520,7 @@ writeheader(FILE *fp, const char *title)
        fprintf(fp, " Atom Feed (tags)\" href=\"%stags.xml\" />\n", relpath);
        fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath);
        fputs("</head>\n<body>\n<table id=\"menu\"><tr><td>", fp);
-       fprintf(fp, "<a href=\"../%s\"><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></a>",
+       fprintf(fp, "<a href=\"/\"><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></a>",
                relpath, relpath);
        fputs("</td><td><h1>", fp);
        xmlencode(fp, strippedname, strlen(strippedname));
@@ -548,7 +548,7 @@ writeheader(FILE *fp, const char *title)
                fprintf(fp, " | <a href=\"%sfile/%s.html\">LICENSE</a>",
                        relpath, license);
        fputs("</td><td id=\"return-to-home\">\n", fp);
-       fprintf(fp, "<a href=\"https://atheridis.com\">Return to Home</a>", relpath);
+       fprintf(fp, "<a href=\"https://atheridis.org\">Return to Home</a>", relpath);
        fputs("</td></tr></table>\n<hr/>\n<div id=\"content\">\n", fp);
 }