Skip to content

Commit

Permalink
website: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Dec 31, 2024
1 parent 5f4eb65 commit fcb6a46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import styles from './index.module.css';
import HomepageFeatures from '@site/src/components/HomepageFeatures';

import InstallWithCopy from '@site/src/components/InstallWithCopy';
import customField from '@site/src/libs/customField';

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

<div className={styles.installWithCopy}>
<InstallWithCopy>xpm install @xpack-dev-tools/arm-none-eabi-gcc@latest --verbose</InstallWithCopy>
<InstallWithCopy>xpm install @xpack-dev-tools/arm-none-eabi-gcc@{customField('version')} --verbose</InstallWithCopy>
</div>

</div>
Expand Down

0 comments on commit fcb6a46

Please sign in to comment.