Skip to content

Commit

Permalink
Move Twitter script to the head (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored Dec 12, 2022
1 parent 383d44d commit ad09fd3
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@
<link rel="dns-prefetch" href="https://api.github.com">

{% seo %}

<style>
{%- capture include_to_scssify -%}
{%- include page.scss -%}
{%- endcapture -%}
{{- include_to_scssify | scssify -}}
{%- capture include_to_scssify -%}
{%- include page.scss -%}
{%- endcapture -%}
{{- include_to_scssify | scssify -}}
</style>

<script async src="https://platform.twitter.com/widgets.js"></script>
</head>

<body>
Expand All @@ -29,7 +32,5 @@ <h1>GitHub buttons</h1>

{{ content }}
</div>

<script async src="https://platform.twitter.com/widgets.js"></script>
</body>
</html>

0 comments on commit ad09fd3

Please sign in to comment.