Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c5c5f81b
Commit
c5c5f81b
authored
Nov 26, 2020
by
Achilleas Pipinellis
Committed by
Russell Dickenson
Nov 26, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note about baseurl in Pages
parent
bc544f43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
doc/user/project/pages/getting_started_part_one.md
doc/user/project/pages/getting_started_part_one.md
+7
-1
No files found.
doc/user/project/pages/getting_started_part_one.md
View file @
c5c5f81b
...
...
@@ -80,6 +80,9 @@ To understand Pages domains clearly, read the examples below.
## URLs and baseurls
NOTE:
**Note:**
The
`baseurl`
option might be called named differently in some static site generators.
Every Static Site Generator (SSG) default configuration expects
to find your website under a (sub)domain (
`example.com`
), not
in a subdirectory of that domain (
`example.com/subdir`
). Therefore,
...
...
@@ -96,7 +99,7 @@ baseurl: "/blog"
```
On the contrary, if you deploy your website after forking one of
our
[
default examples
](
https://gitlab.com/pages
)
, the
baseurl
will
our
[
default examples
](
https://gitlab.com/pages
)
, the
`baseurl`
will
already be configured this way, as all examples there are project
websites. If you decide to make yours a user or group website, you'll
have to remove this configuration from your project. For the Jekyll
...
...
@@ -106,6 +109,9 @@ example we've just mentioned, you'd have to change Jekyll's `_config.yml` to:
baseurl
:
"
"
```
If you're using the
[
plain HTML example
](
https://gitlab.com/pages/plain-html
)
,
you don't need to set a
`baseurl`
.
## Custom domains
GitLab Pages supports custom domains and subdomains, served under HTTP or HTTPS.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment