add meta viewport on stagit-index too - stagit - static git page generator | |
git clone git://git.codemadness.org/stagit | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 995f7d5c5d8e396b06e70b1497ac96df63ffec36 | |
parent f46405850133e43dcae95e0a41b74bcca7b10027 | |
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 | |
@@ -66,6 +66,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… |