Sweet plugins and configuration settings for Hexo.
hexo-deployer-git
yarn add hexo-deployer-git
Once installed add the following to the root _config.yml
1 | # Deployment |
This then works with the commands:
hexo generate
(short handhexo g
)hexo deploy
(short handhexo d
)
hexo-browsersync
yarn add hexo-browsersync
This then works with the command hexo serve
(short hand hexo s
)
Google Analytics
Then go to your theme’s main _config.yml
and look for a property called google_analytics. Fill in your tracking ID.
google_analytics: UA-0000000-0
Search
npm install hexo-generator-search