Currently the "public:" prefix works only when you include css.
For example:
This can be useful for templates as well.
As an example, when I need to write javascript code, but it's not too long, I prefer to load it inline instead in a file. I write it into a template and then include that in site. So being able to reuse that in admins could be useful, currently I need to re-create the same template in the admin templates, and maintain the same code twice.
For example:
HTML:
<xen:require css="public:thread_prefixes.css" />
This can be useful for templates as well.
As an example, when I need to write javascript code, but it's not too long, I prefer to load it inline instead in a file. I write it into a template and then include that in site. So being able to reuse that in admins could be useful, currently I need to re-create the same template in the admin templates, and maintain the same code twice.
Upvote
0