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
When I run gulp inject-css, the first everything is ok. But, when I run the command again the results is weird, the inject tag gets emptied out and code is randomly duplicated at the end of the file.
head.mustache:
<!DOCTYPE html>
<htmlclass="no-js"lang="{{locale}}">
<head>
<metacharset="utf-8">
<title>{{sitename}} | {{meta.title}}</title>
<metaname="viewport"content="width=device-width, initial-scale=1">
<!-- bower:css --><!-- endinject -->{{#stylesheets_external}}
<linkrel="stylesheet"type="text/css"href="{{{src}}}"media="{{media}}" />
{{/stylesheets_external}}
{{#stylesheets}}
<linkrel="stylesheet"type="text/css"href="{{{assets_url}}}{{{src}}}"media="{{media}}" />
{{/stylesheets}}
{{#scripts_head}}
<scripttype="text/javascript"src="{{{assets_url}}}{{{.}}}"></script>
{{/scripts_head}}
</head>
<bodyclass="PAGE">
<!--[if lte IE 8]> <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> <![endif]-->
When I run
gulp inject-css
, the first everything is ok. But, when I run the command again the results is weird, the inject tag gets emptied out and code is randomly duplicated at the end of the file.head.mustache:
gulpfile.js:
The text was updated successfully, but these errors were encountered: