Hello,
I have this problem when I am trying to reference the Data folder. I read the HUGO documentation.
I followed the instructions in the docs, but still not working. Let me explain what I did.
Step 1: Created data\jac.toml
Step 2: Referenced it in markdown file
{{ range $.Site.Data.jac }}
{{ .discography }}
{{ end }}
{{ range .Site.Data.jac }}
{{ .discography }}
{{ end }}
Step 3: Opened the browser
I don’t seem to understand why this is happening. I did exactly as was mentioned in the Hugo documentation (video as well as example) and it still doesn’t work.
Please help. I am new to Hugo.
Thanks,
Ayan