This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-github
/
middleman--middleman
Watch
1
Star
0
Fork
You've already forked middleman--middleman
0
mirror of
https://github.com/middleman/middleman.git
synced
2022-11-09 12:20:27 -05:00
Code
Releases
Activity
0bc35db4a6
middleman--middleman
/
middleman-more
/
fixtures
/
asset-hash-app
/
source
/
partials.html.erb
Ben Hollis
fc79459e61
Fix the asset_hash extension to operate on the hash of the rendered output rather than just the source file. This prevents generating the same hash for a file when partials it uses change, or if a helper it uses produces different output. As part of this change I removed the caching from Sitemap::Page#destination_path and asset_hash since they were preventing recalculation of path/hash when partials changed, and I rewrote the Sprockets extension to expose the Sprockets environment to other extension, which included consolidating the JS and CSS Sprockets environments into one.
2012-04-04 00:00:33 -07:00
1 line
43 B
Text
Raw
Blame
History
<%= stylesheet_link_tag 'uses_partials' %>
View git blame
Copy permalink