One-pager problems with uid controlled snippets in kirby 3.60

i want to use subpages for the elements on a one-pager-layout.

this code snippets in home.php i used in an older kirby version didnt work.

<?php foreach($pages->listed() as $section): ?>
	<?php snippet($section->uid(), ['data' => $section]) ?>
<?php endforeach ?>

where is my mistake?

What error do you get? And where is it caused?

I actually don’t get a mistake. but I
get no output of the snippet on the website (home)

How is $pages defined? And where in your folder structure are the pages you want to output as sections?

Oh no! what a damn mistake. the folder name. it was a spelling problem. I confused two characters
Thanks. now it works.
sorry