stagit

personal fork of static git page generator
git clone https://a3nm.net/git/stagit/
Log | Files | Refs | README | LICENSE

commit 15ada1ae6937bb22f8d59813c0cac2ec4785b63f
parent 443d18159b41cb23c475fb60d1af0d53417f19d8
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Wed,  9 May 2018 21:06:23 +0200

meta viewport

Diffstat:
stagit-index.c | 1+
stagit.c | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/stagit-index.c b/stagit-index.c @@ -74,6 +74,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=\"/favicon.png\" />\n", relpath); diff --git a/stagit.c b/stagit.c @@ -331,6 +331,7 @@ writeheader(FILE *fp, const char *title) 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, title, strlen(title)); if (title[0] && strippedname[0])