This commit is contained in:
JiXieShi
2024-05-03 22:42:59 +08:00
parent 080c41d458
commit f04ed0b242
3 changed files with 16 additions and 11 deletions

View File

@@ -18,7 +18,7 @@
<p>Action</p>
<div class="item-content">
<div class="action">
<a href="{{ .Config.DashboardEntrance }}?action=updateArticle">更新文章</a>
<a href="{{ .Config.Dashboard }}?action=updateArticle">更新文章</a>
</div>
</div>
{{ if .Data.msg }}
@@ -32,7 +32,7 @@
<span class="action-tip">提示更新文章会执行git pull命令和你的仓库网络有关等待时间可能会稍长。</span>
<script>
function selectColor(index) {
window.location.href = '{{ .Config.DashboardEntrance }}?theme=' + index
window.location.href = '{{ .Config.Dashboard }}?theme=' + index
}
function searchArticle() {
var searchKey = document.getElementById('search-input').value;