I am trying to create a onepager following the cookbook article https://getkirby.com/docs/cookbook/one-pager
I created snippets for all the sections and it all works well until I want to hand over data to the snippets.
The section id is the pagetitle to create a navigation scrollTo link. The problem is, that I always get an error and I don´t see the reason since it is pretty much the same as in to the tutorial. I guess I am overlooking something
Thanks, the typo happened while editing it here in the editor. But I still get the error with the corrected code. Yes it is thrown in the about snippet.
And there is no typo where you pass the variable to the snippet, your code is exactly as above? So you are really passing data to the snippet, not something else?