| @@ -1,5 +1,5 @@ | |||
| <script type="module"> | |||
| import * as DarkModeToggle from 'https://unpkg.com/dark-mode-toggle'; | |||
| import * as DarkModeToggle from '/static/js/darkmode.mjs'; | |||
| const toggle = document.querySelector('dark-mode-toggle'); | |||
| const body = document.body; | |||
| @@ -2,4 +2,4 @@ | |||
| <link rel="authorization_endpoint" href="https://indieauth.com/auth"> | |||
| <link rel="webmention" href="https://webmention.io/rohanverma.net/webmention" /> | |||
| <link rel="pingback" href="https://webmention.io/rohanverma.net/xmlrpc" /> | |||
| <script type="module" src="https://unpkg.com/dark-mode-toggle"></script> | |||
| <script type="module" src="/static/js/darkmode.mjs"></script> | |||