You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi to everyone and thanks for this theme.
I was using your theme and I checked.
even without content/_index.md and content/posts/_index.md, The Home navbar works just fine.
But when I want to use it, with or without the two _index.md files mentioned , It doesn't work.
Hugo:
Hugo Static Site Generator v0.74.3-DA0437B4 linux/amd64 BuildDate: 2020-07-23T16:22:34Z
@karasun0 Thanks for your in-depth explanation and for providing some code snippets. Let's try to get it resolved together.
What's the exact error you are having? Is it not showing your courses when linking to courses?
I am currently away from a PC, but it might be because courses is its own type and not of type psor. Either set the type to post or adjust the mainSections to include courses (see the documentation for an example). It should display them then too.
Anatole offers the flexibility to also allow custom types such as a course. Simply add a custom course folder to the content directory and place your test.md in there. In your menu you will have to link the corresponding folder:
[[menu.main]]
name = "Courses"weight = 200identifier = "courses"url = "/course/"
If you want to show the courses on the frontpage as well, you might want to include course in your mainSections:
Hi to everyone and thanks for this theme.
I was using your theme and I checked.
even without
content/_index.md
andcontent/posts/_index.md
, The Home navbar works just fine.But when I want to use it, with or without the two _index.md files mentioned , It doesn't work.
Hugo:
config.toml:
Those درباره ما and etc are in Persian language.
and in
contents/courses/test.md
The text was updated successfully, but these errors were encountered: