Skip to content

Commit

Permalink
Fix the broken links when select versions
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Dec 4, 2023
1 parent 010dab3 commit 8ad4ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/version-select.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{% for ver in site.pegasus_versions %}

<!--URL of our latest version always starts without version prefixed.-->
{% assign version_prefix = '/' | append: page.version %}
{% assign version_prefix = page.version | append: '/' %}
{% assign no_version_link = page.permalink | remove_first: version_prefix %}
{% if ver == site.latest_pegasus_version %}
{% assign version_url = no_version_link %}
Expand Down

0 comments on commit 8ad4ff4

Please sign in to comment.