https://github.com/twoyao/beautiful-hexo
hexo theme ported from beautiful-jekyll.
https://github.com/twoyao/beautiful-hexo
Last synced: about 1 month ago
JSON representation
hexo theme ported from beautiful-jekyll.
- Host: GitHub
- URL: https://github.com/twoyao/beautiful-hexo
- Owner: twoyao
- License: mit
- Created: 2016-06-25T23:03:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-02-08T09:13:56.000Z (about 3 years ago)
- Last Synced: 2024-05-20T09:21:54.115Z (11 months ago)
- Language: CSS
- Homepage: http://twoyao.github.io/beautiful-hexo
- Size: 4.97 MB
- Stars: 72
- Watchers: 2
- Forks: 36
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hexo-themes - twoyao/beautiful-hexo - jekyll.|54| (Content)
README
# Beautiful-hexo
Beautiful-hexo is a simple elegant hexo theme ported from [Beautiful-jekyll](http://deanattali.com/beautiful-jekyll) which written by [Dean Attali](http://deanattali.com/aboutme). Nice work!

### Install
```
hexo init site
cd site
npm install --save hexo-generator-archive hexo-renderer-jade hexo-generator-tag hexo-generator-feed hexo-generator-sitemap hexo-browsersync
git clone --depth 1 https://github.com/twoyao/beautiful-hexo.git themes/beautiful-hexo
```Modify `_config.yml` change `theme` to `beautiful-hexo` and configure hexo-generator-archive :
```
theme: beautiful-hexoarchive_generator:
per_page: 0
yearly: false
monthly: false
daily: false
```### Comment
#### netease-gentie
Setup `comment.netease.productKey` in theme's `_config.yml`. For test, you have to ensure your website hostname match settings of netease-gentie.
To do so, add flollowing lines in /etc/hosts:```
127.0.0.1 notes.example.com
```And run hexo at 80 port: `sudo hexo s --debug -p 80`. After test, you may revert hosts file.
### Tags page
For displaying a page with all blog tags, create a folder named `tags` at `source` folder with the following `index.md` inside:
```
---
title: "Tags"
layout: "tags"
---
```Don't forget to update your `navbar-links` at `beautiful-hexo` `_config.yml` file:
```
navbar-links:
...
Tags: /tags
```Theme config file is brief and clear.
If you have any question, check [hexo online document](https://hexo.io/).