diff options
author | Oscar Benedito <oscar@oscarbenedito.com> | 2020-07-31 17:29:34 +0200 |
---|---|---|
committer | Oscar Benedito <oscar@oscarbenedito.com> | 2020-08-11 01:38:02 +0200 |
commit | a32ba2646371170c51421ca21119f9cbaa94e048 (patch) | |
tree | ab91a83772ed768dc74c978f1f965b373e1ee6f5 /stagit.c | |
parent | c5e861f80e6500568d2ffb4195ea104236edf3bc (diff) |
Logo from png to svg file
Diffstat (limited to 'stagit.c')
-rw-r--r-- | stagit.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -356,12 +356,13 @@ writeheader(FILE *fp, const char *title) if (description[0]) fputs(" - ", fp); xmlencode(fp, description, strlen(description)); - fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"../%sfavicon.ico\" />\n", relpath); + fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/svg+xml\" href=\"../%slogo.svg\"/>\n", relpath); + fprintf(fp, "<link rel=\"alternate icon\" href=\"../%sfavicon.ico\"/>\n", relpath); fprintf(fp, "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"%s Atom Feed\" href=\"%satom.xml\" />\n", name, relpath); fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"../%sstyle.css\" />\n", relpath); fputs("</head>\n<body>\n<div id=\"head\"><table><tr><td>", fp); - fprintf(fp, "<a class=\"logo\" href=\"../%s\"><img src=\"../%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></a>", + fprintf(fp, "<a class=\"logo\" href=\"../%s\"><img src=\"../%slogo.svg\" alt=\"\" width=\"32\" height=\"32\" /></a>", relpath, relpath); fputs("</td><td><strong>", fp); xmlencode(fp, strippedname, strlen(strippedname)); |