This is an automated email from the ASF dual-hosted git repository.
wangdan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus-website.git
The following commit(s) were added to refs/heads/master by this push:
new 8b75924b Fix the broken links when select versions (#34)
8b75924b is described below
commit 8b75924bf0e389d12d7d01e64a0a6158fefe2970
Author: Yingchun Lai <[email protected]>
AuthorDate: Tue Dec 5 11:12:48 2023 +0800
Fix the broken links when select versions (#34)
Fix the bad links when select version from the left DropDownList from
https://pegasus.apache.org/docs/build/compile-from-source/
---
_includes/version-select.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/_includes/version-select.html b/_includes/version-select.html
index 9c4e6158..fa19d64f 100644
--- a/_includes/version-select.html
+++ b/_includes/version-select.html
@@ -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 %}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]