🍟 Vexo is a Hexo theme inspired by Vue's official website.
MIT License
Vexo is a Hexo theme inspired by Vue.js official website.
Download/Checkout this theme into your project
cd your-hexo-folder
git clone https://github.com/yanm1ng/hexo-theme-vexo.git themes/vexo
cp -R themes/vexo/_source/* source/
Update project _config.yml
theme config, look like this
themes: vexo
Here theme's name must same as the theme folder name.
Modify theme themes/vexo/_config.yml
with your own info.
That's all , hope you will like :)
cd themes/vexo
git pull
The front-matter of a post looks like that:
---
title: "Hello World"
date: 2016-06-10 23:00
banner: your-banner-link.jpg
tags:
- Movies
- Life
---
Add this to the top of your article markdown file.
2017-09-21
2017-08-08
2017-06-27
2017-06-25
onerror
replace default image2017-06-23
table
& hr
2017-06-20
2017-06-15
2017-06-12
2017-06-11
Vexo use Gitment as the third party discussion system.
You can easily complete your comment configuration by just adding your settings into _config.yml
# comment
# you can set utterances, gitment, uyan or disqus
comment: gitment
# Gitment
gitment_owner: yanm1ng
gitment_repo: yanm1ng.github.io
gitment_oauth_id:
gitment_oauth_secret:
How to use Gitment? See
You can also take Utterances as your comment system. It is a lightweight comments widget built on Github issues. You can easily configure which comment system you use in _config.yml
of this theme.
# comment
# you can set utterances, gitment, uyan or disqus
comment: utterances
# utterances config
utterances_repo: # GitHubAccount/RepoForUtterances
utterances_issue_term: pathname
utterances_theme: github-light
A simple introduction and guide for Utterances is Here.
You can add local search engine in your blog. It requires hexo-generator-searchdb
which can be installed with npm install hexo-generator-searchdb
. The full instruction can be found Here.
After installing hexo-generator-searchdb
, you can enable local search
in _config.yml
. It makes the search button visible at the right of the menu bar.
# Local Search Support
local_search:
enable: true
You can replace your own Alipay/Wechat qrcode in themes/source/css/images
Here the name must same as alipay.jpg
or wechat.jpg
.
You can easily add your social account by just adding your settings into _config.yml
# Links
weibo_username: your_weibo_account
twitter_username: your_twitter_account
github_username: your_github_account
zhihu_username: your_zhihu_account
MIT