digitalcraftsman / hugo-cactus-theme

Port of Nick Balestra's Cactus theme to Hugo.
MIT License
198 stars 111 forks source link

about page does not render #20

Closed podiki closed 7 years ago

podiki commented 7 years ago

A recent change in Hugo for v0.18 has changed how some pages are rendered. This theme's about page does not generate correctly. See also hugo issue 2802.

One sort of workaround is to have both an index.md and _index.md, that was the only way I could get something to display (both files being identical). Still, for some reason the avatar image on top does not seem to work correctly like this.

podiki commented 7 years ago

If I understand correctly, the fix seems to be to copy layouts/about/single.html to layouts/section/about.html. Then the about page will be content/about/_index.md.

podiki commented 7 years ago

...has this been fixed?

EDIT: Doesn't appear to be fixed still. I still need to use my workaround posted above, but that seems to still be okay.

podiki commented 7 years ago

Looks good, thanks!