pages(darkmode): Follow the system's dark mode
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<#macro comment post,type>
|
||||
<#macro comment target,type>
|
||||
<#if !post.disallowComment!false>
|
||||
<div id="comment" class="comment close">
|
||||
<script src="//cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.min.js"></script>
|
||||
<script src="${theme_base!}/source/plugins/comment/vue.min.js"></script>
|
||||
<script src="${options.comment_internal_plugin_js!'//cdn.jsdelivr.net/gh/halo-dev/halo-comment@latest/dist/halo-comment.min.js'}"></script>
|
||||
<halo-comment id="${post.id?c}" type="${type}"/>
|
||||
<halo-comment id="${target.id?c}" type="${type}""/>
|
||||
</div>
|
||||
</#if>
|
||||
</#macro>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<#macro layout title>
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN" data-font="sans" data-darkmode="light">
|
||||
<html lang="zh-CN" data-font="sans">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<#-- 自定义样式表 -->
|
||||
<link rel="stylesheet" href="${theme_base!}/source/css/redemption.css"/>
|
||||
<link rel="stylesheet" href="//unpkg.com/heti/umd/heti.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.7wate.com/halo/redemption/heti.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container animate__animated animate__fadeInDown">
|
||||
@@ -37,7 +37,7 @@
|
||||
</div>
|
||||
|
||||
<#-- 自定义JS代码 -->
|
||||
<script src="${theme_base!}/source/js/redemption.js"></script>
|
||||
<#-- <script charset="utf-8" src="${theme_base!}/source/plugins/halo-comment.min2.js"></script> -->
|
||||
|
||||
</body>
|
||||
<#include "menu.ftl">
|
||||
|
||||
Reference in New Issue
Block a user