it is known that new pages can be created through new page, but all page layout styles are unified, so how to create a custom page layout that is different from other pages?
it is known that new pages can be created through new page, but all page layout styles are unified, so how to create a custom page layout that is different from other pages?
after writing the html, ignore rendering the file in the configuration file. The effect is that if you jump to the page, it will be displayed as it is written by html, without adding the style of the theme.
skip_render
item in the site configuration file _ config.yml
,
skip_render: diyPage/**
in this case, all files under the diyPage
folder are ignored
skip_render: page/diyfile.html
in that case, only diyfile.html
should be ignored
reference link: method of Hexo customization page
Previous: How to change the size of the label font of Iview UI and TabPane
Next: What can the front end play in the data center, in addition to writing charts and pages?