Go to file
curben a86ded70ab chore: update snyk policy
https://snyk.io/vuln/SNYK-JS-MARKED-174116
2019-04-12 12:57:47 +09:30
scaffolds first commit 2016-02-29 20:25:06 +06:00
source fix: typo 2019-04-07 21:15:10 +09:30
themes/typing style: convert var to let/const 2019-04-10 20:18:45 +09:30
.gitignore Upgrade hexo to 3.8.0 2018-10-26 13:07:23 +10:30
.gitlab-ci.yml chore: remove gnu patch dep 2019-04-05 11:51:41 +10:30
.npmrc refactor: disable package-lock.json 2018-10-28 18:01:18 +10:30
.nvmrc Use latest version of node on netlify 2018-10-11 17:18:54 +10:30
.snyk chore: update snyk policy 2019-04-12 12:57:47 +09:30
LICENSE.md Add license 2018-10-25 14:50:01 +10:30
README.md Update hexo badge version in readme 2018-10-26 17:55:21 +10:30
_config.yml style: remove unused left nav menu 2018-11-08 12:27:15 +10:30
netlify.toml chore: remove hexo-cli 2018-11-06 18:56:11 +10:30
package.json style: convert var to let/const 2019-04-10 20:18:45 +09:30

README.md

curben.netlify.com

Build Status https://www.npmjs.com/package/hexo

Forked from GitLab's Hexo example with Typing theme.

Installation

  1. Change <folder> to a preferred name.
git clone https://gitlab.com/curben/curben.gitlab.io <folder>
  1. Install Node.js.
# Installing npm will also install nodejs as dependency.
# Ubuntu/Debian
sudo apt-get install npm
# Fedora/Red Hat
sudo yum install npm
# Arch Linux
sudo pacman -S npm
  1. Install Hexo and its dependencies (defined in package.json).
$ sudo npm install -g hexo-cli
$ cd <folder>
$ npm install
  1. Generate static files to check for any error. You should always do this before pushing/merging commits to the master branch.
$ hexo generate

Quick Start

Create a new post

$ hexo new "My New Post"

More info: Writing

Run server

$ hexo server

More info: Server

Generate static files

$ hexo generate

More info: Generating

Deploy to remote sites

$ hexo deploy

More info: Deployment

Changes

The following are the major changes I made compared to the upstream.

Hexo site

Typing theme

  • Homepage shows index of posts.
  • Remove header and footer display (except for /about page).
  • Use the latest version of jQuery, fancyBox, Font Awesome and clipboard.js.
  • Remove web analytics, comment systems and donation links.

License

The content of this blog itself is licensed under the Creative Commons Attribution Share Alike 4.0 International license, and the underlying source code used to format and display that content is licensed under the MIT license.


Useful links: