Skip to content

Commit 7590b48

Browse files
authored
Merge pull request #375 from knockout/docs/landing-version-dynamic
docs(tko.io): make landing version pill dynamic
2 parents 07ec0f3 + 5296536 commit 7590b48

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tko.io/src/content/docs/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ description: Modern Knockout — reactive data binding and UI templating with ze
44
---
55

66
import { Tabs, TabItem } from '@astrojs/starlight/components';
7+
import pkg from '../../../../builds/knockout/package.json';
78

8-
<a class="landing-version" href="https://github.com/knockout/tko/releases">TKO v4.0.1 is here &rarr;</a>
9+
<a class="landing-version" href="https://github.com/knockout/tko/releases">TKO v{pkg.version} is here &rarr;</a>
910

1011
<div class="landing-hero">
1112
<h2>TKO</h2>

0 commit comments

Comments
 (0)