Light theme preview
Dark theme preview
Star theme preview
Hexo-theme-snail is a succinct hexo theme. It has two colors, light and star, that can be set according to your own preferences in the settings, and also has the functions of sharing and commenting. More features are under development.
- light color theme and star theme
- diversified comment system
- notice tips
- sharing to other platforms (under development)
- picture sharing (under development)
$ npm install hexo-cli -g
$ hexo init blog
$ cd blog
To install Mathjax, please click https://www.dusign.net/2019/10/14/Hexo-Configuration/ for a detailed tutorial.
npm install hexo-wordcount --save
See https://github.com/willin/hexo-wordcount for detailed configuration method.
Modify the value of
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
$ hexo generate
Replace the following information with your own.
subtitle: At the bottom of the well, it is destined to see only the sky at the wellhead.
However, the starting point only affects the process of reaching your peak and does not determine the height you reach.
Put customized pictures in
# Site settings
description: "A hexo theme"
keyword: "dusign, hexo-theme-snail"
signature: true #show signature
If you don’t want to display it, you can delete it directly.
# SNS settings
facebook_username: Gang Du
# Sidebar Settings
See https://github.com/imsun/gitment for detailed configuration method.
## This comment system is gitment
## gitment url: https://github.com/imsun/gitment
enable value of the desired color sheme to
true. If the value of
true, please modify the value of
# Background effects
## If there is no effect after modification, please empty the cache and try again.
## ⚠️ The following special effects will take up a lot of cpu resorces, please open it carefully.
content: '"🌱","just do it","🍀"'
# Visitor statistics
# Color Theme
$ npm install hexo-generator-search --save
then add the follow configure to
- path - file path. By default is search.xml . If the file extension is .json, the output format will be JSON. Otherwise XML format file will be exported.
- field - the search scope you want to search, you can chose:
- post (Default) - will only covers all the posts of your blog.
- page - will only covers all the pages of your blog.
- all - will covers all the posts and pages of your blog.
- content - whether contains the whole content of each article. If false, the generated results only cover title and other meta info without mainbody. By default is true.
hexo deploywith “ERROR Deployer not found: git”
npm install --save hexo-deployer-git
Hexo-theme-snail has added the article top function, just add the following content in the article head.
- hide sidebar when toc is empty
- fix category jump path issue in sidebar
- add a default image for new articles
- add photography (under development)
- fix top and page conflict
- fix the bug
- add search within site
- add top
- image wave effect
- add share
- add dark theme
- change title font-family
- add wordcount
- add visitor statistics
- fix the bug (categories not display)
- replacing mathjax with marked
- fix the bugs
- add comment system
- add notice tips
- add star theme
- add line theme (background effect)
- add mouse-click effect