How do I add custom taxonomy metadata in the terms template?

I have created in data/ a toml file topics.toml to hold more metadata for taxonomy topic, example:

[events]
    description="Lorem ipsum events."

[process]
    description="Lorem ipsum process."

[projects]
    description="Lorem ipsum projects."

In taxonomy/topic.terms.html template, I have the following:

{{ $data := .Data }}
{{ range $key, $value := .Data.Terms }}
    <div><a href="/{{ $data.Plural }}/{{ $key | urlize }}">{{  $key }}</a></div>
{{ end }}

How do I add the description into taxonomy/topic.terms.html? What should be in place of SomethingSiteDataTopicsCall?

{{ $data := .Data }}
{{ range $key, $value := .Data.Terms }}
    <div><a href="/{{ $data.Plural }}/{{ $key | urlize }}">{{  $key }}</a>
    <br />
    {{ SomethingSiteDataTopicsCall.description}}
    </div>
{{ end }}

My apologies for asking rudimentary questions. Still a learning newbie.

1 Like

I’m looking for the answer here too.

I want to access taxonomy term metadata in other parts of my theme. I can’t seem to find how to do that.