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: _posts/2019-08-08-write-a-new-post.md
+5-19Lines changed: 5 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: "Write a new Post"
2
+
title: "Write a New Post"
3
3
date: 2019-08-08 14:10:00 +0800
4
4
categories: [Blogging, Tutorial]
5
5
tags: [writting]
@@ -24,22 +24,13 @@ tags: [TAG]
24
24
25
25
> **Note**: The posts' ***layout*** has been set to `post` by default, so there is no need to add the variable ***layout*** in Front Matter block.
26
26
27
-
### Categories and Tags
27
+
-**The TimeZone of Date**
28
28
29
-
The pages for all the categories and tags are placed in the `categoreis` and `tags` respectively.
29
+
To ensure that the posts' release date matches the city you live in, please modify the value of `timezone` in the file `_config.yml`. A list of all available values can be found on [TimezoneConverter](http://www.timezoneconverter.com/cgi-bin/findzone/findzone) or [Wikipedia](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
30
30
31
-
Let's say there is a post with title `The Beautify Rose`, it's Front Matter as follow:
32
-
33
-
```yaml
34
-
---
35
-
title: "The Beautify Rose"
36
-
categories: [Plant]
37
-
tags: [flower]
38
-
---
39
-
```
40
-
41
-
> **Note**: `categories` is designed to contain up to two elements.
31
+
-**Categories and Tags**
42
32
33
+
The `categories` of each post is designed to contain up to two elements, and the number of elements in `tag` can be zero or infinite.
43
34
44
35
## Table of Contents
45
36
@@ -101,8 +92,3 @@ If you want to display the **Liquid** snippet, surround the liquid code with `{%
101
92
## Learn More
102
93
For more knowledge about Jekyll posts, visit the [Jekyll Docs: Posts](https://jekyllrb.com/docs/posts/).
0 commit comments