summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar ewatch <ewatchhu@gmx.de> 2021-05-24 22:53:39 +0200
committerGravatar GitHub <noreply@github.com> 2021-05-24 16:53:39 -0400
commit3d9904541171766bdcaede33a62a81d6574e640e (patch)
tree037649c488039275d1ade91579910d3bff5f7280
parentac43faf85f9f95d230bfca866afae14163f60f97 (diff)
downloadastro-3d9904541171766bdcaede33a62a81d6574e640e.tar.gz
astro-3d9904541171766bdcaede33a62a81d6574e640e.tar.zst
astro-3d9904541171766bdcaede33a62a81d6574e640e.zip
Fix invalid HTML code in Example 1 (#236)
Line 111 opened a headline with h5 but closed with h6. Both are h5 tags now.
-rw-r--r--docs/collections.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/collections.md b/docs/collections.md
index 04c33ced2..3e67c2c82 100644
--- a/docs/collections.md
+++ b/docs/collections.md
@@ -108,7 +108,7 @@ function formatDate(date) {
</head>
<body>
<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) => (
<h1>{post.title}</h1>
<time>{formatDate(post.published_at)}</time>