You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data/blog/new-features-in-v1.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -260,7 +260,7 @@ A long description of yourself...
260
260
261
261
You can use this information in multiple places across the template. For example in the about section of the page, we grab the default author information with this line of code:
@@ -272,7 +272,7 @@ The frontmatter of a blog post accepts an optional `authors` array field. If no
272
272
273
273
For example, the following frontmatter will display the authors given by `data/authors/default.md` and `data/authors/sparrowhawk.md`
274
274
275
-
```
275
+
```yaml
276
276
title: 'My first post'
277
277
date: '2021-01-12'
278
278
draft: false
@@ -437,7 +437,7 @@ You can see an example of such a migration in this [commit](https://github.com/t
437
437
438
438
v1 also uses `feed.xml` rather than `index.xml`, to avoid some build issues with Vercel. If you are migrating you should add a redirect to `next.config.js` like so:
0 commit comments