You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have tidier templates which uses only something like: <script src="{{ site.url }}/assets/js/main.min.js" defer></script>
and a global condition that rewrite site.url for production or development environment, like:
This is an automated message to let you know that a helpful response was posted to your issue and for the health of the repository issue tracker the issue will be closed. This is to help alleviate issues hanging open waiting for a response from the original poster.
If the response works to solve your problem—great! But if you’re still having problems, do not let the issue’s closing deter you if you have additional questions! Post another comment and we will reopen the issue. Thanks!
I have the following code in my templates, for each url:
I would like to have tidier templates which uses only something like:
<script src="{{ site.url }}/assets/js/main.min.js" defer></script>
and a global condition that rewrite site.url for production or development environment, like:
How can this be accomplished?
Thanks! ;)
The text was updated successfully, but these errors were encountered: