Update base.html

This commit is contained in:
luxtiasco 2022-04-16 11:16:17 +08:00 committed by GitHub
parent 9b9e97b066
commit 7fe66bdc7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,13 +44,6 @@
.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' %}