getkirby / kirby

Kirby's core application folder
https://getkirby.com
Other
1.32k stars 168 forks source link

`site.yaml` is ignored #1447

Closed chpio closed 5 years ago

chpio commented 5 years ago

To Reproduce

  1. fix the YAML file extension from site.yml to site.yaml.
  2. open panel
  3. the default fields get displayed

Expected behavior

  1. kirby should load the site.yaml file

Versions kirby@3.0.0

distantnative commented 5 years ago

This does not only apply to site.yaml but all .yaml blueprints.

lukasbestle commented 5 years ago

We have an idea issue here: https://github.com/getkirby/ideas/issues/150

chpio commented 5 years ago

If you are updating from an early Kirby 2 version and still use .php files for your blueprints, change the file extension to .yml(or .yaml, if you prefer) and remove the PHP code from the top of the files.

-- https://getkirby.com/docs/cookbook/migration/sites

lukasbestle commented 5 years ago

Oh, hm. How did that end up there? Thanks for letting us know, I've fixed it.