Closed findgriffin closed 5 years ago
Hey @findgriffin, thanks for reporting this!
I think you're right, Indigo unnecessarily forces a type on users that made sense in my head when I created the theme, but is otherwise causing pain for folks. I'll take a look at how to fix this soon. 🙂
Okay, as part of the work I'm doing in #57, it looks like we can incorporate a new mainSections
variable in the config file to do this. More detail in the Hugo docs here.
Unless it proves to be spectacularly more complicated than the docs make it appear, I think I'll be able to push a fix for this out by tomorrow evening. :)
Closed by #62
Thanks so much!
David
Phone (USA): +1 206 307 1002
On Mon, 30 Sep 2019 at 05:53, Angelo Stavrow notifications@github.com wrote:
Closed by #62 https://github.com/AngeloStavrow/indigo/pull/62
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AngeloStavrow/indigo/issues/56?email_source=notifications&email_token=AAB2TNL4UG3HOTK6Q6HBUL3QMHZDFA5CNFSM4IRCMOL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD75Q65A#issuecomment-536547188, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB2TNMXZHDSLYN7P43JUBTQMHZDFANCNFSM4IRCMOLQ .
idk why, but I can only get it to work if I don't include the mainsections param...
[edit] I see now that I kinda forgot how hugo worked, it's been a while, but I updated theme files in the root, rather than the themes folder... so nevermind me, until I try it properly :)
Describe the bug I just spent a few hours trying to figure out how to get my posts to appear on the main page of a new blog I'm creating.
To Reproduce Steps to reproduce the behavior:
hugo new posts/my-first-post.md
localhost:1313
localhost:1313/posts/my-first-post
type: "post"
tomy-first-post.md
localhost:1313
I'm pretty sure the issue is due to this line in
list.html
:Expected behavior My posts to appear on the main page of my blog when I follow the Hugo quickstart guide and the Indigo docs.
Proposed Fix(es) I'm not that familiar with Hugo, but to my mind you could do any of the following:
type: post
list.html
to accept post OR posts type.Anyway, thanks for creating / maintaining this theme.
Cheers