We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 419bc9a commit 7bbc45fCopy full SHA for 7bbc45f
1 file changed
tutorial/src/layouts/CaseLayout.astro
@@ -4,9 +4,9 @@ const { frontmatter } = Astro.props;
4
---
5
<BaseLayout pgTitle={frontmatter.title}>
6
<img src={frontmatter.image.url} width="300" alt={frontmatter.image.alt} />
7
- <p>Author(s): {frontmatter.author}
+ <p>Author(s):
8
<div>
9
- {frontmatter.authors.map((author) => <span>{author}{frontmatter.authors.length === 1 ?"":", "}</span>)}
+ {frontmatter.authors.map((author) => <span>{author}, </span>)}
10
</div>
11
</p>
12
<p>Published on: {frontmatter.pubDate.toString().slice(0,10)}</p>
0 commit comments