General automation systems to accelerate theme development.
- Detect asset path relative to the
- Detect shield path relative to the
- Add HTML classes automatically to the
<html>element based on the current page conditional statements.
These HTML classes will be added to the
<html> element that has a
error-404→ Will be added if there is no page or pages to load.
has-next→ Will be added if it is possible to go to the next page.
has-page→ Will be added if there is a page to load.
has-pages→ Will be added if there are pages to load.
has-parent→ Will be added if current page has parent page.
has-previous→ Will be added if it is possible to go to the previous page.
has-step→ Will be added if page URL contains the page offset.
is-$→ Will be added on home page view.
is-error→ Will be added if there is no page or pages to load.
is-home→ Will be added on home page view.
is-page→ Will be added on item view.
is-pages→ Will be added on items view.
is-search→ Will be added on search results view.