2019-08-09 19:15:18 +02:00
|
|
|
backend:
|
2021-04-21 18:47:38 +02:00
|
|
|
name: git-gateway
|
2019-08-09 19:15:18 +02:00
|
|
|
repo: michalvankodev/michalvankodev
|
|
|
|
branch: master # Branch to update (optional; defaults to master)
|
2020-11-08 18:38:22 +01:00
|
|
|
site_domain: michalvanko.dev
|
2019-08-09 19:15:18 +02:00
|
|
|
|
2022-11-27 20:50:30 +01:00
|
|
|
# when using the default proxy server port
|
|
|
|
local_backend: true
|
|
|
|
|
2019-11-10 21:37:50 +01:00
|
|
|
media_folder: 'static/images/uploads' # Media files will be stored in the repo under images/uploads
|
|
|
|
public_folder: '/images/uploads' # The src attribute for uploaded media will begin with /images/uploads
|
2019-08-09 19:15:18 +02:00
|
|
|
|
|
|
|
collections:
|
2019-11-10 21:37:50 +01:00
|
|
|
- name: 'blog' # Used in routes, e.g., /admin/collections/blog
|
|
|
|
label: 'Blog' # Used in the UI
|
|
|
|
folder: '_posts/blog' # The path to the folder where the documents are stored
|
2019-08-09 19:15:18 +02:00
|
|
|
create: true # Allow users to create new documents in this collection
|
2019-11-10 21:37:50 +01:00
|
|
|
slug: '{{year}}-{{month}}-{{day}}-{{slug}}' # Filename template, e.g., YYYY-MM-DD-title.md
|
2019-08-09 19:15:18 +02:00
|
|
|
fields: # The fields for each document, usually in front matter
|
2019-11-10 21:37:50 +01:00
|
|
|
- { label: 'Layout', name: 'layout', widget: 'hidden', default: 'blog' }
|
|
|
|
- { label: 'Title', name: 'title', widget: 'string' }
|
2023-02-15 22:40:37 +01:00
|
|
|
- label: 'Segments'
|
|
|
|
name: 'segments'
|
|
|
|
widget: 'select'
|
|
|
|
multiple: true
|
|
|
|
options:
|
2024-05-09 23:26:06 +02:00
|
|
|
- { label: 'OLAOLA', value: 'featured' }
|
2023-02-15 22:40:37 +01:00
|
|
|
- { label: 'Blog', value: 'blog' }
|
2023-02-18 21:24:43 +01:00
|
|
|
- { label: 'Broadcasts', value: 'broadcasts' }
|
2023-02-15 22:40:37 +01:00
|
|
|
- { label: 'Cookbook', value: 'cookbook' }
|
|
|
|
default: ['blog']
|
2020-01-17 20:16:46 +01:00
|
|
|
- {
|
|
|
|
label: 'Published',
|
|
|
|
name: 'published',
|
|
|
|
widget: 'boolean',
|
|
|
|
default: true,
|
|
|
|
}
|
2019-11-10 21:37:50 +01:00
|
|
|
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
|
2020-02-28 17:08:51 +01:00
|
|
|
- {
|
|
|
|
label: 'Featured Image',
|
|
|
|
name: 'thumbnail',
|
|
|
|
widget: 'image',
|
|
|
|
required: false,
|
|
|
|
}
|
2020-01-17 20:09:35 +01:00
|
|
|
- {
|
|
|
|
label: 'Tags',
|
|
|
|
name: 'tags',
|
|
|
|
widget: 'list',
|
|
|
|
default: ['News'],
|
|
|
|
required: false,
|
|
|
|
}
|
2019-11-10 21:37:50 +01:00
|
|
|
- { label: 'Body', name: 'body', widget: 'markdown' }
|
2020-05-11 08:27:42 +02:00
|
|
|
- {
|
|
|
|
label: 'Writers notes',
|
|
|
|
name: 'notes',
|
|
|
|
widget: 'markdown',
|
|
|
|
required: false,
|
|
|
|
}
|
2019-11-10 21:37:50 +01:00
|
|
|
- name: 'pages'
|
|
|
|
label: 'Pages'
|
2019-08-10 17:13:04 +02:00
|
|
|
files:
|
2019-11-10 21:37:50 +01:00
|
|
|
- label: 'Portfolio'
|
|
|
|
name: 'portfolio'
|
|
|
|
file: '_pages/portfolio.md'
|
2019-08-10 17:13:04 +02:00
|
|
|
fields:
|
|
|
|
- { label: Title, name: title, widget: string }
|
2019-08-16 19:57:36 +02:00
|
|
|
- { label: Body, name: body, widget: markdown }
|
2019-11-10 21:37:50 +01:00
|
|
|
- {
|
|
|
|
label: Work history prelude,
|
|
|
|
name: work_history_prelude,
|
|
|
|
widget: markdown,
|
|
|
|
}
|
2019-08-16 20:35:41 +02:00
|
|
|
- label: Work history
|
|
|
|
name: work_history
|
|
|
|
widget: list
|
|
|
|
fields:
|
|
|
|
- { label: Company name, name: name, widget: string }
|
|
|
|
- { label: Description, name: description, widget: markdown }
|
2021-12-28 17:46:11 +01:00
|
|
|
- label: Address
|
|
|
|
widget: object
|
|
|
|
name: address
|
|
|
|
fields:
|
|
|
|
- { label: Business name, name: name, widget: string, required: false }
|
|
|
|
- { label: Address, name: location, widget: string, required: false }
|
|
|
|
- { label: Zipcode, name: zipcode, widget: string, required: false }
|
|
|
|
- { label: City, name: city, widget: string, required: false }
|
|
|
|
- { label: Country, name: country, widget: string, required: false }
|
|
|
|
- { label: Displayed, name: displayed, widget: boolean, default: true }
|
2019-08-10 17:13:04 +02:00
|
|
|
- label: Projects
|
|
|
|
name: projects
|
|
|
|
widget: list
|
|
|
|
fields:
|
2019-08-16 20:35:41 +02:00
|
|
|
- { label: Project name, name: name, widget: string }
|
2019-11-10 21:37:50 +01:00
|
|
|
- {
|
|
|
|
label: Displayed,
|
|
|
|
name: displayed,
|
|
|
|
widget: boolean,
|
|
|
|
default: true,
|
|
|
|
}
|
2019-08-10 17:13:04 +02:00
|
|
|
- { label: Description, name: description, widget: markdown }
|
2019-08-16 19:57:36 +02:00
|
|
|
- label: Image
|
|
|
|
name: image
|
|
|
|
widget: object
|
2019-11-10 21:37:50 +01:00
|
|
|
fields:
|
|
|
|
- {
|
|
|
|
label: Source,
|
|
|
|
name: source,
|
|
|
|
widget: image,
|
|
|
|
required: false,
|
|
|
|
}
|
|
|
|
- {
|
|
|
|
label: Image description,
|
|
|
|
name: image_description,
|
|
|
|
widget: string,
|
|
|
|
required: false,
|
|
|
|
}
|
2022-01-02 20:23:43 +01:00
|
|
|
- label: Presentations
|
|
|
|
name: presentations
|
|
|
|
widget: list
|
|
|
|
fields:
|
|
|
|
- { label: Name, name: name, widget: string }
|
|
|
|
- {
|
|
|
|
label: Displayed,
|
|
|
|
name: displayed,
|
|
|
|
widget: boolean,
|
|
|
|
default: true,
|
|
|
|
}
|
|
|
|
- { label: Description, name: description, widget: markdown }
|
|
|
|
- { label: Link, name: link, widget: string }
|
2019-08-18 18:15:14 +02:00
|
|
|
- label: Education
|
|
|
|
name: education
|
|
|
|
widget: list
|
|
|
|
fields:
|
|
|
|
- { label: Institution, name: name, widget: string }
|
2019-11-10 21:37:50 +01:00
|
|
|
- {
|
|
|
|
label: Displayed,
|
|
|
|
name: displayed,
|
|
|
|
widget: boolean,
|
|
|
|
default: true,
|
|
|
|
}
|
2019-08-18 18:15:14 +02:00
|
|
|
- { label: Description, name: description, widget: markdown }
|