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. + ) + })} +
) }