🇬🇧 English | 🇨🇳 中文简体
cd hexo
npm install --save hexo-renderer-less hexo-renderer-ejs
cd themes
git clone git@github.com:MaLuns/hexo-theme-async.git
Then change your setting in .theme_config.yml.
You can also use the NPM package.
cd hexo
npm install --save hexo-theme-async
You can override the theme._config.yml configuration in _config.yml.
You can review demo at my personal blog in chinese.
# user
user:
name: ThemeAsync
first_name: Theme
last_name: Async
logo: The logo link
email: Your email
domain: Your domain name
avatar: Your avatar
describe: A short description
ruleText: Your friend chain rules
birthDay: 04/10/2022 17:00:00
# logo
favicon:
icon16: favicon
icon32: favicon
appleTouchIcon: Apple touch icon
webmanifest: Web App Manifest
visibilitychange: false
hidden: The logo link
show_text: (/≧▽≦/)Yi! Good again!
hide_text: (●—●)Oh, it's falling apart!
# menu
top_bars:
- title: home
url: /
- title: archives
url: /archives/
- title: links
url: /links/
- title: about
url: /about/
# page banner
banner:
index:
type: img
bgurl:
bannerTitle:
bannerText: Hi my new friend!
archive:
type: img
bgurl:
bannerTitle:
bannerText: The article archive
links:
type: img
bgurl:
bannerTitle:
bannerText: A link to a friend's website
about:
type: img
bgurl:
bannerTitle:
bannerText: About me
# sidebar
sidebar:
typedTextPrefix: I`m
typedText: [ 'Web Developer' ]
info:
- key: sidebar.residence
val: residence
- key: sidebar.city
val: city
- key: sidebar.age
val: age
social:
- icon: fab fa-github
url: https://github.com
- icon: iconfont cg-gitee
url: https://gitee.com
- icon: iconfont cg-weibo
url: https://weibo.com/
# about page
about:
title:
introduction:
blog:
privacy:
# Friend's website
links:
- name: # site name
url: # site url
image: # avatar
desc:
# Page Visit Statistics
webAnalytics:
enable: false
baidu: # Baidu key
google: # Tracking ID for Google statistics
tencent: # Tencent statistics
sid:
cid:
# Comment on the plug-in
comment:
enable: false
bComments:
v: 0.0.12
env:
twikoo:
envId:
region:
path: window.location.pathname
# Service Worker
sw: false