diff options
author | Marcia Ramos <marcia@gitlab.com> | 2019-02-05 14:51:40 +0000 |
---|---|---|
committer | Marcia Ramos <marcia@gitlab.com> | 2019-02-05 14:51:40 +0000 |
commit | d8bbaae6dd5918c713f49e0256764c3d4f0187da (patch) | |
tree | 700de201fa68ee0e05b06ac4e3bda4f5ccac7607 | |
parent | d6be539bf1be90d81ac4ad7aac94aedebac10c43 (diff) | |
parent | 0f355e57f60cb52bb68c624807121a84a20d32dc (diff) | |
download | gitlab-ce-d8bbaae6dd5918c713f49e0256764c3d4f0187da.tar.gz |
Merge branch 'jlenny-DocPagesTemplates' into 'master'
Instructions on how to use Pages templates
Closes #56991
See merge request gitlab-org/gitlab-ce!24796
-rw-r--r-- | doc/user/project/pages/getting_started_part_two.md | 18 | ||||
-rw-r--r-- | doc/user/project/pages/index.md | 4 |
2 files changed, 18 insertions, 4 deletions
diff --git a/doc/user/project/pages/getting_started_part_two.md b/doc/user/project/pages/getting_started_part_two.md index b0560c2f44c..8dbbdd051f1 100644 --- a/doc/user/project/pages/getting_started_part_two.md +++ b/doc/user/project/pages/getting_started_part_two.md @@ -31,12 +31,26 @@ The optional settings, custom domain, DNS records, and SSL/TLS certificates, are ## Project 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 - 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 diff --git a/doc/user/project/pages/index.md b/doc/user/project/pages/index.md index ce4fccdaff3..11f6165fcb4 100644 --- a/doc/user/project/pages/index.md +++ b/doc/user/project/pages/index.md @@ -91,8 +91,8 @@ site under the HTTPS protocol. ## 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) -or quickly start from copying an existing example project, as follows: +To get started with GitLab Pages, you can either [create a project from scratch](getting_started_part_two.md#create-a-project-from-scratch), +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): 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. |