devbox
Cpp五条
这个屌丝很懒,什么也没留下!
当前位置:   article > 正文

Hexo博客搭建以及主题使用_hexo snail主题配置

hexo snail主题配置

本文主要介绍Hexo博客搭建以及主题使用。Hexo是一款很好用的博客系统,有很多非常漂亮的主题,下面笔者介绍一款简洁漂亮的主题——Hexo-Theme-snail。这款主题是笔者在别人的主题的基础上开发的,主题的详细样式请浏览笔者的个人博客 super snail。下面是主题的 README 文件,这是笔者直接复制的,详细的使用方法请点击 hexo-theme-snail 查看。

hexo-theme-snail

View Hexo-Theme-Snail Sources On Github ➾

Light Theme
light theme

Dark Theme
dark theme

Star Theme
star theme

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.

Features

  • light color theme and star theme
  • diversified comment system
  • notice tips
  • share to other platforms (under development)
  • picture sharing (under development)

Quick Start

Install Hexo
$ npm install hexo-cli -g
  • 1
Setup your blog
$ hexo init blog
  • 1
Installation Theme
$ cd blog
$ rm -rf source
$ rm _config.yml package.json README.md LICENSE
$ git clone https://github.com/dusign/hexo-theme-snail.git
$ mv ./hexo-theme-snail/snail ./themes
$ mv ./hexo-theme-snail/* ./
$ npm install
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
Set Theme

Modify the value of theme: in _config.yml

# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: snail
  • 1
  • 2
  • 3
  • 4
Start the Server
$ hexo generate
$ hexo server
  • 1
  • 2

Configuration

Site

Replace the following information with your own.

# Site
title: 
subtitle: At the bottom of the well, it is destined to see only the sky at the wel
  • 1
  • 2
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/394340
推荐阅读
相关标签
  

闽ICP备14008679号