Add to site variables from CMS

I’m using the Forty Theme and the config.toml file has a Tiles section as follows:

# Tiles Section
enable = true

  # Display your showcases here.
  title = 
  subtitle = 
  image = 
  url = 

I want to be able to add entries to the tiles section from Netlify CMS. How do I add variables to params.tiles.showcase from CMS? Here’s a snippet from my config.yml

  - name: "blog"
    label: "Blog post"
    folder: "post/"
    create: true
      - { label: "Title", name: "title" }
      - { label: "Publish Date", name: "date", widget: "datetime" }
      - { label: "Description", name: "description", widget: "markdown", required: false }
      - { label: "Featured Image", name: "image", widget: "image", required: false }
      - { label: "Body", name: "body", widget: "markdown", required: false }

when you say “from CMS” what do you mean specifically?

Oops. Meant to specify in the original post. I’m using Netlify CMS

Got it! Here’s a solution from SO.

I don’t use Netlify but, reading the SO answer, it seems like it might be easier to refactor to use a data file in your Hugo project, if you can edit the data file directly within Netlify CMS.

Thanks for the tip! I’m checking out Data Templates now.