From 0c5f1c26ccc1a69302c6575e2bb8b82056fc7418 Mon Sep 17 00:00:00 2001 From: KatherineCox Date: Thu, 25 May 2023 16:09:54 -0400 Subject: [PATCH 1/2] Fix wonky html for Google Analytics --- GA_Script.Rhtml | 20 -------------------- GA_Script.html | 10 ++++++++++ 2 files changed, 10 insertions(+), 20 deletions(-) delete mode 100644 GA_Script.Rhtml create mode 100644 GA_Script.html diff --git a/GA_Script.Rhtml b/GA_Script.Rhtml deleted file mode 100644 index 04be9d76..00000000 --- a/GA_Script.Rhtml +++ /dev/null @@ -1,20 +0,0 @@ - - - - Title - - - - - - - - - - \ No newline at end of file diff --git a/GA_Script.html b/GA_Script.html new file mode 100644 index 00000000..96568c11 --- /dev/null +++ b/GA_Script.html @@ -0,0 +1,10 @@ + + + + From 5f94baf225b3682405504d4d745c68c417c3be90 Mon Sep 17 00:00:00 2001 From: KatherineCox Date: Thu, 25 May 2023 16:19:45 -0400 Subject: [PATCH 2/2] Update _output.yml --- _output.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/_output.yml b/_output.yml index 9b76c2c1..9dddefad 100644 --- a/_output.yml +++ b/_output.yml @@ -2,6 +2,7 @@ bookdown::gitbook: # When using multiple css files, the default file path will be the first one # css: [assets/style.css, assets/AnVIL_style/anvil.css] includes: + in_header: GA_Script.html before_body: assets/AnVIL_style/big-image_anvil.html after_body: assets/AnVIL_style/footer.html highlight: tango