https://github.com/faichou/blog
FaiChou's blog
https://github.com/faichou/blog
Last synced: 6 months ago
JSON representation
FaiChou's blog
- Host: GitHub
- URL: https://github.com/faichou/blog
- Owner: FaiChou
- License: other
- Created: 2019-03-28T02:53:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-25T09:06:26.000Z (10 months ago)
- Last Synced: 2025-04-06T04:46:37.962Z (6 months ago)
- Language: JavaScript
- Homepage: https://faichou.com
- Size: 30.9 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 39
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Made with
Gatsby.js![]()
## Markdown
There are some custom blocks for Markdown(will be automatically converted to styled blocks).
### Set meta data
You have to set post meta data in frontmatter(At the top of each markdown file).
```
title: Example title
date: "2019-01-28T22:40:32.169Z"
description: "This text will be used as meta/og description"
category: "web"
emoji: "😁"
```_cagegory: must be just 1 category_
_emoji: converted to Twemoji and used as HeroImage_### Custom Blocks
#### Gray colored block
```
[[simple | title here]]
| content here
```#### Info block
```
[[info | title here]]
| content here
```#### Alert block
```
[[alert | title here]]
| content here
```#### Notice block
```
[[notice | title here]]
| content here
```#### Advance
You can use lists like this
```
[[alert | Danger! ]]
| - Don't smoke.
| - Don't each to much.
| - Don't stay home.
```### Ads
When to add ads(e.g. Google Adsense) on your site,
make sure the ads are shown only on production.```
if(process.env.NODE_ENV === "production") {
// Ads here
}
```### Licence
MIT (except for images/icons/blog contents)You are not allowed to use or distribute images/icons/blogContents included in this project.