add meta viewport on stagit-index too

Patch by Oscar Benedito, thanks!
This commit is contained in:
Hiltjo Posthuma 2021-03-19 11:29:53 +01:00 committed by xfnw
parent a48516e48d
commit be8665e6c3

View file

@ -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);