mirror of
https://github.com/valentineus/popov.link.git
synced 2025-07-04 00:20:26 +03:00
Refactor Astro components and layouts
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
---
|
||||
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
|
||||
type Props = {
|
||||
readonly description?: string;
|
||||
readonly title?: string;
|
||||
};
|
||||
|
||||
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
|
||||
const { title, description } = Astro.props;
|
||||
---
|
||||
|
||||
|
Reference in New Issue
Block a user