getgrav / grav-skeleton-woo-site

Woo is a clean, modern, landing page site template. It has a fully responsive design and was tested on all major browser and mobile devices. Woo is the perfect template to showcase your apps, services or digital goods.
https://getgrav.org
Other
24 stars 9 forks source link

Skeleton Woo errors with admin plugin #8

Open Zer0Down opened 5 years ago

Zer0Down commented 5 years ago

Following errors comes up after installing Woo skeleton with Grav v1.6.15 - Admin v1.9.9 YAML Linting: Found 2 linting errors /user/config/site.yaml | Duplicate key "title" detected at line 9 (near "title: Awesome Title").

/home | The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 7 (near "items: @self.modular").

I have fixed these issues locally, but needs to be fixed on skeleton for future installations. Thanks Screen Shot 2019-08-23 at 14 11 54

rhukster commented 5 years ago

Looks like an issue with Woo skeleton's site.yaml.

Zer0Down commented 5 years ago

site.yaml is complaining about the duplicate key Title,once deleted that fixes the first problem, following problems I have fixed by replacing @self.modular with '@self.modular' , error is not coming up anymore. I also notice similar issues with bunch of other skeletons, fixed them the same way, possibly caused by using higher php versions. I am reposting it here just icase anyone else sees these errors. Thanks

dcrobertson01 commented 3 years ago

Hi - thanks for posting :-)

aixos commented 1 year ago

Hi, works well with

"@self.modular"

Thanks