| title | Compose |
|---|---|
| version | 1.4.0 |
| permalink | en/compose |
| id | 3 |
| lang | en |
hexo new <title>Create a file with the extension .md inside the source/_posts folder.
See front-matter for more information.
| Setting | Description | Default |
|---|---|---|
| layout | Layout | |
| title | Title | |
| date | Published date | File created date |
| update | Updated date | File updated date |
| comments | Enables comment feature for the post | true |
| tags | Tags (Not available for pages) | |
| categories | Categories (Not available for pages) | |
| permalink | Override the default permalink of the post | |
| toc | Display TOC button | true |
| comment | Display comment | true |
| notag | Do not generate Tags menu | false |
| top | Pin post on the top of the list | false |
| mathjax | Enable the MathJax for this post | false |
P.S. To use Pin on top feature please visit topPost
In the Material theme, each Scheme has a thumbnail function. Simply add the thumbnail: parameter to the front-matter and fill in the thumbnail address.
This scheme uses the default random thumbnails if there is no custom thumbnail. The random thumbnail directory is located under the source/img/random folder. You can add your favorite images in the format material-<num>.png. Then modify the random_amount parameter in the theme config.
This Scheme will only show thumbnails that have been customized.
If you want to add a link to the "Link" page, please refer to the page settings.
Create a folder named links within the source folder. Then create a file named index.md inside this folder:
---
title: links
date:
layout: links
---
titlecan be changed,layoutcan not be modified.
If you want to add a link to the "Link" page, please refer to the page settings.
Create a folder named _data (rename is forbidden) within the source folder. Then create a file named links.yml inside this folder.
The format for a single link is:
Name:
link: http://example.com
avatar: http://example.com/avatar.png
descr: "This is a description"Change Name to the name of the link. You can create as many links as you want.
Create a folder named gallery within the source folder. Then create a file named index.md inside this folder:
---
title: gallery
date:
layout: gallery
---
titlecan be changed,layoutcan not be modified.
If you'd like to add an entry to the "Gallery" page, please refer to the page settings.
Create a folder named _data (rename is forbidden) within the source folder. Then create a file named gallery.yml inside this folder.
The format for a single image is:
Name:
full_link: http://example.com/full-image.png
thumb_link: http://example.com/thumb-image.png
descr: "This is a description"Change Name to the image name. You can create as many images as you want.
Create a folder named tags within the source folder. Then create a file named index.md inside this folder:
---
title: tags
date:
layout: tags
---
titlecan be changed,layoutcan not be modified.
If you'd like to add an entry to the Tag Cloud page, please refer to the page settings.
Create a folder named timeline within the source folder. Then create a file named index.md inside this folder:
---
title: timeline
date:
layout: timeline
---
titlecan be changed,layoutcan not be modified.
If you'd like to add an entry to the Timeline page, please refer to the page settings.