commit b4156d0d8704a1b8f407bebcab874eca02890b49
parent dd7887487122f4f6bf0bc51360a15919d4033add
Author: hhvn <dev@hhvn.uk>
Date: Sat, 26 Nov 2022 22:46:20 +0000
Add links to (gopher)tor/clearnet
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/stagit-index.c b/stagit-index.c
@@ -101,7 +101,7 @@ writeheader(FILE *fp)
"<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n"
"<title>hhvn's website</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=\"%sindex.css\" />\n", relpath);
fputs("</head>\n<body>\n", fp);
fprintf(fp, "<h1>hhvn's website</h1>\n"
"<hr />\n"
@@ -109,6 +109,12 @@ writeheader(FILE *fp)
"Spam me if you prefer: spamtrap@hhvn.uk<br />\n"
"<a href=\"./pgp.asc\">PGP key</a> & <a href=\"./ssh.pub\">SSH key</a>"
"<hr />\n"
+ "<a href=\"./blog\">Blog ---></a><hr />\n"
+ "Clearnet: <a href=\"//hhvn.uk\">hhvn.uk</a>\n"
+ "<span class=\"tor\">Tor: <a href=\"//zl7kawb6nd3aqzrwo5cz57id7rnp3k7rvsme5seopv65lcgm56ey2oyd.onion\">zl7kawb6nd3aqzrwo5cz57id7rnp3k7rvsme5seopv65lcgm56ey2oyd.onion</a></span><br />\n"
+ "Gopher: <a href=\"gopher://hhvn.uk\">gopher://hhvn.uk</a>\n"
+ "<span class=\"tor\">Gopher (tor): <a href=\"gopher://zl7kawb6nd3aqzrwo5cz57id7rnp3k7rvsme5seopv65lcgm56ey2oyd.onion\">gopher://zl7kawb6nd3aqzrwo5cz57id7rnp3k7rvsme5seopv65lcgm56ey2oyd.onion</a></span>\n"
+ "<hr />\n"
"<p>Anyway, here's some code:\n");
fputs("</span></td></tr><tr><td></td><td>\n"
"</td></tr>\n</table>\n<div id=\"content\">\n"