Skip to content

Commit 3241686

Browse files
Laoujinjekyllbot
authored andcommitted
docs/configuration: GitHub tables were messed up (#96)
Merge pull request 96
1 parent 069fedc commit 3241686

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

docs/configuration.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ jekyll-archives:
2828
---
2929

3030
#### Enabled archives
31-
| Key | Value type | Values |
32-
|---|---|---|---|
31+
| Key | Value type | Values |
32+
|-----------|-----------------|--------|
3333
| `enabled` | String or Array | `'all'` or an array of any combination of `year`, `month`, `day`, `categories`, `tags` |
34+
3435
##### Description
3536
This option sets which types of archives will be created. Must be set to an array of enabled archive types, or the string 'all' (to enable all archives).
3637
##### Sample values
@@ -47,9 +48,10 @@ enabled:
4748
---
4849

4950
#### Default layout
50-
| Key | Value type | Values |
51-
|---|---|---|---|
52-
| `layout` | String | The layout name of the default archive layout |
51+
| Key | Value type | Values |
52+
|----------|------------|--------|
53+
| `layout` | String | The layout name of the default archive layout |
54+
5355
##### Description
5456
Sets the default layout to use if no type-specific layout (see [Type-specific layouts](#type-specific-layouts) below) for an archive is specified.
5557
##### Sample values
@@ -61,9 +63,10 @@ layout: custom-archive-layout # _layouts/custom-archive-layout.html
6163
---
6264

6365
#### Type-specific layouts
64-
| Key | Value type | Values |
65-
|---|---|---|---|
66+
| Key | Value type | Values |
67+
|-----------|---------------------------|--------|
6668
| `layouts` | Map, String → String | A map of layout type (`year`, `month`, `day`, `category`, `tag`) to its archive name. |
69+
6770
##### Description
6871
Maps archive types to the layout they will be rendered in. Not all types need to be specified; those without a specific layout will fall back to the default layout.
6972
##### Sample values
@@ -78,9 +81,10 @@ layouts:
7881
---
7982

8083
#### Permalinks
81-
| Key | Value type | Values |
82-
|---|---|---|---|
84+
| Key | Value type | Values |
85+
|--------------|---------------------------|--------|
8386
| `permalinks` | Map, String → String | A map of layout type (`year`, `month`, `day`, `category`, `tag`) to its permalink format. |
87+
8488
##### Description
8589
Maps archive types to the permalink format used for archive pages. The permalink style is the same as regular Jekyll posts and pages, but with different variables.
8690

0 commit comments

Comments
 (0)