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

@ -18,4 +18,20 @@ collections:
- { label: "Publish Date", name: "date", widget: "datetime" }
- { label: "Featured Image", name: "thumbnail", widget: "image" }
- { label: "Rating (scale of 1-5)", name: "rating", widget: "number" }
- { label: "Body", name: "body", widget: "markdown" }
- { 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 }