lucky-media / cloud

☁️ Cloud is a Statamic starter kit for building fast and beautiful websites with ease.
10 stars 3 forks source link

minor logical bug in pages.yaml blueprint for blog sets #10

Closed larsneo closed 3 years ago

larsneo commented 3 years ago

Platform

Linux

Browser

Google Chrome

Browser Version

No response

Describe the bug

the views in the three blog-sets https://github.com/lucky-media/cloud/blob/main/resources/views/sets/blog/ contain {{ if title }} and {{ if description }} clauses but those handles are set mandatory in the corresponding blueprint https://github.com/lucky-media/cloud/blame/main/resources/blueprints/collections/pages/pages.yaml. guess one should remove the validate: - required for those fields for a maximum of design flexibility.

Repo Steps

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
...

Expected Behavior

No response

Anything else?

No response

lokmanm commented 3 years ago

Hey @larsneo, thanks for bringing this up.

I will update this later today and I will remove the required field for description so its a bit better regarding the logical flow.

lokmanm commented 3 years ago

This is fixed now with the v1.5 release. Thanks again.