Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 791 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 791 Bytes

HUGO

See the link below for the basic usage of Hugo: Basic usage

Build

Build hugo locally hugo -t theme_folder_name

Run

Run hugo locally for development purpose: hugo server -t theme_folder_name

Deploy to Github Pages

  • Delete the current public folder rm -rf public.
  • Only at the first deploy, add the submodule: git submodule add -b master https://github.com/andr3a88/andr3a88.github.io.git public.
  • Give permission chmod +x deploy.sh
  • Run ./deploy to deploy on public submodule. Remember to push the changes on website repository.

Issue with submodule?

Type on terminal git rm --cached public

Themes