Open adamjohnson opened 3 years ago
hammer-start
<r:r:cache_key />
r:cache_key:
r:cache_key
<h1><r:cache_key /></h1>
Example output:
A random 10 digit number:
1627497592
This tag can be useful when building URL's to assets. EG:
https://<r:site:domain />/public/<r:cache_key />/sitemap.xml
cleanslate/app/lib/slate/radius/tags/theme_asset.rb (Github)
How to reproduce
hammer-start
<r:r:cache_key />
anywhere in the template.Tag to add support for
r:cache_key
:Example output:
A random 10 digit number:
This tag can be useful when building URL's to assets. EG:
Link to tags in CleanSlate repo
cleanslate/app/lib/slate/radius/tags/theme_asset.rb (Github)