mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Update base.html
This commit is contained in:
parent
0fd442f0c4
commit
9b9e97b066
1 changed files with 7 additions and 0 deletions
|
@ -44,6 +44,13 @@
|
||||||
.disabled_if_nojs {pointer-events: none; cursor: default; text-decoration: line-through;}
|
.disabled_if_nojs {pointer-events: none; cursor: default; text-decoration: line-through;}
|
||||||
</style>
|
</style>
|
||||||
</noscript>
|
</noscript>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/darkmode-js@1.5.7/lib/darkmode-js.min.js"></script>
|
||||||
|
<script>
|
||||||
|
function addDarkmodeWidget() {
|
||||||
|
new Darkmode().showWidget();
|
||||||
|
}
|
||||||
|
window.addEventListener('load', addDarkmodeWidget);
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body class="{{ endpoint }}_endpoint" >
|
<body class="{{ endpoint }}_endpoint" >
|
||||||
{% include 'oscar/navbar.html' %}
|
{% include 'oscar/navbar.html' %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue