hugo-theme-docport icon indicating copy to clipboard operation
hugo-theme-docport copied to clipboard

Fix a crash caused by calling BaseFileName on virtual pages

Open caboteria opened this issue 11 months ago • 0 comments

Hugo starting with version 0.123 crashes when docport tries to reference BaseFileName on a virtual page. It used to just warn about it.

https://discourse.gohugo.io/t/upgrade-from-0-122-to-0-123/48576

The fix is to range over "Regular" pages instead of all pages.

caboteria avatar Mar 08 '24 16:03 caboteria