Add portfolio page

This commit is contained in:
Michal Vanko 2019-08-10 17:13:04 +02:00
parent b7948aaef6
commit 6d9656c891
2 changed files with 17 additions and 1 deletions

0
_pages/portfolio.md Normal file
View File

View File

@ -19,3 +19,19 @@ collections:
- { label: "Featured Image", name: "thumbnail", widget: "image" }
- { label: "Rating (scale of 1-5)", name: "rating", widget: "number" }
- { label: "Body", name: "body", widget: "markdown" }
- name: "pages"
label: "Pages"
files:
- label: "Portfolio"
name: "portfolio"
file: "_pages/portfolio.md"
fields:
- { label: Title, name: title, widget: string }
- { label: Content, name: content, widget: markdown }
- label: Projects
name: projects
widget: list
fields:
- { label: Name, name: name, widget: string }
- { label: Description, name: description, widget: markdown }
- { label: Image, name: image, widget: image }