Fix Jekyll environment note in configuration documentation

Close #2912
This commit is contained in:
Michael Rose
2021-05-11 10:42:12 -04:00
parent 2127655ad8
commit 4e2e64989f
3 changed files with 5 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
title: "Configuration"
permalink: /docs/configuration/
excerpt: "Settings for configuring and customizing the theme."
last_modified_at: 2020-08-04T11:26:21-04:00
last_modified_at: 2021-05-11T10:40:42-04:00
toc: true
---
@@ -161,7 +161,7 @@ The base hostname and protocol for your site. If you're hosting with GitHub Page
GitHub Pages now [forces `https://` for new sites](https://help.github.com/articles/securing-your-github-pages-site-with-https/) so be mindful of that when setting your URL to avoid mixed-content warnings.
**Note:** Jekyll 3.3 overrides this value with `url: http://localhost:4000` when running `jekyll serve` locally in development. If you want to avoid this behavior set `JEKYLL_ENV=production` to [force the environment](http://jekyllrb.com/docs/configuration/#specifying-a-jekyll-environment-at-build-time) to production.
**Note:** Jekyll 3.3 overrides this value with `url: http://localhost:4000` when running `jekyll serve` locally in development. If you want to avoid this behavior set `JEKYLL_ENV=production` to [force the environment](https://jekyllrb.com/docs/configuration/environments/) to production.
{: .notice--warning}
### Site base URL