Fetch CMS data into templates

Hi, I am building a hugo CMS template and I got the admin piece up and running with a structure like this:
name: git-gateway
branch: master

publish_mode: editorial_workflow

media_folder: “static/images/uploads”
public_folder: “/images/uploads”


  • name: “capabilities” # Used in routes, e.g., /admin/collections/blog
    label: “Contents” # Used in the UI
    folder: “website-contents” # The path to the folder where the documents are stored
    create: true # Allow users to create new documents in this collection
    slug: “{{year}}-{{month}}-{{day}}-{{slug}}” # Filename template, e.g., YYYY-MM-DD-title.md
    fields: # The fields for each document, usually in front matter
    • {label: “Title”, name: “title”, widget: “string”}
    • {label: “Text”, name: “text”, widget: “markdown”}

Let’s say that I now want to render the content with title “HelloWorld123” into a template running the page “\whateverpage”. What would be the syntax for my template?