@dakingindanorf/hive
Version:
A template for creating a nuxt generated static site using Netlify CMS to power the backend. Individual site components can be managed through Bit
206 lines (201 loc) • 5.83 kB
YAML
site_url: https://rangertemplate.com
backend:
name: bitbucket
repo: chris-dev/ranger-template
branch: master
media_folder: static/img
public_folder: /img
media_library:
name: cloudinary
config:
cloud_name: ranger
api_key: 797696593212636
default_transformations:
- - fetch_format: auto
quality: auto
collections:
- label: 'Pages'
name: 'pages'
format: 'json'
extension: 'json'
folder: 'content/pages'
create: true
slug: '{{ slug }}'
editor:
preview: false
fields:
- label: 'Title'
name: 'title'
widget: 'string'
- label: 'Page Components'
name: 'components'
label_singular: 'page component'
widget: 'list'
types:
- label: 'Hero'
name: 'hero'
widget: 'object'
fields:
- label: 'Title'
name: 'title'
widget: 'string'
- label: 'Image'
name: 'image'
widget: 'image'
required: false
- label: 'CTA'
name: 'cta'
widget: 'object'
fields:
- label: 'Title'
name: 'title'
widget: 'string'
- label: 'Button'
name: 'button'
widget: 'object'
fields:
- label: 'Link'
name: 'link'
widget: 'string'
- label: 'Button Text'
name: 'btn-text'
widget: 'string'
- label: 'SEO'
name: 'seo'
widget: 'object'
fields:
- label: 'Description'
name: 'description'
widget: 'string'
required: false
- label: 'Image'
name: 'image'
widget: 'image'
required: false
- label: 'Site Config'
name: 'config'
format: 'json'
extension: 'json'
files:
- label: 'Site Settings'
name: 'settings'
file: 'content/config/settings.json'
fields:
- label: 'Site Title'
name: 'site-title'
widget: 'string'
- label: 'Site Description'
name: 'site-description'
widget: 'string'
- label: 'Site Icon'
name: 'site-icon'
widget: 'image'
- label: 'Site Image'
name: 'site-image'
widget: 'image'
- label: 'Landing Page'
name: 'landing-page'
widget: 'relation'
collection: 'pages'
search_fields: ['title']
value_field: 'slug'
display_fields: ['title']
- label: 'Site Colors'
name: 'colors'
file: 'content/config/colors.json'
fields:
- label: 'Primary Color'
name: 'priumary-color'
widget: 'color'
- label: 'Secondary Title'
name: 'secondary-color'
widget: 'color'
- label: 'Text Color'
name: 'text-color'
widget: 'string'
- label: 'Accent Color'
name: 'accent-color'
widget: 'color'
- label: 'Alert Color'
name: 'alert-color'
widget: 'color'
- label: 'Error Color'
name: 'error-color'
widget: 'color'
- label: 'Custom Color 1'
name: 'custom-color-1'
widget: 'color'
- label: 'Custom Color 2'
name: 'custom-color-2'
widget: 'color'
- label: 'Custom Color 3'
name: 'custom-color-3'
widget: 'color'
- label: 'Navigation'
name: 'navigation'
file: 'content/config/nav.json'
fields:
- label: 'Menu'
name: 'menu'
widget: 'list'
types:
- label: 'Menu Item'
name: 'menuItem'
widget: 'object'
fields:
- label: 'Menu Link'
name: 'menuLink'
widget: 'relation'
collection: 'pages'
search_fields: ['title']
value_field: 'slug'
display_fields: ['title']
- label: 'Footer'
name: 'footer'
widget: 'list'
types:
- label: 'Footer Item'
name: 'footerItem'
widget: 'object'
fields:
- label: 'Footer Link'
name: 'footerLink'
widget: 'relation'
collection: 'pages'
search_fields: ['title']
value_field: 'slug'
display_fields: ['title']
- label: 'Components - Bit Interface'
name: 'bits'
file: 'content/config/bits.json'
fields:
- label: 'Bit Title'
name: 'site-title'
widget: 'string'
- label: 'Social'
name: 'social'
file: 'content/config/social.json'
fields:
- label: 'Instagram'
name: 'instagram'
widget: 'string'
required: false
- label: 'Facebook'
name: 'facebook'
widget: 'string'
required: false
- label: 'Twitter'
name: 'twitter'
widget: 'string'
required: false
- label: 'LinkedIn'
name: 'linkedin'
widget: 'string'
required: false
- label: 'Setup'
name: 'setup'
file: 'content/config/setup.json'
fields:
- label: 'API Key'
name: 'api-key'
widget: 'string'