From abcb26887288ecca77d72e0bde43fcdc3e774435 Mon Sep 17 00:00:00 2001 From: inwerpsel Date: Mon, 24 Aug 2020 16:30:24 +0200 Subject: [PATCH] PLANET-4811 Add backtop markup to base template * Similarly to how .skip-links was already set up, we can add the backtop markup here and hide it. That way it's already directly under the body, and we don't need to dynamically append it. Since the click handler is very short we can directly include it here for simplicity. --- templates/base.twig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/base.twig b/templates/base.twig index 1b6c299eae..a54a3992f2 100644 --- a/templates/base.twig +++ b/templates/base.twig @@ -11,7 +11,8 @@
  • {{ __( 'Skip to Content', 'planet4-master-theme' ) }}
  • {{ __( 'Skip to Footer', 'planet4-master-theme' ) }}
  • - + {% if google_tag_value %}