使用 Ekinosoba来打造hexo博客

1.安装hexo

确保您已经安装node.js和git

$ npm i hexo -g

测试安装:

$ hexo -v

2.安装Ekinosoba

$ pwd
# 在您想要搭建博客的目录里
$ cd themes
$ git clone https://github.com/oldhelps/ekinosoba.git

3.配置Ekinosoba和hexo

./__config.yml(站点配置文件)里改动:

# Site
title: Hexo #标题
subtitle: ''
author: John Doe #作者
language: en #语言
timezone: ''

themes/ekinosoba/__config.yml里更改导航栏、友情链接和社交网站地址:

# navigation menu
menu:
  - name: Home
    slug: home
    url: /
  - name: Archives
    slug: archives
    url: /archives
  - name: Categories
    slug: categories
    url: /categories
  - name: Tags
    slug: tags
    url: /tags
  - name: About
    slug: about
    url: /about

# widgets
widgets:
  - about
  - links
  - categories
  - tagcloud


# use url, not username
social:
- slug: github
  url: https://github.com/oldhelps
# you can make many social links

#hero images
hero_image: 2.png # 图片路径
hero_title: 老帮帮的博客 # 标题
hero_subtitle: 老帮帮的博客。 # 副标题

author:
  name: 老帮帮 #侧边栏用户名
  bio : Tempora mutantur, nos et mutamur in illis ...djkadj #简介