Changelog

Theme editor - new attribute flags available

ImprovementTheme editor

We've added two new attribute flags, in addition to the many 'tag flags' already available.

Unlike Tag Flags, which wrap the output of a template variable within the declared HTML tag, attribute tags wrap the output within one of two currently supported HTML attributes.

The two supported attributes are:

  • href, and
  • aria-label

These flags can be used in the following manner, within any HTML file within an Easy Eatery theme:

  • {@globals.site.url --href}
  • {@globals.site.name --aria-label}

And would output:

  • href="https://easyeatery.co.uk", and
  • aria-label="Easy Eatery"

We've discovered that having these kind of attribute flags prove useful when you have conditional content on a page and don't want to include HTML markup that has no purpose in that particular instance.

Stay up to date

Subscribe to be among the first to hear more about Easy Eatery's progress and our early-access programme.

You can unsubscribe at any time by clicking the link in the footer of our emails. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing.