You’re going to want to look at:
site/config.toml and look for the “links” section towards the bottom.
I don’t have an “updates” or “services” but I link to “p1” instead.
This “p1.md” file exists in site/content/ as well as site/static/ but hugo doesn’t seem to be generating the HTML or my links in the config.toml are incorrect.
The site is live at fft.farm and you can click the “Phase One”, “Phase Two”, etc links to test.
The github repo I linked above is the same as the live version (as of posting this).
@4b11b4 the menu system is normally used after you know what you are adding to it. That means ensuring all your content is in the correct place, and is rendering correctly. The example you’ve shared is linking to documents that don’t exist in any form (content/updates.md isn’t present in your repo).
You need to get your content in order, ensure it is showing correctly, and then work on the menu.
Side note:
In the bottom half of the config file there are the three “#Links Lists”
If you look closely the order goes 1, 3, 3… I fixed this in the actual repo for netlify,
…but that mistake apparently didn’t cause any issues? or fix anything either?
@4b11b4, this is why we have Requesting Help, because had you followed the advice there, we would have immediately let you know what was happening and what you need to do. Please review that post and keep it in mind for next time.
Here’s what you need to do: find or modify a theme to generate the content in the way you want. Your content is all markdown files, and they live in content. When you get a piece of content showing up at an expected URL, then you are ready to add the URL to the menu system.
Fair enough. Thanks maiki.
I read through that page and will include all of that information in the first post next time.
I will set up a new hugo environment with one of the tutorials, get some pages linked to, and then try to switch the theme so I can see if that is the issue.
So I think the ‘problem’ is the theme. It’s a single page theme. The first line in its readme says…
Split is a single page, centrally-divided layout for a professional online presense with a big image or video left with alongside content.
And if you look in the layouts/_default directory, both single.html and list.html are empty files. This means that hugo doesn’t have any information about how to render anything other than the landing page (index.html).
So if you want a website with more than one page, you’ll either need to choose a different theme, or fork/extend the hugo-split-theme to display pages.
Thanks. This makes much more sense. Thank you very much. I need to learn to be able to read a theme to see what it generates.
I did add it as a submodule for the actual netlify repo, when I copied the files to github for showing ya’ll (thank you by the way), I just straight up copied it.