getkirby / starterkit

Kirby's sample site – the easiest way to get started with Kirby
https://getkirby.com
176 stars 52 forks source link

Update because text field is blocks type #44

Closed luxuryluke closed 2 years ago

luxuryluke commented 2 years ago

Editing this page in the panel renders block code instead of the text. Adding this fixes it, so that new users won't be confused when they see it all gobbledygonked.

afbora commented 2 years ago

album template text field type is writer not blocks https://github.com/getkirby/starterkit/blob/main/site/blueprints/pages/album.yml#L36-L37

texnixe commented 2 years ago

when they see it all gobbledygonked.

What is the problem you encounter when editing the field? Closing this because @afbora is right.

luxuryluke commented 2 years ago

Double checked my work just now. There did seem to be a text field in the starterkit that when edited in the panel the content is saved in a format that the corresponding template renders with a bunch of markup in the page. I'd already morphed the starterkit into something quite different and had to work backwards to figure out why.

Looks like I screwed it up, notes.yml and album.yml do indeed have different text types and their templates do seem to match.

I was so anxious to help. Sorry.