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.

cookieA notice about cookies

We use necessary cookies to make our site work. We would like to set additional cookies to better understand how visitors use our website, enabling us to make improvements. Additionally, we use cookies set by other sites to help deliver content from their services.