stagit

personal fork of stagit (rnpnr branch)
git clone anongit@rnpnr.xyz:stagit.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 995f7d5c5d8e396b06e70b1497ac96df63ffec36
Parent: f46405850133e43dcae95e0a41b74bcca7b10027
Author: Hiltjo Posthuma
Date:   Fri, 19 Mar 2021 11:29:53 +0100

add meta viewport on stagit-index too

Patch by Oscar Benedito, thanks!

Diffstat:
Mstagit-index.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/stagit-index.c b/stagit-index.c @@ -66,6 +66,7 @@ writeheader(FILE *fp) fputs("<!DOCTYPE html>\n" "<html>\n<head>\n" "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n" + "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n" "<title>", fp); xmlencode(fp, description, strlen(description)); fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%sfavicon.png\" />\n", relpath);