Skip to content

Commit 96121b3

Browse files
fix dark mode logo
1 parent 73e2b07 commit 96121b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_quarto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ format:
8686
include-after-body:
8787
- file: _includes/navbar/navbar.html
8888
- text: |
89-
<script>document.addEventListener('DOMContentLoaded',async()=>{const e=document.querySelector('.navbar-logo');if(!e)return;const t=await fetch('/assets/logo/turing-logo-light.svg').then(e=>e.text()),o=new DOMParser().parseFromString(t,'image/svg+xml').documentElement;o.classList.add('navbar-logo'),e.replaceWith(o)});</script>
89+
<script>document.addEventListener('DOMContentLoaded',async()=>{const e=document.querySelector('img.navbar-logo');if(!e)return;const t=await fetch('./assets/logo/turing-logo-light.svg').then(e=>e.text()),o=new DOMParser().parseFromString(t,'image/svg+xml').documentElement;o.classList.add('navbar-logo'),e.replaceWith(o)});</script>
9090
9191
# Global Variables to use in any qmd files using:
9292
# {{< meta site-url >}}

0 commit comments

Comments
 (0)