In the home page I wish to pull out one page.
I can say:
{{ $pages := .Pages }}
{{ with index $pages 1 }}
I would like to get the page by name. Like maybe…
` {{ with .GetPage "art/Dog/index.md" }}`
or
` {{ with index $pages "Dog" }} `
The first compiles but fails silently, the second does not compile. How is this done?
Yes, that works. I see now, I was getting the “Path” wrong.
In the general case how do I interpret Path? I see this is the same as the URL when my browser is pointing at the page. But I am a bit lost as to how “Path” is defined in Hugo.