Go to file
curben ff42252056 Add bsdtar example 2018-10-17 19:12:15 +10:30
scaffolds first commit 2016-02-29 20:25:06 +06:00
source Add bsdtar example 2018-10-17 19:12:15 +10:30
themes/typing Use 'Content is available under' 2018-10-14 22:36:29 +10:30
.gitignore first commit 2016-02-29 20:25:06 +06:00
.gitlab-ci.yml Use alpine image instead of ubuntu 2018-10-13 20:33:14 +10:30
.nvmrc Use latest version of node on netlify 2018-10-11 17:18:54 +10:30
.snyk Add ignore policy to snyk 2018-10-11 11:38:56 +10:30
README.md Update installation guide 2018-09-23 10:35:41 +09:30
_config.yml Update gitlab link 2018-10-02 20:34:30 +09:30
netlify.toml Remove brotli header 2018-10-02 11:38:35 +09:30
package-lock.json Add ignore policy to snyk 2018-10-11 11:38:56 +10:30
package.json Prepare for netlify 2018-09-30 17:07:10 +09:30

README.md

curben.gitlab.io

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 from the upstream.

Hexo

  • Update .gitlab-ci.yml to use the latest version of Node.js in the Docker image.
  • Update package.json to use latest version of hexo and its related packages.
  • Replace the bundled Landscape theme with Typing theme.

Typing theme

  • Homepage shows index of posts.
  • Remove header and footer display (except for /about page).
  • Use the latest version of jQuery, fancyBox and Font Awesome
  • All js and css files are self-hosted and pre-compressed.
  • Remove analytic, comment system and donation links.

Useful links: Hexo Docs GitLab Pages