I’ve recently upgraded to 0.80 and a site built using 0.59 is not returning content for the following code:
{{ with .Site.GetPage "index.md" }}
{{ .Params.Details | safe.HTML }}
{{ end }}
It’s a single-page site (index.html only) and all the page content is in index.md within the content folder. I can’t find any detail about .Site.GetPage usage changing?
Wonderful. Thanks for your help!
I’ve also removed the {{ with .Site.GetPage }} statements as you suggest.
(I’m unsure why I used them in an earlier version of the site but I do remember struggling to build a single index.html page.)