Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sidebar problem #9

Open
8513421 opened this issue Apr 29, 2020 · 4 comments
Open

Sidebar problem #9

8513421 opened this issue Apr 29, 2020 · 4 comments

Comments

@8513421
Copy link

8513421 commented Apr 29, 2020

Hi! Sorry but i dont understand your previous explanation. Could you write me exact code to put in home yaml section to run sidebar in home page? Becasue in demo pages home-sidebars is inactivated (and no code for this) and i spend few hours to figured out how to activated it with no result. Thanks in advance!

Originally posted by @8513421 in #7 (comment)

@hughbris
Copy link
Owner

Sorry this is nearly four years later and that you wasted a few hours trying to figure this out. (Four years ago. Damn!) The explanation is confusing and yes this needs to be better documented.

It probably no longer matters to you, but I will wait until I have completed #2 before documenting my setup. One reason is that I sometimes require small (sometimes breaking) changes to frontmatter structure when creating blueprints. Another reason is that the model will be clearer in my head after making blueprints and the explanation will be better.

@ganar
Copy link

ganar commented May 15, 2024

Sorry to bother you with this after so much time: I'm having the same issue with a clean Grav CMS installation and the template. Can't make the sidebars work at home.

I added the code in the YAML —system.yaml and the top of the pages— and copied the _demo content to the root of the content folder, but still does not work for me.

@hughbris
Copy link
Owner

@ganar: So from your comment in #7, did you sort this out too? I didn't realise this had been split into two issues for some reason. I think you didn't realise originally either.

@ganar
Copy link

ganar commented May 16, 2024

Yes I did: the problem is that I was adding the code to the wrong configuration file: instead of the system.yaml it had to be done in the site.yaml, as instructed.

My bad!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants