Skip to content

Commit ad09fd3

Browse files
authored
Move Twitter script to the head (#193)
1 parent 383d44d commit ad09fd3

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/_layouts/default.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@
66
<link rel="dns-prefetch" href="https://api.github.com">
77

88
{% seo %}
9+
910
<style>
10-
{%- capture include_to_scssify -%}
11-
{%- include page.scss -%}
12-
{%- endcapture -%}
13-
{{- include_to_scssify | scssify -}}
11+
{%- capture include_to_scssify -%}
12+
{%- include page.scss -%}
13+
{%- endcapture -%}
14+
{{- include_to_scssify | scssify -}}
1415
</style>
16+
17+
<script async src="https://platform.twitter.com/widgets.js"></script>
1518
</head>
1619

1720
<body>
@@ -29,7 +32,5 @@ <h1>GitHub buttons</h1>
2932

3033
{{ content }}
3134
</div>
32-
33-
<script async src="https://platform.twitter.com/widgets.js"></script>
3435
</body>
3536
</html>

0 commit comments

Comments
 (0)