From 9708f6bf6f2a2abf920d3b4d485fd26a7d798d56 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Wed, 5 Jan 2022 14:49:18 -0500 Subject: [PATCH] Fetch the tracker HTML from the config file, remove HYDRA_TRACKER The indentation in the hydra.conf makes it possible to include multi-line strings without it being likely that the contents of the tracker is mis-parsed or interrupts tho config parser. It isn't impossible / foolproof probably, but it shouldn't be likely. --- doc/manual/src/configuration.md | 9 +++++++++ hydra-module.nix | 10 +++++++++- src/lib/Hydra/Controller/Root.pm | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/doc/manual/src/configuration.md b/doc/manual/src/configuration.md index d051c00a..c82b16b9 100644 --- a/doc/manual/src/configuration.md +++ b/doc/manual/src/configuration.md @@ -142,3 +142,12 @@ general any LDAP group of the form *hydra\_some\_role* (notice the role_value: dn role_search_options: deref: always + +Embedding Extra HTML +-------------------- + +Embed an analytics widget or other HTML in the `` of each HTML document via: + +```conf +tracker =