Can you share a reference to the project or doc you are using as a reference for writing your code?
I searched Minimal Mistakes nav and got this which has sidebar in the YAML file.
I would started with a copied bit from there and then adjust it.
Your main section looks good from this.
Lastly, i have a feeling that using cursuri_nav in your frontmatter as a pointer to the navigation file is not supported in the theme or in YAML / Jekyll itself.
Can you explain how to arrived at this like from a doc or tutorial? I’m not familiar with the theme so i need to see the instructions you are following to see whether you followed correctly or not.
Hi. Thank for your answer. I got the reference from the theme documentation here but it does not seem to work and I don’t know why. The code and indentation seem to be ok but I taught I’m missing something.
Also as with any Jekyll theme, I would highly recommend you follow the option in the theme readme to install with remote theme
That means you add it to your config and Gemfile and install it. This avoids forking the entire repo of files you don’t need. So you can focus your repo on just your content pages.
See an example using remote theme here.
Note lack of HTML files.
So if the theme gets updates, I’ll get them immediately or just bump a version number used. No need to pull in changes from the original theme repo which might conflict with a fork.
I tried again making the sidebar work both with the YAML snippets on the link I initially used and the one you sent but to no avail. As far as the repo goes, I forked the theme owner’s Github repository and made the changes directly in Github. I did not clone it on my local machine. I also did dis with other Jekyll websites I own and never had any problems.
It’s kind of disappointing that, even though I am using the exact instructions in the documentation, it does not work.
Unrelated to this particular problem, there was another one that I managed to find a workaround for. For the page named “cursuri”, I actually wanted to name it “courses” but when trying to access it from the menu, or from the address bar, it kept showing me 404.
I eventually set its name and permalink to “cursuri” and it just worked.