From 4f1735def6f78d8fbabb90fbb659a8cab008da28 Mon Sep 17 00:00:00 2001 From: Dani Hodovic Date: Tue, 25 Jun 2024 20:37:17 -0300 Subject: [PATCH] docs: add tracking code for sample_deployment base.html (#88) --- .../sample_deployment/templates/allauth/layouts/base.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sample_deployment/sample_deployment/templates/allauth/layouts/base.html b/sample_deployment/sample_deployment/templates/allauth/layouts/base.html index 00b4a3d..fcbe85c 100644 --- a/sample_deployment/sample_deployment/templates/allauth/layouts/base.html +++ b/sample_deployment/sample_deployment/templates/allauth/layouts/base.html @@ -46,4 +46,12 @@ {{ block.super }} + {% if "localhost" not in request.get_host %} + + + {% endif %} {% endblock body %}