2020-03-18

Hexo-Theme-Lx

Cover

Lx is a simple & clear & elegant hexo theme.

Languages: 中文,English
Current version: V0.3.9
Source code on GitHub: https://github.com/blleng/hexo-theme-lx

Source on GitHub: https://github.com/blleng/hexo-theme-lx

Telegram hexo-thme-lx:https://t.me/themelx

Any problem,suggestion or bug report:
https://github.com/blleng/hexo-theme-lx/issues

This site aims to provide a live demo for lx and won’t offer help.
Any problem,suggestion or bug report –> Issue

Latest release

V0.3.9

  • Segment spacing improved
  • Comment area improved

Usage

Stable version:

https://github.com/blleng/hexo-theme-lx/releases

Unzip the package and put the files under themes. Rename it as lx.

Don’t use V0.3.3 and V0.3.5!

Latest version:

At the root dir of your site:

1
$ git clone https://github.com/blleng/hexo-theme-lx themes/lx

The latest verion may have bugs.

Edit the config file:

Edit the _config.yml file under root dir:

1
theme: lx

Functions

More features in README.md:

hexo-theme-lx

Done

  • Comment
  • Analytics
    • Baidu Analytics
    • Goole Analytics
    • Mathjax
  • Font Awesome
  • Some tags from NexT
    • label
    • button
    • note
    • video
    • etc…
  • Sidebar
  • Social links
  • Local Search
  • tags of post
  • category of post
  • Jsdelivr CDN

To Do

  • PJAX
  • Fancybox

Test

Mathjax

万有引力常数为 \(G\) ,对于质量分别为 \(M\) 和 \(m\) ,球心距离为 \(r\) 的两个正球形天体,两者间相互作用力:
$$F=\frac{GMm}{r^2}$$

1
2
万有引力常数为\\(G\\),对于质量分别为\\(M\\)和\\(m\\),球心距离为\\(r\\)的两个正球形天体,两者间相互作用力:
$$F=\frac{GMm}{r^2}$$

化学方程式:

$$\ce{CH2=CH2 + Cl2 -> CH2Cl-CH2Cl}$$

1
$$\ce{CH2=CH2 + Cl2 -> CH2Cl-CH2Cl}$$

Code block

Hello World !
1
2
3
4
5
6
#include<cstdio>
using namespae std;
int main(){
printf("hello world!");
return 0;
}

Note tag

note default

default

note info

info

note primary

primary

note success

success

note warning

warning

note danger

danger

1
2
3
4
{% note default%}
### note default
default
{% endnote %}

Label tag

复道行空不霁何虹长桥卧波未云何龙
1
2
{%label @复道%}{%label primary@行空%},{%label default@不霁%}{%label success@何虹%}。
{%label info@长桥%}{%label danger@卧波%},{%label warning@未云%}<mark>何龙</mark>

Button tag

Button

test_tile
1
{%btn #url,test_tile,,title%}

Icon

test_tile
1
{%btn #url,test_tile,hand-o-right%}

Fix-width

test_tile
1
{%btn #url,test_tile,hand-o-right fa-fw %}

Center-quote tag

人类的悲欢并不相通,我只觉得他们吵闹。
——鲁迅

1
{%cq%} something {%endcq%}

Video tag

1
{% video url %}