darryl-snow / theone.yoga

Huojie's personal website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Netlify Status

TheOne.Yoga

Personal website of Singapore based Iyengar-style yoga instructor Huo Jie.

Editing

Articles

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.

Everything Else

Edit gatsby-config.js to change things that appear on all pages.

Testing

Run TEST

This will open a browser window. Wait until you see "Compiled successfully" before refreshing the window.

Deploying

Run FABU

About

Huojie's personal website

License:MIT License


Languages

Language:JavaScript 91.1%Language:CSS 8.6%Language:Shell 0.3%