From e66821757ef7e8862d3674cfb6948fb2feb62092 Mon Sep 17 00:00:00 2001 From: Becky Sweger Date: Thu, 27 Feb 2025 15:36:28 -0500 Subject: [PATCH] Add counter javascript to each page on the site Since the dashboard builder will merge site-config.yml with the default quarto config file, we can use quarto's "include-after-body" directive to inject a javascript snippet on each each page. https://quarto.org/docs/output-formats/html-basics.html#includes --- site-config.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/site-config.yml b/site-config.yml index cd0b8b4..e9340d9 100644 --- a/site-config.yml +++ b/site-config.yml @@ -1,3 +1,23 @@ --- hub: "cdcepi/FluSight-forecast-hub/" title: "FluSight Forecast Hub Dashboard" +html: + include-after-body: + - text: | + + + + + +