makes version dynamic
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user