Article
Cover Image
Support Relative Path and Full Path, refer to resource folder Resource Folder
cover: xxx.jpgCover Video
Use Full Path, recommend CDN
Each article can only have one cover video, and only one of the cover image and the cover video can exist at the same time.
video:
  src: src # Full Video Link
  poster: poster # Full Poster LinkArticle Header Image
Support Relative Path and Full Path, refer to resource folder Resource Folder
photos:
- xxx.jpg
- xxx.jpgReprint Link
link_reprint:
  -
    url: url
    title: title
  -
    url: url
    title: titleThis configuration will show the badge on the homepage.
Reference Link
link_refer:
  -
    url: url
    title: title
  -
    url: url
    title: titleTop
Install dependencies in the Hexo directory
npm i hexo-generator-index -SAdd options in the article Front-matter
sticky: 100More ways to use hexo-generator-index
This configuration will show the badge on the homepage.
Video
We have optimized the video in the content of the article, you only need to directly use the HTML Video Tag like <video src="xxx"/> when writing the article.
最后更新于