Skip to content

Commit

Permalink
perf(templates): Defer javascript parsing
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Nov 5, 2022
1 parent 31abf14 commit beaa47e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/fibr/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1">

<script type="text/javascript" src="/scripts/index.min.js?v={{ .Version }}"></script>
<script type="text/javascript" src="/scripts/index.min.js?v={{ .Version }}" defer></script>
<link rel="stylesheet" type="text/css" href="/styles/main.min.css?v={{ .Version }}">

{{ template "favicon" . }}
Expand Down

0 comments on commit beaa47e

Please sign in to comment.