From be97370acb963c11a8771364b2edb3a592f44963 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Fri, 29 Oct 2021 04:54:12 +0200 Subject: [PATCH] added favicon macro --- macros/README.md | 1 + macros/pass1_misc.json | 1 + 2 files changed, 2 insertions(+) diff --git a/macros/README.md b/macros/README.md index 2446f5b..6f1f74a 100644 --- a/macros/README.md +++ b/macros/README.md @@ -7,6 +7,7 @@ Macros that insert templates - `%BANNER_COOKIES%` the cookie banner (requires PHP) ### [pass1_misc.json](./pass1_misc.json) Miscellaneous macros +- `%FAVICON%` links the tab icon (HTML section) - `%STYLESHEET%` links stylesheet (HTML section) - `%PLEAZE_NO_CACHE%` tell the browser not to cache this page (PHP, before any data is sent to the client) - `%COLOR_BEIGE%`, `%COLOR_ORANGE%`, `%COLOR_BLUE%`, `%COLOR_PINK%`, `%COLOR_CYAN%` color codes, format: #XXXXXX diff --git a/macros/pass1_misc.json b/macros/pass1_misc.json index 1efe6f1..6c8bc32 100644 --- a/macros/pass1_misc.json +++ b/macros/pass1_misc.json @@ -1,4 +1,5 @@ { +"FAVICON":"", "STYLESHEET":"", "PLEAZE_NO_CACHE":"header('Cache-Control: no-cache, no-store, must-revalidate');header('Pragma: no-cache');header('Expires: 0');", "COLOR_BEIGE":"#fef6e4", "COLOR_ORANGE":"#f3d2c1", "COLOR_BLUE":"#001858", "COLOR_PINK":"#f582ae", "COLOR_CYAN":"#8bd3dd"