Added another step (#2294)
The step is required to get the portfolio collection to work.
This commit is contained in:
parent
2328c8192c
commit
13ab95d1ad
1 changed files with 14 additions and 1 deletions
|
@ -41,6 +41,19 @@ defaults:
|
||||||
share: true
|
share: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Now make a portfolio.md file in the '_pages' folder.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
title: Portfolio
|
||||||
|
layout: collection
|
||||||
|
permalink: /portfolio/
|
||||||
|
collection: portfolio
|
||||||
|
entries_layout: grid
|
||||||
|
classes: wide
|
||||||
|
---
|
||||||
|
```
|
||||||
|
|
||||||
And then create portfolio content like [`_portfolio/foo-bar-website.md`](https://github.com/{{ site.repository }}/blob/master/docs/_portfolio/foo-bar-website.md), to end up with something like this.
|
And then create portfolio content like [`_portfolio/foo-bar-website.md`](https://github.com/{{ site.repository }}/blob/master/docs/_portfolio/foo-bar-website.md), to end up with something like this.
|
||||||
|
|
||||||
![portfolio collection example]({{ "/assets/images/mm-portfolio-collection-example.jpg" | relative_url }})
|
![portfolio collection example]({{ "/assets/images/mm-portfolio-collection-example.jpg" | relative_url }})
|
||||||
|
|
Loading…
Reference in a new issue