Some checks are pending
Deploy Eventually (In)Consistent / build-and-deploy (push) Waiting to run
16 lines
619 B
HTML
16 lines
619 B
HTML
<script defer src="https://comentario.cotti.com.br/comentario.js"></script>
|
|
<comentario-comments></comentario-comments>
|
|
<noscript>Please enable JavaScript to view comments.</noscript>
|
|
|
|
<script>
|
|
const comentarioComments = document.getElementsByTagName("comentario-comments");
|
|
if (localStorage.getItem("theme") === "dark") {
|
|
for (const commentElement of comentarioComments) {
|
|
commentElement.setAttribute("theme", "dark");
|
|
}
|
|
} else {
|
|
for (const commentElement of comentarioComments) {
|
|
commentElement.setAttribute("theme", "light");
|
|
}
|
|
}
|
|
</script>
|