frontity / step-by-step-tutorial

Step-by-step tutorial designed to help you learn website development with Frontity.
https://tutorial.frontity.org/
Apache License 2.0
15 stars 10 forks source link

Typo on html2react for applying changes to page.js #13

Closed damienmcd closed 3 years ago

damienmcd commented 3 years ago

There is a typo on Part 7: html2react (https://tutorial.frontity.org/part7-finishing-touches/use-the-html2react-component) in the code block for applying the changes to page.js

I tried to create a PR but access was denied.

{post.title.rendered} and {post.content.rendered} should use 'page' instead of 'post'. The variable is declared as page in previous sections of the tutorial.

Screenshot 2021-02-10 at 14 22 01

mburridge commented 3 years ago

Good catch @damienmcd. Thanks for that. I've fixed it.