From 49f2573b49057b2a7d31b1568bbad7c51b371300 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Thu, 26 Sep 2024 14:46:17 +0200 Subject: [PATCH] Disable crawling locally --- partials/shared/footer.htm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/partials/shared/footer.htm b/partials/shared/footer.htm index b057cef..91d001c 100644 --- a/partials/shared/footer.htm +++ b/partials/shared/footer.htm @@ -1,5 +1,9 @@ [viewBag] == +function onStart() { + $this['rootUrl'] = request()->root(); +} +== {# Your footer goes here #} {% scripts %} @@ -23,6 +27,7 @@ {% framework extras %} +{% if rootUrl != 'http://localhost:8000' %} - +{% endif %}