Commit b81ceb3f authored by GitLab's avatar GitLab Committed by Jason Lenny
Browse files

Initial template creation

Example plain HTML website using GitLab with [Netlify](
## Netlify Configuration
In order to build this site with Netlify, simply log in or register at, then select "New site from Git" from the top
right. Select GitLab, authenticate if needed, and then select this
project from the list.
You will need to set the publish directory to `/public`. Netlify will handle the
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.
## Did you fork this project?
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.
## Troubleshooting
1. CSS is missing! That means that you have wrongly set up the CSS URL in your
HTML files. Have a look at the [index.html] for an example.
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="generator" content="GitLab Pages">
<title>Plain HTML site using GitLab Pages</title>
<link rel="stylesheet" href="style.css">
<div class="navbar">
<a href="">Plain HTML Example</a>
<a href="">Repository</a>
<a href="">Other Examples</a>
<h1>Hello World!</h1>
This is a simple plain-HTML website on GitLab Pages, without any fancy static site generator.
body {
font-family: sans-serif;
margin: auto;
max-width: 1280px;
.navbar {
background-color: #313236;
border-radius: 2px;
max-width: 800px;
.navbar a {
color: #aaa;
display: inline-block;
font-size: 15px;
padding: 10px;
text-decoration: none;
.navbar a:hover {
color: #ffffff;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment