summaryrefslogtreecommitdiff
path: root/examples/blog/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'examples/blog/src/pages')
-rw-r--r--examples/blog/src/pages/$author.astro6
-rw-r--r--examples/blog/src/pages/$posts.astro2
-rw-r--r--examples/blog/src/pages/about.astro6
3 files changed, 8 insertions, 6 deletions
diff --git a/examples/blog/src/pages/$author.astro b/examples/blog/src/pages/$author.astro
index 6f4b0fceb..687cabb42 100644
--- a/examples/blog/src/pages/$author.astro
+++ b/examples/blog/src/pages/$author.astro
@@ -93,10 +93,10 @@ export async function createCollection() {
<Nav title={title} />
<main class="wrapper">
- <h1 class="title">
- <div class="avatar"><img class="avatar-img" src={author.image} alt={author.name}></div>
+ <h2 class="title">
+ <div class="avatar"><img class="avatar-img" src={author.image} alt=""}></div>
{author.name}
- </h1>
+ </h2>
<small class="count">{collection.start + 1}–{collection.end + 1} of {collection.total}</small>
{collection.data.map((post) => <PostPreview post={post} author={author} />)}
</main>
diff --git a/examples/blog/src/pages/$posts.astro b/examples/blog/src/pages/$posts.astro
index 8ca4214a1..688ec734d 100644
--- a/examples/blog/src/pages/$posts.astro
+++ b/examples/blog/src/pages/$posts.astro
@@ -71,7 +71,7 @@ export async function createCollection() {
<Nav title={title} />
<main class="wrapper">
- <h1 class="title">All Posts</h1>
+ <h2 class="title">All Posts</h2>
<small class="count">{collection.start + 1}–{collection.end + 1} of {collection.total}</small>
{collection.data.map((post) => <PostPreview post={post} author={authorData[post.author]} />)}
</main>
diff --git a/examples/blog/src/pages/about.astro b/examples/blog/src/pages/about.astro
index 11ae980c7..d7a219057 100644
--- a/examples/blog/src/pages/about.astro
+++ b/examples/blog/src/pages/about.astro
@@ -49,8 +49,10 @@ let title = "About";
<Nav title={title} />
<main class="wrapper">
- <h1 class="title">{title}</h1>
- <figure class="hero"><img class="hero-img" src="/images/chapter-01.jpg"></figure>
+ <h2 class="title">{title}</h2>
+ <div class="hero">
+ <img class="hero-img" src="/images/chapter-01.jpg" alt="">
+ </div>
<div class="text">
<p>The book cover and spine above and the images which follow were not part of the original Ormsby translation—they are taken from the 1880 edition of J. W. Clark, illustrated by Gustave Doré. Clark in his edition states that, “The English text of ‘Don Quixote’ adopted in this edition is that of Jarvis, with occasional corrections from Motteaux.”</p>
<p>See in the introduction below John Ormsby’s critique of both the Jarvis and Motteaux translations. It has been elected in the present Project Gutenberg edition to attach the famous engravings of Gustave Doré to the Ormsby translation instead of the Jarvis/Motteaux. The detail of many of the Doré engravings can be fully appreciated only by utilizing the “Full Size” button to expand them to their original dimensions. Ormsby in his Preface has criticized the fanciful nature of Doré’s illustrations; others feel these woodcuts and steel engravings well match Quixote’s dreams.</p>