File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import styles from './index.module.css';
22
22
import HomepageFeatures from '@site/src/components/HomepageFeatures' ;
23
23
24
24
import InstallWithCopy from '@site/src/components/InstallWithCopy' ;
25
+ import customField from '@site/src/libs/customField' ;
25
26
26
27
function HomepageHeader ( ) {
27
28
const { siteConfig} = useDocusaurusContext ( ) ;
@@ -33,7 +34,7 @@ function HomepageHeader() {
33
34
< p className = "hero__subtitle" > { siteConfig . tagline } </ p >
34
35
35
36
< 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 >
37
38
</ div >
38
39
39
40
</ div >
You can’t perform that action at this time.
0 commit comments