一、将以下代码放入OPT中
将logo图片地址
改为自己自定义logo的地址【,不要漏掉】
二、示例
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
| 'use strict'; const OPT = { "user" : "admin", "password" : "admin", "siteDomain" : "blog.ifts.ml", "siteName" : "道辰的小破站", "siteDescription":"A Blog Powered By Cloudflare Workers and KV", "keyWords":"cloudflare,KV,workers,blog", "cacheZoneId":"xxxxxxxxxxxxxxxxxxxxxxxx", "cacheToken":"xxxxxxxxxxxxxxxxxxxxxxxx", "logo" : "https://cdn.jsdelivr.net/gh/DaoChen6/img@main/logo2.png", "pageSize" : 5, "recentlySize" : 6, "readMoreLength":150, "cacheTime" : 60*60*24*0.5, "themeURL" : "https://cdn.jsdelivr.net/gh/DaoChen6/CF-blog@master/themes/JustNews/", "html404" : `<b>404</b>`, "codeBeforHead":``, "codeBeforBody":``, "commentCode":``, "widgetOther":``, "otherCodeA":``, "otherCodeB":``, "otherCodeC":``, "otherCodeD":``, "otherCodeE":``, "copyRight" :`Powered by <a href="https://www.cloudflare.com">CF Workers</a> & <a href="https://blog.gezhong.vip">CF-Blog</a> & <a href="https://www.iflm.ml">道辰</a>`, "robots":`User-agent: * Disallow: /admin` };
|