add a parameter top_img
to the front-matter of markdown
how do I call top_img in the theme code?
I use page.top_img to call the corresponding URL does not work. Who can help
add a parameter top_img
to the front-matter of markdown
how do I call top_img in the theme code?
I use page.top_img to call the corresponding URL does not work. Who can help
there may be a way.
but at present, all the variables in page are defined by the author of hexo. You can console.log (page) to look at a large number of variables. There are no custom variables.
then, I still recommend using markdown to solve the problem of text.
at the beginning:
! [top_img] (https://jerryc.me/posts/xxx.png)
if you need a special style or plug-in, embed HTML directly,
the rest of the actions and styles are defined in the theme.
Manual dog head
1. After following the beautification method of the nexT theme on the Internet, after using the hexo clean, hexo d-g command, I still can t push the modified part to github. What is the reason for this? the red exclamation mark is the problem that...
can I deploy the project under https: xxx.gitee.io in the code cloud, just like github s http: xxx.github.io can store the project? just tried the code cloud, as shown in figure pages: url:tilin.gitee.iogithub: ...