home page at wrong URL, many sections missing #3
Comments
Hi @mfioretti
I recommend reading the README again. |
Hello @lgaida Indeed, now I see that I was wrong to assume that this theme has search and sidebar. No idea why I gave it for granted, sorry. No big deal however, these are not showstoppers. About the other issues:
If the issues above are confirmed, then OK, this specific theme does not suit my specific needs. Too bad, because it really looks great. Thanks |
Hello @mfioretti No problem :)
What you can try to hack around it:
Hugo uses a specific template lookup order for rendering your project. So hugo should use your projects layouts/index.html instead of the theme one. If so, then you can also try to use the contentfolder directly instead of the subfolders. Greetings |
I just tested the proposed work-around and can confirm that it works. |
hello @lgaida , I did this, and it works, thanks. However, I get these warnings: WARNING: calling IsSet with unsupported type "string" (string) will always return false. WARNING: Page's .Prev is deprecated and will be removed in a future release. Use .NextPage (yes, not .PrevPage). WARNING: Page's .Next is deprecated and will be removed in a future release. Use .PrevPage (yes, not .NextPage). I also notice that:
Is the behaviour above related to the warnings I see, or should I set some other variable? Thanks |
I confirm that, while your fix for the home page is working, this part is not, and so this issue is not really closed: hello @lgaida , I did this, and it works, thanks. However, I get these warnings: WARNING: calling IsSet with unsupported type "string" (string) will always return false. WARNING: Page's .Prev is deprecated and will be removed in a future release. Use .NextPage (yes, not .PrevPage). WARNING: Page's .Next is deprecated and will be removed in a future release. Use .PrevPage (yes, not .NextPage). I also notice that:
Is the behaviour above related to the warnings I see, or should I set some other variable? |
hello again @mfioretti , |
I have realized why the tags did not show. In the jumbotron.html file you say "tags" (plural) instead of "tag", which is THE label for tags in all the other Hugo templates I have seen and used so far. Why? It would make so much sense to use the same labeling. When I realized this, I just changed myself ALL the occurrences of "tags" to "tag" in jumbotron.html . At that point tags did show up, but causing two other problems:
for these two reasons, I have just commented out jumbotron.html for now. Point 2 above is my need only, so if you can suggest how to fix it, thanks! If not, no problem, I will ask on the Hugo forum. Point 1 instead is something that will affect everybody who has more than some tens of tags, so you may want to fix it to keep the theme more widely usable. |
The jumbotron is supposed to show ALL tags. The actual tags of a specific post are shown directly under the text of your post but slighlty above the jumbotron. Luckily you can override the themes layouts with your custom project layouts, as we already have discussed earlier |
Greetings,
I am trying this theme with hugo v0.50, because it looks great, but I am having major problems. My "content" folder has this structure:
the problem is that, with this theme only_
The relevant part of the config.toml file is below. Changing publishDir to any value (post, /, whatever) seems to make no difference). Thanks in advance for your help
The text was updated successfully, but these errors were encountered: