您访问的是非正式的站点,不是最新内容哦,请点击这里前往Dnocm ヾ(=゚・゚=)ノ喵♪

若白驹过隙,忽然而已

Plugins

Cake integrates additional features through plugins, and does not itself contain any files with additional features. So lightweight and powerful. Consistent with NexT’s plugin solution (keep in sync with it), so you can go to Awesome NexT to see more plugins

List

The following are the plugins I have written, most of which are the original integrated functions of NexT, which I went out independently (# ̄~ ̄#)

Some other plugins may be helpful for you to use hexo

  • hexo-netlify-cms: Simplify the use of Netlify CMS (an online content editor)
  • hexo-theme-plus: Designed to externally replace the layout files inside the theme

Some examples, if you want to write your own plugin, you can refer to

Use

1
2
3
4
# use npm
npm i <plugin-name>(example:hexo-cake-canvas-ribbon) --save
# or use yarn
yarn add <plugin-name>(example:hexo-cake-canvas-ribbon)

The Cake plugin is very easy to install, just like the normal hexo plugin, the only difference is that it works on NexT or Cake themes (the same plugin scheme).

Other themes, if the user wants to use, find the theme_inject part of index.js (or other execution script) after installation, copy the corresponding Code to the corresponding location.

See the plugin project for specific configuration.

Create

View the article below