You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any attribute can be slotted if prefixed with slot:. Within the value for the attribute there can be multiple expressions delimited with { and }. The expression name matches a fill name, and xm replaces the expression with the fill value.
Data Cascade
xm should allow to define multiple sources for data, including a global data object that is provided via config file.
Additionally we need to provide a global xm:permalink fill value that contains the absolute path for the file so that people can use it to reference to the current page (eg. when creating sharing links). The xm: namespace will be reserved for xm fill values.
The text was updated successfully, but these errors were encountered:
slot attributes
Currently xm support only element slots:
We should add support for slot attributes:
These will be filled with fill elements eg:
spec
Any attribute can be slotted if prefixed with
slot:
. Within the value for the attribute there can be multiple expressions delimited with{
and}
. The expression name matches afill
name, and xm replaces the expression with thefill
value.Data Cascade
xm should allow to define multiple sources for data, including a global data object that is provided via config file.
We need to rework the main plugin to merge the data correctly using a Data Cascade mechanism similar to the 11ty's one. Check out https://www.11ty.dev/docs/data-cascade/
Additionally we need to provide a global
xm:permalink
fill value that contains the absolute path for the file so that people can use it to reference to the current page (eg. when creating sharing links). Thexm:
namespace will be reserved for xm fill values.The text was updated successfully, but these errors were encountered: