diomed
4/11/2018 - 5:46 PM

blueprints yaml for haywire theme

blueprints yaml for haywire theme

name: Haywire
version: 0.4.1
description: A modern starter theme for Grav CMS using modern frameworks and tools such as Laravel Mix, Vuejs, Bulma.
icon: empire
author:
  name: Robbin Johansson
  email: robbinfellow@gmail.com
  url: https://github.com/robbinfellow/
homepage: https://github.com/robbinfellow/haywire-grav#readme
keywords: 
bugs: https://github.com/robbinfellow/haywire-grav/issues
docs: https://github.com/robbinfellow/haywire-grav#readme
license: MIT

form:
  validation: loose
  fields:
    dropdown.enabled:
        type: toggle
        label: Dropdown in navbar
        highlight: 1
        default: 1
        options:
          1: PLUGIN_ADMIN.ENABLED
          0: PLUGIN_ADMIN.DISABLED
    copyright:
        type: textarea
        label: Copyright
    person:
        type: textarea
        label: Author
    year:
        type: textarea
        label: Year
    header.featured_image:
      type: file
      label: HAYWIRE.FEATURED_IMAGE
      placeholder: HAYWIRE.FEATURED_IMAGE_PLACEHOLDER
      destination: 'theme@:/images/'
      toggleable: true
      preview_images: true
      acccept:
        - .png
        - .jpg
    error_header_image:
        type: text
        label: Header image error message
    favicon:
        type: file
        label: Favicon
        multiple: false
        destination: 'theme@:/images/favicon/'
        limit: 4
        accept:
            - image/*
            - svg
    social_icons:
        type: list
        label: Social icons
        fields:
            .icon:
                type: text
                label: social icon
            .url:
                type: text
                label: link 2 site