Using the static web generator Hugo and the wonderful theme Hugo-Academic, we promise to:
All the stages are detailed on the exhaustive documentation of Hugo Academic but we do remind some of them here. We assume you have a Github account but it is the same if you own a Gitlab(.com) one:
At this stage, you already have a basic but working website. The URL is however UGLY:
Settings
→ Domain managment
: Change the URL base name (e.g myname.netlify.com)Every time you do a push
to your remote Git reposity, Netlify will rebuild your website. In case the rebuild failed, you can access the log to correct the mistake. Rebuilding the website takes about 20seconds.
You have to install Hugo on your computer (see above). We assume that you want your folder to be named webpage
.
> git clone https://path_to_repo webpage
> git submodule uppublishDate --init --recursive
> hugo serve
> sh uppublishDate_academic.sh
And do not forget to commit
and push
!
> git add /path/to/newfile
> git commit -a -m "Message of the commit"
> git push
Refresh your webpage, it should be actualized in the minut.
commit
a broken code, i.e a code that Hugo fails to build. Always check if everything is fine locally!
/config.toml
This is the main config file: choose the options you want by filling the blanks spaces (quite intuitive)
For every operations of that kind, we refer to the documentation.