simple, concise blog theme for Hexo.
git clone https://github.com/helbing/hexo-theme-white.git themes/white
# _config.yml
theme: white
yarn add hexo \
hexo-generator-feed \
hexo-generator-index \
hexo-generator-tag \
hexo-renderer-ejs \
hexo-renderer-marked \
hexo-renderer-scss
yarn add --dev hexo-browsersync \
hexo-server
you also can use npm to install dependency packages
cd themes/white
git pull
# themes/white/_config.yml
title: WHITE
description: "A simple, concise blog theme for Hexo."
# themes/white/_config.yml
menu:
Home: /
Tags: /tags
About: /about
Rss: /atom.xml
# themes/white/_config.yml
rss: /atom.xml
# themes/white/_config.yml
copyright:
name: helbing
url: https://github.com/helbing
copy your favicon.png into /source
# themes/white/_config.yml
favicon: /favicon.png
# themes/white/_config.yml
social:
github:
url: https://github.com/helbing
icon: "fab fa-github"
mail:
url: mailto:helbingxxx@gmail.com
icon: "fas fa-at"
xxx:
url:
icon:
you can find icons in fontawesome
# _config.yml
highlight:
enable: false
line_number: false
auto_detect: false
tab_replace:
# themes/white/_config.yml
disqus:
enable: true
shortname: # your disqus shortname
you can read the document
hexo new page "about"
edit source/about/index.md
---
title: about
date: 2019-01-30 09:58:54
type: about
author: # your name
avatar: # your avatar, like https://xxxx/xxxx.png
---
your infomation, like
Hello, my name is xxxx, I like
1. xxx
2. xxx
3. xxx
4. and so on
hexo new page "tags"
edit source/tags/index.md
---
title: tags
date: 2019-01-25 18:40:18
type: tags
---
hexo new post <title>
edit source/_posts/<title>.md
---
date: 2018-12-14
title: # post title, recommended length 20
description: # your post description, recommend length 100 - 120
tags: ["hello", "world"] # post tags
cover: # your post cover, like https://xxxx/xxxx.png, recommend 1920px * 1080px
---
your post content