My hugo site has two oddities that I can’t figure out by myself
- The icons in the top menu are not loading on the test site, but on localhost they are showing
- The two subpages from top menu under “Lakiasiat” ie Liiton säännöt and Tietosuoja are not giving a 404 but still they are not populating with content.
What am I missing, please advice.
My repo is available at GitHub - sakumatto/kehitysliitto: Valo ry site on Hugo (themes/hugo-curious)
The site is viewable at http://18.104.22.168/ so the two pages not populating are
Help greatly appreciated!
The icons sources point to an
/icons/ directory under the root of the domain.
As per your repo
/content/lakiasat/ is a leaf bundle because it contains an
index.md therefore the children pages are its Page Resources.
If you want to output the children as individual pages then you need to convert
/content/lakiasat/ into a branch bundle by renaming
Also see the documentation about Page Bundles.
Thanks @alexandros → I changed the index.md to _index.md → recompiled
but still the http://22.214.171.124/lakiasiat/tietosuoja/ doesn’t show the content of index.md nor does http://126.96.36.199/lakiasiat/saannot/liiton-saannot-2021-12-28-versio/
Should I place the files in the subdirectories on the /lakiasiat/ level instead of them being in their own subdirectory?
Thanks abunch for your guidance!
Nested sections do not work at the third level as far as I know.
Try placing the leaf bundles directly under the
/lakiasiat/ Section (branch bundle).
Thanks , I did just that and now the pages are showing up as should.
Again a lesson taught. I’m terrible thankfull for you kind and prompt help!
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.