Made small pull request fixes as noted by Parker
This commit is contained in:
parent
a82b063d42
commit
38a561a14c
|
@ -204,11 +204,12 @@ class="flag">flags</code> (specified on the command-line) that control them.
|
||||||
<tr class="setting">
|
<tr class="setting">
|
||||||
<td>
|
<td>
|
||||||
<p class="name"><strong>Environment</strong></p>
|
<p class="name"><strong>Environment</strong></p>
|
||||||
<p class="description">Use a specific environment value in the build</p>
|
<p class="description">Use a specific environment value in the build.</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="align-center">
|
<td class="align-center">
|
||||||
<p><code class="flag">JEKYLL_ENV=production</code></p>
|
<p><code class="flag">JEKYLL_ENV=production</code></p>
|
||||||
</td>
|
</td>
|
||||||
|
</tr>
|
||||||
<tr class="setting">
|
<tr class="setting">
|
||||||
<td>
|
<td>
|
||||||
<p class="name"><strong>Future</strong></p>
|
<p class="name"><strong>Future</strong></p>
|
||||||
|
@ -272,7 +273,6 @@ class="flag">flags</code> (specified on the command-line) that control them.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Serve Command Options
|
### Serve Command Options
|
||||||
|
|
||||||
In addition to the options below, the `serve` sub-command can accept any of the options
|
In addition to the options below, the `serve` sub-command can accept any of the options
|
||||||
|
@ -373,7 +373,7 @@ Specifying an environment value allows you to make certain content available onl
|
||||||
|
|
||||||
The default value for `JEKYLL_ENV` is `development`. Therefore if you omit `JEKYLL_ENV` from the build arguments, the default value will be `JEKYLL_ENV=development`. Any content inside `{% raw %}{% if jekyll.environment == "development" %}{% raw %}` tags will automatically appear in the build.
|
The default value for `JEKYLL_ENV` is `development`. Therefore if you omit `JEKYLL_ENV` from the build arguments, the default value will be `JEKYLL_ENV=development`. Any content inside `{% raw %}{% if jekyll.environment == "development" %}{% raw %}` tags will automatically appear in the build.
|
||||||
|
|
||||||
Your environment values can be anything you want (not just `development` or `production`). Some elements you might want to hide in development environments include Disqus comment forms or Google Analytics. Conversely, you might want to expose an "Edit me in Github" button in a development environment but not include it in production environments.
|
Your environment values can be anything you want (not just `development` or `production`). Some elements you might want to hide in development environments include Disqus comment forms or Google Analytics. Conversely, you might want to expose an "Edit me in GitHub" button in a development environment but not include it in production environments.
|
||||||
|
|
||||||
By specifying the option in the build command, you avoid having to change values in your configuration files when moving from one environment to another.
|
By specifying the option in the build command, you avoid having to change values in your configuration files when moving from one environment to another.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue