Commit d8bbaae6 authored by Marcia Ramos's avatar Marcia Ramos

Merge branch 'jlenny-DocPagesTemplates' into 'master'

Instructions on how to use Pages templates

Closes #56991

See merge request gitlab-org/gitlab-ce!24796
parents d6be539b 0f355e57
...@@ -31,12 +31,26 @@ The optional settings, custom domain, DNS records, and SSL/TLS certificates, are ...@@ -31,12 +31,26 @@ The optional settings, custom domain, DNS records, and SSL/TLS certificates, are
## Project ## Project
Your GitLab Pages project is a regular project created the Your GitLab Pages project is a regular project created the
same way you do for the other ones. To get started with GitLab Pages, you have two ways: same way you do for the other ones. To get started with GitLab Pages, you have three ways:
- Use one of the popular templates already in the app,
- Fork one of the templates from Page Examples, or - Fork one of the templates from Page Examples, or
- Create a new project from scratch - Create a new project from scratch
Let's go over both options. Let's go over each option.
### Use one of the popular Pages templates bundled with GitLab
> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/issues/47857)
in GitLab 11.8.
The simplest way to create a GitLab Pages site is to use one of the most
popular templates, which come already bundled and ready to go. To use one
of these templates:
1. From the top navigation, click the **+** button and select **New project**
1. Select **Create from Template**
1. Choose one of the templates starting with **Pages**
### Fork a project to get started from ### Fork a project to get started from
......
...@@ -91,8 +91,8 @@ site under the HTTPS protocol. ...@@ -91,8 +91,8 @@ site under the HTTPS protocol.
## Getting started ## Getting started
To get started with GitLab Pages, you can either [create a project from scratch](getting_started_part_two.md#create-a-project-from-scratch) To get started with GitLab Pages, you can either [create a project from scratch](getting_started_part_two.md#create-a-project-from-scratch),
or quickly start from copying an existing example project, as follows: use a [bundled template](getting_started_part_two.md#use-one-of-the-popular-pages-templates-bundled-with-gitlab), or copy any of our existing example projects:
1. Choose an [example project](https://gitlab.com/pages) to [fork](../../../gitlab-basics/fork-project.md#how-to-fork-a-project): 1. Choose an [example project](https://gitlab.com/pages) to [fork](../../../gitlab-basics/fork-project.md#how-to-fork-a-project):
by forking a project, you create a copy of the codebase you're forking from to start from a template instead of starting from scratch. by forking a project, you create a copy of the codebase you're forking from to start from a template instead of starting from scratch.
......
Markdown is supported
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