Netlify CMS + hugo-PaperMod

I am using PaperMod theme and i have succesfully added Netlify CMS, it works like a charm for posts and about me page. Actually i need to add some specific parts of home page to be edited through the frontend, but i don’t know how to proceed. I have successefully added the Title of website from config.yml but i need to implement the homeInfoParams fields (Title and Content).

Theme config.yml fields i need to implement:

  homeInfoParams:
         Title: My Title Here
         Content: >
                My Content Here

my actually Netlify cms config.yml

   backend:
      name: git-gateway
      branch: master # Branch to update (optional; defaults to master)

  # This line should *not* be indented
  publish_mode: editorial_workflow

  # These lines should *not* be indented
  media_folder: "static/images/uploads" # Media files will be stored in the repo under 
  static/images/uploads
  public_folder: "/images/uploads" # The src attribute for uploaded media will begin with /images/uploads

 collections:
     - name: "posts"
       label: "Posts"
       folder: "content/posts"
       create: true
       slug: "{{year}}-{{month}}-{{day}}-{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
       fields:
         - { label: "Title", name: "title", widget: "string" }
         - { label: "Date", name: "date", widget: "date" }
         - { label: "Tags", name: "tags", widget: "list" }
         - { label: "Categories", name: "categories", widget: "string" }
         - { label: "Body", name: "body", widget: "markdown" }
         - { label: "Description", name: "description", widget: "string"}

   - name: "about-me"
     label: "About-me"
     folder: "content/about-me"
     create: true
     slug: "{{year}}-{{month}}-{{day}}-{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
     fields:
  - { label: "Title", name: "title", widget: "string" }
  - { label: "Date", name: "date", widget: "date" }
  - { label: "Body", name: "body", widget: "markdown" }

  - name: "settings"
    label: "Settings"
    delete: false # Prevent users from deleting documents in this collection
    editor:
       preview: false
    files:
      - name: 'general'
         label: 'Site Settings'
         file: 'config.yml'
         description: 'General Home Settings'
         fields:
           - { label: 'Title', name: 'Title', widget: 'string' }

Hi there! Thanks for your interest in Netlify CMS. Looks like you posted your question a little while ago, but that you haven’t received a solution yet. Here’s where you might get more help:

netlifycms.org - the site houses our extensive documentation that likely contains helpful information to get you back on track.

netlify cms slack - join our friendly slack channel and chat with other cms pros to get the help you need.

GitHub Issues - think you’ve found a bug, or would like to make a feature request? Make your voice heard here. Netlify CMS is open source - PRs and other contributions are also welcome!

Stack Overflow Check StackOverflow for questions tagged “Netlify CMS” if you don’t get an answer in the Slack or the GH issues. StackOverflow reaches a worldwide audience of knowledgeable people.

Your question will be left open here for anyone to comment - but we encourage you to check out the above resources if you are still looking for a solution!

1 Like

Hi there! thank you for your hints i will try in this way