contact

Error: Invalid Frontmatter

Path: /var/www/blog.proc2.com/grav-admin/user/pages/03.contact/contact.md

Failed to read /var/www/blog.proc2.com/grav-admin/user/pages/03.contact/contact.md: You cannot define a sequence item when in a mapping at line 34 (near "-")

---
title: 'Contact Me'
menu: Contact
subheading: 'Have an IT related question? If you didn''t find your answer on the web, there is a good chance that I also do not have the answer, but I'm always willing to try.'
header_image: contact-bg.jpg
form:
    name: contact-form
    message_color: danger
    fields:
        -
            name: name
            label: THEME_CLEAN_BLOG.CONTACT.NAME
            placeholder: THEME_CLEAN_BLOG.CONTACT.NAME
            type: text
            validate:
                required: true
            classes: form-control
        -
            name: email
            label: THEME_CLEAN_BLOG.CONTACT.EMAIL
            placeholder: THEME_CLEAN_BLOG.CONTACT.EMAIL
            type: email
            validate:
                required: true
            classes: form-control
        -
            name: message
            label: THEME_CLEAN_BLOG.CONTACT.MESSAGE
            placeholder: THEME_CLEAN_BLOG.CONTACT.MESSAGE
            type: textarea
            rows: 5
            validate:
                required: true
            classes: form-control
        captcha:
            type: turnstile
            theme: dark
    buttons:
        -
            type: submit
            value: THEME_CLEAN_BLOG.CONTACT.SEND
    -
        ip:
        label: Submitter IP Address
    -
        timestamp:
        label: Submitter Timestamp
    -
            email:
                from: '{{ config.plugins.email.from }}'
                reply_to: "{{ form.value.name|e }} <{{ form.value.email }}>"
        to:
                    - '{{ config.plugins.email.to }}'
                subject: '[blog.proc2.com contact] From:{{ form.value.name|e }}'
                body: '{% include ''forms/data.html.twig'' %}'
        -
            save:
                fileprefix: contact-
                dateformat: Ymd-His-u
                extension: txt
                body: '{% include ''forms/data.txt.twig'' %}'
        -
            display: thank-you
        -
            reset: true
---

Message was sent.