From c1999436352ed7275e89c87783b2f3f7b10795c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=86=E7=93=9C=E4=BA=91?= Date: Mon, 31 Jul 2023 11:18:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0displayTitle=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=EF=BC=8C=E4=BB=A5=E9=80=82=E5=BA=94=E5=A4=B4=E5=83=8F?= =?UTF-8?q?=E6=9B=BF=E4=BB=A3=E5=BC=80=E5=A4=B4=E5=AD=97=E6=AF=8D=E7=9A=84?= =?UTF-8?q?=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.json | 12 ------------ plist_example.html | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 config.json diff --git a/config.json b/config.json deleted file mode 100644 index 0774c44..0000000 --- a/config.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "title":"Meekdai", - "subTitle":"童话是一种生活态度,仅此而已。", - "homeUrl":"http://blog.meekdai.com", - "avatarUrl":"http://meekdai.com/avatar.jpg", - "faviconUrl":"http://meekdai.com/favicon.ico", - "startSite":"02/16/2015", - "filingNum":"浙ICP备20023628号", - "singlePage":["link","about"], - "commentLabelColor":"#006b75", - "yearColorList":["#bc4c00", "#0969da", "#1f883d", "#A333D0"] -} diff --git a/plist_example.html b/plist_example.html index a9c308b..dc578be 100644 --- a/plist_example.html +++ b/plist_example.html @@ -92,7 +92,7 @@ var postListJson=blogBase["postListJson"] document.title=blogBase["title"]; document.getElementById("avatarImg").src=blogBase["avatarUrl"]; -document.getElementById("blogTitle").innerHTML=blogBase["title"].substring(1); +document.getElementById("blogTitle").innerHTML=blogBase["displayTitle"]; document.getElementById("blogSubTitle").innerHTML=blogBase["subTitle"]; document.getElementById("changeTheme").setAttribute("title",i18n[0]); document.getElementById("buttonLink").setAttribute("title",i18n[3]);