Open larsvegas opened 7 years ago
I'd like to see if I can contribute this to middleman-ogp
. Could you maybe point me in the right direction?
-ping @ngs :)
This could be possible by converting value
to contain asset hash.
https://github.com/ngs/middleman-ogp/blob/master/lib/middleman-ogp/extension.rb#L165
But not yet sure how to retrieve asset hash from path.
Hey,
I'm using the middleman
:asset_hash
extension so assets will be renamed after build frommyimage.jpg
to something likemyimage-f5d3f0c1.jpg
.How can I make
middleman-ogp
to substitute theog:image
property with the correct one with the hash on build?Thanks, Lars