Hexo博客搭建以及主题使用

本文主要介绍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
Setup your blog
$ hexo init blog
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
Set Theme

Modify the value of theme: in _config.yml

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

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 wellhead. 
          However, the starting point only affects the process of reaching your peak and does not determine the height you reach.
author: Dusign
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值