This repo hosts my personal website written with hugo
.
To check the rendered result, go to https://fabgilson.github.io.
- Clone this repo
- Import theme as submodule:
git submodule add git@github.com:fabgilson/hugo-anatole-fork.git
- Init and update submodule
git submodule init
git submodule update
- Look in
config.toml
for more.
- make changes and use
$ hugo server -D
(possible adding '-p PORT' if needed) $ hugo
(to build the/public
folder containing the static website)$ cd public
$ git add .
$ git commit -m "my changes"
$ git push origin master
(public needs to be a submodule pointing to fabgilson.github.io magic repo)$ git add
the changes and push them
Make sure the public folder is in .gitignore
.
If submodule (for public) not set up yet:
cd public
git init
git add .
git remote add origin https://github.com/fabgilson/fabgilson.github.io.git
Thanks to: