Comment on page
Article
Configuration in the article's
Front-matter
cover: xxx.jpg
Use
Full Path
, recommend CDNEach 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 Link
photos:
- xxx.jpg
- xxx.jpg
link_reprint:
-
url: url
title: title
-
url: url
title: title
This configuration will show the badge on the homepage.
link_refer:
-
url: url
title: title
-
url: url
title: title
Install dependencies in the Hexo directory
npm i hexo-generator-index -S
Add options in the article Front-matter
sticky: 100
This configuration will show the badge on the homepage.
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.Last modified 1yr ago