Skip to content

Commit 2291553

Browse files
committed
Delay comment loading
1 parent 4def8fd commit 2291553

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

_includes/default/head.liquid

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
<!--Favicon-->
2525
<link rel="shortcut icon" href="{{ site.favicon | relative_url }}" type="image/x-icon">
2626
27+
<!-- Preconnect to Cusdis for faster loading when comments become visible -->
28+
{% if site.data.comments.cusdis.app_id or site.comments.cusdis_app_id or site.cusdis_app_id %}
29+
<link rel="preconnect" href="https://cusdis.com">
30+
{% endif %}
31+
2732
{% if page.bootstrap %}
2833
<!-- Bootstrap-4.1.3 isolation CSS -->
2934
<link rel="stylesheet" type="text/css" href="{{ '/assets/css/vendor/bootstrap-iso.min.css' | relative_url }}">

0 commit comments

Comments
 (0)