From f11de7d99e654204df672a9d81eba98c73c474c9 Mon Sep 17 00:00:00 2001 From: Marco Biedermann Date: Mon, 28 Sep 2020 11:50:37 +0200 Subject: [PATCH] fix(gatsby-starter-blog): Use `ol` for blog post list (#26601) Co-authored-by: Lennart --- starters/blog/src/pages/index.js | 60 +++++++++++++++++--------------- 1 file changed, 32 insertions(+), 28 deletions(-) diff --git a/starters/blog/src/pages/index.js b/starters/blog/src/pages/index.js index 262a33889b9cc..7dfcaab704bb5 100644 --- a/starters/blog/src/pages/index.js +++ b/starters/blog/src/pages/index.js @@ -27,34 +27,38 @@ const BlogIndex = ({ data, location }) => { - {posts.map(post => { - const title = post.frontmatter.title || post.fields.slug - return ( -
-
-

- - {title} - -

- {post.frontmatter.date} -
-
-

-

-
- ) - })} +
    + {posts.map(post => { + const title = post.frontmatter.title || post.fields.slug + + return ( +
  1. +
    +
    +

    + + {title} + +

    + {post.frontmatter.date} +
    +
    +

    +

    +
    +
  2. + ) + })} +
) }