This commit is contained in:
parent
7dc7f46fcf
commit
53819e301e
1 changed files with 2 additions and 2 deletions
|
@ -21,10 +21,10 @@ nav: nav/blognav.html
|
||||||
<link rel="stylesheet" href="/style/book.css">
|
<link rel="stylesheet" href="/style/book.css">
|
||||||
{% else %}
|
{% else %}
|
||||||
<script>
|
<script>
|
||||||
let style = dark ? "monokai" : "friendly";
|
let style = dark ? "mocha" : "latte";
|
||||||
$("head").append($("<link/>", {
|
$("head").append($("<link/>", {
|
||||||
rel: "stylesheet",
|
rel: "stylesheet",
|
||||||
href: `https://cdn.jsdelivr.net/gh/richleland/pygments-css@master/${style}.css`
|
href: `https://cdn.jsdelivr.net/gh/catppuccin/python@gh-pages/pygments/catppuccin-${style}.css`
|
||||||
}));
|
}));
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue