hexojs / hexo-asset-pipeline

A hexo plugin to minify/optimize HTML, CSS, JS and images. Supports revisioning of assets.
30 stars 16 forks source link

How Do You Refer to Versioned Assets? #22

Open tohuw opened 6 years ago

tohuw commented 6 years ago

The revisioning feature works in that it creates fingerprinted files, but how do I refer to those files in my template? Is there some tag I should use?

bhaskarmelkani commented 6 years ago

Hi,

Theoretically, when it versions the assets it also changes the path to those assets from the html files.

But if you have any specific use case, can you please elaborate more ?