2020-09-08 18:24:17 -04:00
|
|
|
<div class="disqus-container">
|
|
|
|
{{ template "_internal/disqus.html" . }}
|
|
|
|
</div>
|
2020-09-09 10:19:37 -04:00
|
|
|
|
|
|
|
<style>
|
|
|
|
.disqus-container {
|
|
|
|
background-color: var(--card-background);
|
|
|
|
border-radius: var(--card-border-radius);
|
|
|
|
box-shadow: var(--shadow-l1);
|
2020-09-20 17:45:44 -04:00
|
|
|
padding: var(--card-padding);
|
2020-09-09 10:19:37 -04:00
|
|
|
}
|
2020-09-20 17:45:44 -04:00
|
|
|
</style>
|
2021-01-01 07:32:19 -05:00
|
|
|
|
|
|
|
<script>
|
|
|
|
window.addEventListener('onColorSchemeChange', (e) => {
|
2022-06-09 16:43:08 -04:00
|
|
|
if (typeof DISQUS == 'object') {
|
2021-01-01 07:32:19 -05:00
|
|
|
DISQUS.reset({
|
|
|
|
reload: true
|
|
|
|
});
|
|
|
|
}
|
|
|
|
})
|
|
|
|
</script>
|