Hi,
I’ve tried Tailor and created a few pages with blocks. It works great, basically the same as I always do with the Static Pages plugin:
layout.htm:
<body>
{repeater name="sections" groups="~/themes/mytheme/meta/blocks.yaml" tab="Blocks"}
{variable name="_dummy" type="text"}{/variable}
{/repeater}
<main>
{% for section in sections %}
{% partial 'blocks/' ~ section._group data=section %}
{% endfor %}
{% page %}
</main>
</body>
~/themes/mytheme/meta/blocks.yaml:
contactForm:
name: Contact Info
description: Contact Info
icon: icon-book
fields:
section_contact_form_section:
label: Contact form
type: section
span: left
section_contact_title:
label: Contact form intro
type: text
span: left
etc.
The advantage of using the Static Pages plugin is that the end-user can still control the navigation bar, move pages around using the Static Menu component and hide pages.
Is that something that you would consider adding to Tailor as well? That way, we can move every page over to Tailor, making it easier for the end user to manage static pages.
–
Maarten