Example Hugo website using GitLab with Netlify.
In order to build this site with Netlify, simply log in or register at https://app.netlify.com/, then select "New site from Git" from the top right. Select GitLab, authenticate if needed, and then select this project from the list. Netlify will handle the rest.
In the meantime, you can take advantage of all the great GitLab features like merge requests, issue tracking, epics, and everything else GitLab has to offer.
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:
hugo server
- Add content
- Generate the website:
hugo
(optional)
Read more at Hugo's documentation.
If you clone or download this project to your local computer and run hugo server
,
your site can be accessed under localhost:1313/hugo/
.
The theme used is adapted from http://themes.gohugo.io/beautifulhugo/.
-
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.