Update contents.lr
This commit is contained in:
parent
fb9964a182
commit
78073ae5e4
|
@ -44,17 +44,17 @@ with behavior for GitHub Pages.
|
|||
|
||||
## CNAME Support
|
||||
|
||||
If you want to use a [CNAME :ext](https://en.wikipedia.org/wiki/CNAME) with
|
||||
custom domain configured GitHub pages and Lektor you can provide the intended
|
||||
CNAME with the `?cname` parameter:
|
||||
If you want to use a custom domain with GitHub pages (also known as a
|
||||
[CNAME :ext](https://en.wikipedia.org/wiki/CNAME)), provide the intended
|
||||
CNAME in the target URL using the `?cname` parameter:
|
||||
|
||||
```ini
|
||||
[servers.production]
|
||||
target = ghpages://your-user/your-repository?cname=www.example.com
|
||||
```
|
||||
|
||||
Note that this will overwrite your Github page's custom domain setting
|
||||
with given `?cname` parameter on every deployment.
|
||||
Note that this will overwrite whatever custom domain you may have set on
|
||||
GitHub with every deployment.
|
||||
|
||||
For more information about how CNAMEs work with GitHub you can read about
|
||||
the feature in the GitHub help center:
|
||||
|
|
Loading…
Reference in New Issue