mirror of
https://github.com/vale981/metalsmith-collections
synced 2025-03-04 17:01:41 -05:00
adding reference to the refer option
This commit is contained in:
parent
0d84c978ba
commit
08304aac50
1 changed files with 11 additions and 0 deletions
11
Readme.md
11
Readme.md
|
@ -107,6 +107,17 @@ metalsmith.use(collections({
|
||||||
}));
|
}));
|
||||||
```
|
```
|
||||||
|
|
||||||
|
By adding `refer: false` to your options, it will skip adding the "next" and
|
||||||
|
"previous" links to your articles.
|
||||||
|
|
||||||
|
```js
|
||||||
|
metalsmith.use(collections({
|
||||||
|
articles: {
|
||||||
|
refer: false
|
||||||
|
}
|
||||||
|
}));
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## CLI Usage
|
## CLI Usage
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue