Skip to content

Commit

Permalink
Merge pull request #1166 from greenpeace/planet-4811
Browse files Browse the repository at this point in the history
PLANET-4811 Add backtop markup to base template
  • Loading branch information
Inwerpsel authored Oct 27, 2020
2 parents d72fa5c + abcb268 commit 5817076
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/base.twig
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
<li><a href="#content">{{ __( 'Skip to Content', 'planet4-master-theme' ) }}</a></li>
<li><a href="#footer">{{ __( 'Skip to Footer', 'planet4-master-theme' ) }}</a></li>
</ul>

<a class="back-top d-none" title="{{ __('Go to the top of the page.', 'planet4-master-theme') }}"
onclick="window.scrollTo({top: 0})"></a>
{% if google_tag_value %}
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ google_tag_value }}"
Expand Down

0 comments on commit 5817076

Please sign in to comment.