-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
refactor: move js to bottom and move css to top. #689
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
{{end}} | ||
|
||
<!-- Stylesheet --> | ||
<link rel="stylesheet" href="{{AppSubUrl}}/css/index.css?v={{MD5 AppVer}}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be in the head
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -27,26 +27,43 @@ | |||
</div> | |||
</div> | |||
</footer> | |||
</body> | |||
<script src="{{AppSubUrl}}/js/jquery-1.11.3.min.js"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be indented by one level
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
<title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title> | ||
|
||
<meta name="theme-color" content="{{ThemeColorMetaTag}}"> | ||
{{if .RequireHighlightJS}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should also be indented by one level
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I refactor head file.
d547dd3
to
196812c
Compare
build failed. |
@lunny build successfully. |
LGTM |
Trusted LGTM |
<head>
section.<body>
section.