File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{% comment %}
2- When rendering websites locally, `site.github.url` doesn't get resolved
3- properly unless GitHub PAT are set up and available in the environment.
4- This leads to warnings and errors when trying to serve the site locally.
5- To work around this, we use the `jekyll.environment` variable which is set to
6- `development` when rendering the site locally, and set to `production` on
7- GitHub where `site.github.url` will be defined.
2+ When rendering websites locally, `site.github.url` doesn't get resolved properly
3+ unless a GitHub Personal Access Token is set up and available in the
4+ environment. This leads to warnings and errors when trying to serve the site
5+ locally. To work around this, we use the `jekyll.environment` variable which is
6+ set to `development` when rendering the site locally, and set to `production` on
7+ GitHub where `site.github.url` is defined.
88{% endcomment %}
99
1010{% if jekyll.environment == "production" %}
You can’t perform that action at this time.
0 commit comments