LIM -A Theme For HEXO-
LIM, it is an abbreviations of “Less is more”. A sophisticated morden flat design completed this clean, easy, wonderful theme.
BEFORE USING
LIM IS NOW STILL ALFA VERSIOM。
PLEASE REQUEST THE PROBLEM TO US TO MAKE THE THEME BETER
😉
STATE OF FRONT-END DEVELOP
-
"[✓]" Means Finished "[ ]" Means Haven't Finished.
-
Footer Social-link icon quote from Font-Awesome
-
Search Box Effect
-
Import Pace.js For Loading Effect
-
Build New "About Page"
-
Index.ejs & layout.ejs Rebuild
-
Picture Display Effect Rebuild
-
Change Markdown Render Engine
-
Support Checkbox With MD
-
Added Button For Click2Load Disqus
STATE OF BACK-END DEVELOP
-
"[✓]" Means Finished "[ ]" Means Haven't Finished.
-
Optimise Footer.ejs & config.yml Efficiency
-
Local Comments System BuildSupport Disqus -
Support Lazyload
-
Local Search System Build
-
Optimice CSS & JS Animation Performance
Usage
-
cd To Your
Root
Directory Of HEXO$ cd ~/Your-Root-Derectory-Of-Hexo/
-
Clone Files And Install Necessery Parts
$ clone https://https://github.com/CarterJimmy/LIM.git themes/LIM
$ npm install hexo-renderer-sass --save
$ npm install hexo-tag-fontawesome --save
$ npm install hexo-generator-tag --save
$ npm install hexo-generator-feed --save
$ npm install hexo-tag-aplayer --save
-
Change the
themes
property in_config.yml
theme: LIM
-
Customize And Apply
Runhexo server
to test the theme at local.
Runhexo deploy -g
to apply new theme for your Page
Other
To use the checkbox function, you have to remove the default markdown-render-engine and install hexo-renderer-markdown-it
for new one.
Here is the step for install.
- Move to your
root
Directory Of HEXO
$ cd ~/Your-Root-Derectory-Of-Hexo/
- Remove the default renderer, and install new renderer.
$ npm uninstall hexo-renderer-marked --save
$ npm install hexo-renderer-markdown-it --save
- For using the checkbox function, you have to install
markdown-it-checkbox
plugin.
$ cd node_modules/hexo-renderer-markdown-it/
$ npm install markdown-it-checkbox --save
- Change your root
_config.yml
# Markdown-it config
## Docs: https://github.com/celsomiranda/hexo-renderer-markdown-it/wiki
markdown:
render:
html: true # Doesn't escape HTML content so the tags will appear as html.
xhtmlOut: false # Parser will not produce XHTML compliant code.
breaks: true # Parser produces `<br>` tags every time there is a line break in the source document.
linkify: false # Returns text links as text.
typographer: true # Substitution of common typographical elements will take place.
quotes: '“”‘’' # "double" will be turned into “single”
# 'single' will be turned into ‘single’
plugins:
- markdown-it-abbr
- markdown-it-checkbox # Enable the checkbox function
- markdown-it-emoji # If you're looking for the Emoji function, you have to install this plugin
- markdown-it-footnote
- markdown-it-ins
- markdown-it-sub
- markdown-it-sup
anchors:
level: 2 # Minimum level for ID creation. (Ex. h2 to h6)
collisionSuffix: 'v' # A suffix that is prepended to the number given if the ID is repeated.
permalink: true # If true, creates an anchor tag with a permalink besides the heading.
permalinkClass: header-anchor # Class used for the permalink anchor tag.
permalinkSymbol: ¶ # The symbol used to make the permalink.