Skip to content

Commit

Permalink
Fix docs macro use of migration guide page
Browse files Browse the repository at this point in the history
  • Loading branch information
TrialDragon committed Jan 14, 2024
1 parent 974c91e commit 9daa9e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/macros/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@

{% macro docs_menu(root, prefix) %}
<ul class="tree-menu">
{% set is_migration_guide = section and section.path is starting_with("/learn/migration-guides") %}
{% set is_migration_guide = current_path is starting_with("/learn/migration-guides") %}

{% set subsections = [] %}
{% for subsection in root.subsections %}
Expand Down

0 comments on commit 9daa9e1

Please sign in to comment.