perf(comments): lazy load giscus
(#1254)
Enable the `giscus` lazy loading option to improve web performance.
This commit is contained in:
parent
0a55e1297b
commit
e9c920641b
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@
|
|||
'data-theme': initTheme,
|
||||
'data-input-position': '{{ site.comments.giscus.input_position | default: 'bottom' }}',
|
||||
'data-lang': '{{ site.comments.giscus.lang | default: lang }}',
|
||||
'data-loading': 'lazy',
|
||||
crossorigin: 'anonymous',
|
||||
async: ''
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue