~jacksonchen666/jacksonchen666.com#19: 
misc doesn't have index.html

https://jacksonchen666.com/misc/ returns 403 because there's no index.html

Status
RESOLVED FIXED
Submitter
~jacksonchen666
Assigned to
Submitted
2 months ago
Updated
20 days ago
Labels
bug

~jacksonchen666 2 months ago

seems related to the recent hugo update, and this warning might be it

WARN  found no layout file for "html" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

~jacksonchen666 2 months ago

Jackson referenced this ticket in commit d2f7a2b.

~jacksonchen666 2 months ago

Jackson referenced this ticket in commit 8f30d9e.

~jacksonchen666 2 months ago

a hot fix has been rolled out, but that's not a permanent fix, and now that's the goal

~jacksonchen666 2 months ago*

ok apparently because of layout/_default/section.html being a symlink to layout/_default/single.html (within the same directory), that doesn't work for some reason and causes that warning and therefore rendering issue.

except i don't really have a use for section.html being different, but not having it as a symlink will leave it out of date...

(also feeling like i'm starting to understand layouts again)

~jacksonchen666 2 months ago*

i attempted a fix (3f0da0acee394c7e5fe7a8dae5a650758aa2d8d8) but it only ended up with an empty page

(making section.html the same as single.html manually. it just made a blank page)

~jacksonchen666 20 days ago

i found the issue with the fix: an HTML comment being outside the main definition just break it

i don't understand exactly why that's the case. the fixes for the fix will be pushed.

~jacksonchen666 REPORTED FIXED 20 days ago

Jackson referenced this ticket in commit 0f6c2fe.

Register here or Log in to comment, or comment via email.