mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
fix: fixes prop href of author component in example blog, was url (#734)
This commit is contained in:
parent
d55d8b8c6e
commit
35f7b474a1
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ const { title, author, publishDate, heroImage } = Astro.props;
|
||||||
{heroImage && <img width="720" height="420" class="hero-image" loading="lazy" src={heroImage} />}
|
{heroImage && <img width="720" height="420" class="hero-image" loading="lazy" src={heroImage} />}
|
||||||
<p class="publish-date">{publishDate}</p>
|
<p class="publish-date">{publishDate}</p>
|
||||||
<h1 class="title">{title}</h1>
|
<h1 class="title">{title}</h1>
|
||||||
<Author name="@FredKSchott" url="https://twitter.com/FredKSchott" />
|
<Author name="@FredKSchott" href="https://twitter.com/FredKSchott" />
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
<slot />
|
<slot />
|
||||||
|
|
Loading…
Reference in a new issue