tadd meta viewport on stagit-index too - stagit - [fork] customized build of st… | |
git clone git://src.adamsgaard.dk/stagit | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 3ac65c5b4288740388815867ad0d2d2997ec3c7a | |
parent 2a6bc0855af174fe5825e7df4967a79a6dfd9234 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Fri, 19 Mar 2021 11:29:53 +0100 | |
add meta viewport on stagit-index too | |
Patch by Oscar Benedito, thanks! | |
Diffstat: | |
M stagit-index.c | 1 + | |
1 file changed, 1 insertion(+), 0 deletions(-) | |
--- | |
diff --git a/stagit-index.c b/stagit-index.c | |
t@@ -68,6 +68,7 @@ writeheader(FILE *fp) | |
fputs("<!DOCTYPE html>\n" | |
"<html>\n<head>\n" | |
"<meta http-equiv=\"Content-Type\" content=\"text/html; charse… | |
+ "<meta name=\"viewport\" content=\"width=device-width, initial… | |
"<title>", fp); | |
xmlencode(fp, description, strlen(description)); | |
fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%s… |