about

Hexo-theme-auto

A modern stylish theme for Hexo

Preview

Install

For hexo < 5.0

1
git clone https://github.com/autoload/hexo-theme-auto.git themes/auto

For hexo >= 5.0

1
npm i hexo-theme-ayer -S
  • If this theme is newly installed, a _config.auto.yml file will be generated in the root directory after the installation is complete, and you can directly edit the _config.auto.yml file for configuration.
  • If it is a theme upgrade, you can use the configuration method of hexo < 5.0, or you can move the original configuration file to the root directory and rename it to _config.auto.yml.

Enable

Modify theme setting in _config.yml to auto

1
theme: auto

Update

1
2
cd themes/auto
git pull

Multi Language Support

zh-CN(Simplified Chinese) en(English) zh-TW(traditional Chinese) ja(Japanese) es(Spanish) de(German) fr(French) ru(Russian) ko(Korean) vi(Vietnamese) nl(Dutch) no(Norwegian) pt(Portuguese)

English is default languge, if you want to change, modify language option in _config.yml file in your blog’s root folder.

Configuration

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Menu-Sidebar
menu:
Home: /
Archives: /archives
Categories: /categories
Tags: /tags
About: /about

# Sidebar
sidebar: right
widgets:
- tag
- recent_posts
- category
- archive


License

MIT License

Copyright © 2020 David Wan