Skip to content

Acorn is a Hexo theme for small and medium sized businesses or studios.

License

Notifications You must be signed in to change notification settings

zhwangart/hexo-theme-acorn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Acorn

Acorn is a Hexo theme for small to medium sized businesses or studios.

Acorn Sample data

中文文档

Example

Install

$ git clone https://github.com/zhwangart/hexo-theme-acorn.git themes/acorn

Enable

Modify theme setting in _config.yml to acorn

theme: acorn

Update

cd themes/acorn
git pull

Plugins

hexo-autoprefixer

Autoprefixer plugin for Hexo.

Installation

$ npm install hexo-autoprefixer --save

Options

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"
 ]

hexo-clean-css

Minify CSS files with clean-css.

Installation

$ npm install hexo-clean-css --save

Options

clean_css:
  exclude: 
    - *.min.css