commit 28226564b1806cf7c99a7463203e81701e9b01d4 parent 888e72b9705792259d0551a4b626c31ab3011539 Author: Yohanes Bandung <bandungpenting@gmail.com> Date: Sun, 17 May 2020 04:55:18 +0700 feature: link main site on image favicon favicon favicon logo hehe Diffstat:
| M | Makefile | | | 4 | +++- |
| M | favicon.png | | | 0 | |
| M | stagit-index.c | | | 3 | ++- |
| A | ybbond.png | | | 0 |
4 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile @@ -53,7 +53,7 @@ dist: rm -rf ${NAME}-${VERSION} mkdir -p ${NAME}-${VERSION} cp -f ${MAN1} ${HDR} ${SRC} ${COMPATSRC} ${DOC} \ - Makefile favicon.png logo.png style.css \ + Makefile favicon.png logo.png style.css ybbond.png \ example_create.sh example_post-receive.sh \ ${NAME}-${VERSION} # make tarball @@ -82,6 +82,7 @@ install: all cp -f style.css\ favicon.png\ logo.png\ + ybbond.png\ example_create.sh\ example_post-receive.sh\ README\ @@ -99,6 +100,7 @@ uninstall: ${DESTDIR}${DOCPREFIX}/style.css\ ${DESTDIR}${DOCPREFIX}/favicon.png\ ${DESTDIR}${DOCPREFIX}/logo.png\ + ${DESTDIR}${DOCPREFIX}/ybbond.png\ ${DESTDIR}${DOCPREFIX}/example_create.sh\ ${DESTDIR}${DOCPREFIX}/example_post-receive.sh\ ${DESTDIR}${DOCPREFIX}/README diff --git a/favicon.png b/favicon.png Binary files differ. diff --git a/stagit-index.c b/stagit-index.c @@ -72,7 +72,8 @@ writeheader(FILE *fp) fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"/favicon.png\" />\n"); fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"/style.css\" />\n"); fputs("</head>\n<body>\n", fp); - fprintf(fp, "<table>\n<tr><td><img src=\"/logo.png\" alt=\"\" width=\"32\" height=\"32\" /></td>\n" + fprintf(fp, "<table>\n<tr><td><a href=\"https://ybbond.dev\">" + "<img src=\"/ybbond.png\" alt=\"\" width=\"32\" height=\"32\" /></a></td>\n" "<td><span class=\"desc\">"); xmlencode(fp, description, strlen(description)); fputs("</span></td></tr><tr><td></td><td>\n" diff --git a/ybbond.png b/ybbond.png Binary files differ.