Zurb Foundation's data-interchange
works beautifully for me. In development.
But then I build and I end up with this sort of html:
<img alt='Why Believe' data-interchange='[/assets/images/logo.svg, (default)], [/assets/images/logo-square.svg, (medium)]'>
<noscript>
<img alt='Why Believe' src='/assets/images/logo-e8f041ee.svg'>
</noscript>
Can you spot the problem?
Middleman's build process smartly fingerprints all of the assets, and links to the fingerprinted ones. No "un-fingerprinted" assets get built. I want all of that.
But the asset paths in the data-interchange
attribute get no fingerprints. Therefore they work in development, but not once built and deployed.
How can I make it so the data-interchange
asset paths also get the fingerprint? (And if middleman calls the -e8f041ee
something other than "fingerprint", please let me know!)