fuzzyworld-tools / commit
Add coffee favicon to all fuzzyworld sites
server/gen.py | 1 + server/install.sh | 8 ++++---- server/site/index.html | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/server/gen.py b/server/gen.py index 586c91d..7ff72ed 100755 --- a/server/gen.py +++ b/server/gen.py @@ -189,6 +189,7 @@ def page(title, body, crumbs=None, view=None, site="code", refresh=None, section <meta name="viewport" content="width=device-width, initial-scale=1"> {f'<meta http-equiv="refresh" content="{refresh}">' if refresh else ""} <title>{esc(title)} · {host}</title> +<link rel="icon" href="/favicon.ico"> <link rel="stylesheet" href="/style.css"> </head> <body> diff --git a/server/install.sh b/server/install.sh index 8f8fcc4..c31b7a5 100755 --- a/server/install.sh +++ b/server/install.sh @@ -25,12 +25,12 @@ chmod +x ~/fw/tools/server/runner-api ~/fw/tools/server/mirror-only ln -sfn ~/fw/tools/server/fw ~/bin/fw site=~/code.fuzzyworld.net cp ~/fw/tools/server/site/htaccess "$site/.htaccess" -cp ~/fw/tools/server/site/_shared.css ~/fw/tools/server/site/_icons.css ~/fw/tools/server/site/style.css ~/fw/tools/server/site/robots.txt "$site/" -chmod 644 "$site"/_shared.css "$site"/_icons.css "$site"/style.css "$site"/robots.txt +cp ~/fw/tools/server/site/_shared.css ~/fw/tools/server/site/_icons.css ~/fw/tools/server/site/style.css ~/fw/tools/server/site/robots.txt ~/fw/tools/server/site/favicon.ico "$site/" +chmod 644 "$site"/_shared.css "$site"/_icons.css "$site"/style.css "$site"/robots.txt "$site"/favicon.ico apps=~/apps.fuzzyworld.net cp ~/fw/tools/server/site-apps/htaccess "$apps/.htaccess" -cp ~/fw/tools/server/site/_shared.css ~/fw/tools/server/site/_icons.css ~/fw/tools/server/site/style.css "$apps/" -chmod 644 "$apps"/_shared.css "$apps"/_icons.css "$apps"/style.css +cp ~/fw/tools/server/site/_shared.css ~/fw/tools/server/site/_icons.css ~/fw/tools/server/site/style.css ~/fw/tools/server/site/favicon.ico "$apps/" +chmod 644 "$apps"/_shared.css "$apps"/_icons.css "$apps"/style.css "$apps"/favicon.ico # Main fuzzyworld.net site main_site=~/fuzzyworld.net cp ~/fw/tools/server/site/index.html ~/fw/tools/server/site/main.css "$main_site/" diff --git a/server/site/index.html b/server/site/index.html index 569ff6e..ae677ae 100644 --- a/server/site/index.html +++ b/server/site/index.html @@ -4,6 +4,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Fuzzy World</title> +<link rel="icon" href="/favicon.ico"> <link rel="stylesheet" href="/main.css"> </head> <body>