Skip to content

Commit d2baf59

Browse files
authored
Merge pull request plone#1262 from plone/internal
Bug fix: click on sub menu: highlight clicked item and expand navi
2 parents c18e6e4 + a9426b6 commit d2baf59

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docs/_templates/layout.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,9 @@
1010
g.async=true; g.src='https://stats.plone.org/js/container_d3bIlNkY.js'; s.parentNode.insertBefore(g,s);
1111
</script>
1212
<!-- End Matomo Tag Manager -->
13-
{% endblock %}
13+
{% endblock %}
14+
15+
16+
{% block body_tag %}
17+
<body data-spy="scroll" data-target="#bd-toc-nav" data-offset="100">
18+
{%- endblock %}

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@
183183

184184
# -- OpenGraph configuration ----------------------------------
185185

186-
ogp_site_url = "https://docs.plone.org/"
186+
ogp_site_url = "https://6.dev-docs.plone.org/"
187187
ogp_description_length = 200
188-
ogp_image = "https://docs.plone.org/_static/Plone_logo_square.png"
188+
ogp_image = "https://6.dev-docs.plone.org/_static/Plone_logo_square.png"
189189
ogp_site_name = "Plone Documentation"
190190
ogp_type = "website"
191191
ogp_custom_meta_tags = [

0 commit comments

Comments
 (0)