0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00

Fix invalid HTML code in Example 1 (#236)

Line 111 opened a headline with h5 but closed with h6.
Both are h5 tags now.
This commit is contained in:
ewatch 2021-05-24 22:53:39 +02:00 committed by GitHub
parent ac43faf85f
commit 3d99045411
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,7 +108,7 @@ function formatDate(date) {
</head> </head>
<body> <body>
<main> <main>
<h5>Results {collection.start + 1}{collection.end + 1} of {collection.total}</h6> <h5>Results {collection.start + 1}{collection.end + 1} of {collection.total}</h5>
{collection.data.map((post) => ( {collection.data.map((post) => (
<h1>{post.title}</h1> <h1>{post.title}</h1>
<time>{formatDate(post.published_at)}</time> <time>{formatDate(post.published_at)}</time>