In attempting to index our web pages I’ve found the data-attribute tags to be invaluable as in our current CMS we lack some basic access to the backend and specifically can’t create dynamic meta tags within the head of our pages.
I see how to index most basic types of content such as text and strings using these tag attributes, but I am wondering what the approach could be for adding an image or other types of data-types that aren’t actually content within an html tag. Would I use an enum data-type? Is
<div data-swiftype-content=""> a valid attribute?