bpaul-webgen

html generator for bpaul.xyz
Log | Files | Refs | README

commit 1c83969b11ce05980a65bac28dcb5c7895cd1db4
parent 70944bdbd189b73a440e32fbaf6dd0c4c3792b08
Author: Benjamin Paul <bpaul@bpaul.xyz>
Date:   Sun, 27 Feb 2022 02:04:12 +1000

add <meta name=viewport> tag to head

Diffstat:
Mmain.c | 45+++++++++++++++++++++++----------------------
1 file changed, 23 insertions(+), 22 deletions(-)

diff --git a/main.c b/main.c @@ -7,28 +7,29 @@ #include <unistd.h> const char start_html[] = "<html>" - "<head>" - "<meta charset=\"UTF-8\">" - "<style>" - "a{" - "color:inherit;" - "outline:0;" - "text-decoration:inherit;" - "}" - "" - "body{" - "font-family:monospace;" - "color:white;" - "background-color:black;" - "}" - "" - "pre{" - "font-family:monospace;" - "}" - "</style>" - "</head>" - "<body>" - "<pre>\n"; +"<head>" +"<meta charset=\"UTF-8\">" +"<meta name=\"viewport\" content=\"initial-scale=1,maximum-scale=1\">" +"<style>" +"a{" +"color:inherit;" +"outline:0;" +"text-decoration:inherit;" +"}" +"" +"body{" +"font-family:monospace;" +"color:white;" +"background-color:black;" +"}" +"" +"pre{" +"font-family:monospace;" +"}" +"</style>" +"</head>" +"<body>" +"<pre>\n"; const char end_html[] = "</pre>" "</body>"