Acorn is a Hexo theme for small to medium sized businesses or studios.
$ git clone https://github.com/zhwangart/hexo-theme-acorn.git themes/acorn
Modify theme
setting in _config.yml
to acorn
theme: acorn
cd themes/acorn
git pull
Autoprefixer plugin for Hexo.
$ npm install hexo-autoprefixer --save
Configure Autoprefixer in your Hexo config.
autoprefixer:
exclude:
- '*.min.css'
In package.json
:
"browserslist": [
"last 2 versions"
]
Complete sample:
"hexo": {
"version": "6.0.0"
},
"dependencies": {
....
},
"browserslist": [
"last 2 versions"
]
Minify CSS files with clean-css.
$ npm install hexo-clean-css --save
clean_css:
exclude:
- *.min.css