Skip to content

Commit bec0799

Browse files
committed
website: updates
1 parent 11984ef commit bec0799

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

website/src/pages/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import styles from './index.module.css';
2222
import HomepageFeatures from '@site/src/components/HomepageFeatures';
2323

2424
import InstallWithCopy from '@site/src/components/InstallWithCopy';
25+
import customField from '@site/src/libs/customField';
2526

2627
function HomepageHeader() {
2728
const {siteConfig} = useDocusaurusContext();
@@ -33,7 +34,7 @@ function HomepageHeader() {
3334
<p className="hero__subtitle">{siteConfig.tagline}</p>
3435

3536
<div className={styles.installWithCopy}>
36-
<InstallWithCopy>xpm install @xpack-dev-tools/sed@latest --verbose</InstallWithCopy>
37+
<InstallWithCopy>xpm install @xpack-dev-tools/sed@{customField('version')} --verbose</InstallWithCopy>
3738
</div>
3839

3940
</div>

0 commit comments

Comments
 (0)