Personal website of Singapore based Iyengar-style yoga instructor Huo Jie.
Create a markdown (.md) file inside /src/pages/articles. The name of the file will be the URL so make sure it's something that you won't change later. The name should be short and relevant. For example:
benefits-of-yoga.md https://theone.yoga/benefits-of-yoga/
You should put a section at the top that looks like this:
---
date: "2019-04-13"
hero: ../../images/huojie-yoga-pose.jpeg
lang: en
title: "The Benefits of Yoga"
---
Variable | Description |
---|---|
date | The page will show this date as the article date. |
hero | (optional) If you include this, it should be a path to the image that will be displayed at the top of the article. If you don't include this, then the article will just have a normal title. |
lang | en or zh |
title | The main title of the article |
To write the article content, you should use markdown.
Edit gatsby-config.js to change things that appear on all pages.
Run TEST
This will open a browser window. Wait until you see "Compiled successfully" before refreshing the window.
Run FABU