parent
4271495fca
commit
74c185c461
|
@ -51,7 +51,7 @@ currently supported options:
|
|||
</p>
|
||||
</div>
|
||||
|
||||
For more details about these options have a look at the [Kramdown configuration documentation](https://kramdown.gettalong.org/options.html).
|
||||
For more details about these options have a look at the [Kramdown configuration documentation](https://kramdown.gettalong.org/options.html).
|
||||
|
||||
### Redcarpet
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ CircleCI detects when `Gemfile` is present is will automatically run `bundle ins
|
|||
|
||||
## 3. Testing
|
||||
|
||||
The most basic test that can be run is simply seeing if `jekyll build` actually works. This is a blocker, a dependency if you will, for other tests you might run on the generate site. So we'll run Jekyll, via Bundler, in the `dependencies` phase.
|
||||
The most basic test that can be run is simply seeing if `jekyll build` actually works. This is a blocker, a dependency if you will, for other tests you might run on the generate site. So we'll run Jekyll, via Bundler, in the `dependencies` phase.
|
||||
|
||||
```yaml
|
||||
dependencies:
|
||||
|
|
|
@ -11,7 +11,7 @@ CI.
|
|||
|
||||
These services run a script when there's a commit on your Git repository.
|
||||
You might want this script to build the site, run tests over the output then deploy it to the
|
||||
service of your choice.
|
||||
service of your choice.
|
||||
|
||||
We have guides for the following providers:
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ redirect_from: "/docs/templates/"
|
|||
---
|
||||
|
||||
Jekyll uses the [Liquid](https://shopify.github.io/liquid/) templating language
|
||||
to process templates.
|
||||
to process templates.
|
||||
|
||||
Generally in Liquid you output content using two curly braces e.g.
|
||||
{% raw %}`{{ variable }}`{% endraw %} and perform logic statements by
|
||||
|
|
|
@ -17,7 +17,7 @@ in an `_includes` folder. Includes are useful for having a single source for
|
|||
source code that repeats around the site or for improving the readability.
|
||||
|
||||
Navigation source code can get complex so sometimes it's nice to move it into an
|
||||
include.
|
||||
include.
|
||||
|
||||
## Include usage
|
||||
|
||||
|
|
|
@ -115,7 +115,7 @@ relative_permalinks: true
|
|||
|
||||
### Permalinks no longer automatically add a trailing slash
|
||||
|
||||
In Jekyll 2, any URL constructed from the `permalink:` field had a trailing slash (`/`) added to it automatically. Jekyll 3 no longer adds a trailing slash automatically to `permalink:` URLs. This can potentially result in old links to pages returning a 404 error. For example, suppose a page previously contained the YAML `permalink: /:year-:month-:day-:title` that resulted in the URL `example.com/2016-02-01-test/` (notice the trailing slash), Jekyll internally generates a folder named `2016-02-01-test`. In Jekyll 3, the same `permalink:` generate the file `2016-02-01-test.html` and the URL for the same page will be `example.com/2016-02-01-test`, and consequently any links to the old URL will result in a 404 error. In order to maintain the same URLs and avoid this problem, a trailing slash should be added to the `permalink:` field, for example `permalink: /:year-:month-:day-:title/`.
|
||||
In Jekyll 2, any URL constructed from the `permalink:` field had a trailing slash (`/`) added to it automatically. Jekyll 3 no longer adds a trailing slash automatically to `permalink:` URLs. This can potentially result in old links to pages returning a 404 error. For example, suppose a page previously contained the YAML `permalink: /:year-:month-:day-:title` that resulted in the URL `example.com/2016-02-01-test/` (notice the trailing slash), Jekyll internally generates a folder named `2016-02-01-test`. In Jekyll 3, the same `permalink:` generate the file `2016-02-01-test.html` and the URL for the same page will be `example.com/2016-02-01-test`, and consequently any links to the old URL will result in a 404 error. In order to maintain the same URLs and avoid this problem, a trailing slash should be added to the `permalink:` field, for example `permalink: /:year-:month-:day-:title/`.
|
||||
|
||||
### All my posts are gone! Where'd they go!
|
||||
|
||||
|
|
|
@ -591,7 +591,7 @@ The `group_by` filter groups the collection content by `category`. More specific
|
|||
```yaml
|
||||
[
|
||||
{"name": "getting-started", "items": [Sample 1, Sample 2],"size": 2},
|
||||
{"name": "configuration", "items": [Topic 1, Topic 2], "size": 2},
|
||||
{"name": "configuration", "items": [Topic 1, Topic 2], "size": 2},
|
||||
{"name": "deployment", "items": [Widget 1, Widget 2, "size": 2}
|
||||
]
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue