Skip to content

sjaakvandenberg/sjaakvandenberg.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

112 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workflow

Tools used are hexo with several plugins, imagemin for image minification on a directory basis and Git via Hexo for uploading.

Command Description
hexo clean remove ./public
hexo generate generate ./public
hexo new draft <post title> create new draft in ./source/_drafts'
hexo publish <post-title> move draft to ./source/_posts/
hexo new <post title> create new post in ./source/_posts/
hexo new page <page title> create new page in ./source/
cd <images dir> change to images directory
imagemin * . -o 5 minify images w/ optimizationLevel 5
hexo deploy deploy ./public/* to github

Source Directory

This contains the files used to generate ./public. Run npm i to install local packages. For the global packages Hexo and imagemin, run npm i -g hexo-cli and npm i -g imagemin respectively.

Command Description
git checkout source change to source branch
git status display git status
git commit -am "message" add and commit files to git
git push -u origin source push files to source branch

@svdb

About

This is the repo for my personal website. It uses Hexo to serve the content.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors