Example Hugo website using GitLab Pages.
Table of Contents generated with DocToc
To work locally with this project, you'll have to follow the steps below:
- Fork, clone or download this project
- Install Hugo
- Preview your project:
- Add content
- Generate the website:
Read more at Hugo's documentation.
If you clone or download this project to your local computer and run
your site can be accessed under
The theme used is adapted from http://themes.gohugo.io/beautifulhugo/.
To use this project as your user/group website, you will need one additional
step: just rename your project to
groupname. This can be done by navigating to your
You'll need to configure your site too: change this line
baseurl = "https://namespace.gitlab.io".
Proceed equally if you are using a custom domain:
baseurl = "http(s)://example.com".
If you forked this project for your own use, please go to your project's Settings and remove the forking relationship, which won't be necessary unless you want to contribute back to the upstream project.
CSS is missing! That means two things:
Either that you have wrongly set up the CSS URL in your templates, or your static generator has a configuration option that needs to be explicitly set in order to serve static assets under a relative URL.