Hexo-Theme-Lx
Star me if you like.
Live Demo:
Stable:https://lx.js.org
Dev: https://lx.blleng.cn
Any problem: issue
Usage
Git clone
At theme blog root dir:
1 | $ git clone https://github.com/blleng/hexo-theme-lx themes/lx |
Apply
Edit _config.yml
:
1 | theme: lx |
Features
The description here is not complete. You should read the comment in
themes/lx/_config.yml
Analytics
lx
use Baidu and Google as analytics.
Usage:
Edit themes/lx/_config.yml
:
1 | google_analytics: ... ##Google analytics ID |
Local search
- Install the
hexo-generator-searchdb
:
At the blog root dir:
1 | $ npm install hexo-generator-searchdb -s |
- Edit
themes/lx/_config.yml
:
1 | local_search: |
More features in themes/lx/_config.yml
Comment
lx
use valine as comment system.
The official site: https://valine.js.org
Usage:
Edit themes/lx/_config.yml
:
1 | comment: |
In the page front-matter:comment: true
1 | --- |
You should create an application in Leancloud to get appid
and appkey
.
Social links
Edit the themes/_config.yml
1 | social: |
Mathjax
Support Mathematical formulas and chemical equations
Usage:
Editthemes/lx/_config.yml
:
1 | mathjax: |
In the page front-matter: mathjax: true
1 | --- |
Font
1 | font: |
Custom css
1 | custom_css: false |