Leng
2020-03-18

Hexo-Theme-Lx

View

Lx is a simple & clear & elegant hexo theme.

Languages: English, 中文
Current Version:stable
GitHub Repo:https://github.com/blleng/hexo-theme-lx

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

Blog of the author:https://freezing.cool

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

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

Change Log

V0.4.2

  • Page header improved.
  • Page footer navigation improved.
  • Several bugs fixed.

Usage

Git clone

At the root dir of the blog:

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

Apply it

Edit _config.yml file under the root dir:

1
theme: lx

Functions

More features in README file:

Hexo-Theme-Lx

Done

  • Comment
  • Analytics
    • Baidu Analytics
    • Goole Analytics
  • Mathjax
  • Font-Awesome
  • Several tags from NexT
    • label
    • button
    • note
    • video
    • etc…
  • SideBar
  • Social
  • LocalSearch
  • tags
  • category
  • jsdelivr CDN

To Do

  • PJAX
  • Fancybox

Page Test

Mathjax

Math Equation:

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

$$F=\frac{GMm}{r^2}$$

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

Chemical Equation:

$$\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

Basic button

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

With 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

We cannot have a society in which, if two people wish to communicate, the only way that can happen is if it’s financed by a third person who wishes to manipulate them.
— Jaron Lanier

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

Video tag

1
{% video url %}