We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff7b35a commit 9c81d49Copy full SHA for 9c81d49
layouts/index.html
@@ -3,6 +3,16 @@
3
<!-- Welcome contents -->
4
{{ .Content }}
5
6
+<!-- Telegram Widget -->
7
+<!-- <h2>Latest Reading</h2> -->
8
+<!-- <script id="telegram_post" async src="https://telegram.org/js/telegram-widget.js?22" data-telegram-post="wsine_channel/2" data-width="100%" data-userpic="false" data-dark="0"></script> -->
9
+<!-- <script> -->
10
+<!-- const prefersDarkMode = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches; -->
11
+<!-- if (prefersDarkMode) { -->
12
+<!-- document.getElementById('telegram_post').setAttribute('data-dark', '1'); -->
13
+<!-- } -->
14
+<!-- </script> -->
15
+
16
<!-- Blog contents -->
17
<h2>Latest Articles</h2>
18
<ul>
0 commit comments