makes version dynamic

This commit is contained in:
Christian Beutel
2025-01-05 13:00:20 +01:00
parent 43dacb3818
commit 49ba105a95
4 changed files with 21 additions and 3 deletions

View File

@@ -1,4 +1,6 @@
---
import { version } from '../../package.json';
const isNotHomepage = Astro.props.slug !== "";
---
@@ -111,7 +113,7 @@ const isNotHomepage = Astro.props.slug !== "";
class="fill-primary dark:fill-white"
font-size="0.75rem"
>
v0.12.0
v{version}
</text>
</svg>
</div>