Closed ruskinik closed 6 months ago
But I can see your Foo page https://ruskinik.github.io/hugoplate/foo/
It's missing <p>This is a foo page</p>
though which means none of the html in single.html
will be rendered, no?
It should work, but somehow it's not working. and it's not the issue of this theme. you can try any theme or create a new theme by hugo new theme theme-name
and you will get the same result.
what you can do is to create a layouts/foo/list.html
file and content/foo/_index.md
file, and you will get your expected result.
Created
layouts/foo/single.html
:And
content/english/foo/index.md
:Going to
localhost:1313/foo
shows no content fromsingle.html
.Repo and GitHub build.