Installing an Hexo theme inside a-pollo is very simple, if you have installed a-pollo locally you’ll notice this folder structure:
1 | project-root |
To choose the theme to use set theme
property as the name of your theme (it’s folder name) in a-pollo.yml
config.
Place your theme inside project-root/node_modules/a-pollo/hexo/themes
folder.
Before install your theme from command line, be sure to have set theme
property in a-pollo.yml
config, and place your theme in the root folder of your project (where you run command line), a-pollo will looking for it and will copy it inside a-pollo themes folder, then you can remove it.
1 | ./node_modules/.bin/a-pollo |