diff options
Diffstat (limited to 'exampleSite')
| -rw-r--r-- | exampleSite/config.toml | 7 | ||||
| -rw-r--r-- | exampleSite/data/even/default.toml | 5 | 
2 files changed, 12 insertions, 0 deletions
| diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 373a33c..e2ed85c 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -73,6 +73,7 @@ copyright = ""            # default: author.name ↓        # 默认为下面配    changyanAppid = ""        # Changyan app id             # 畅言    changyanAppkey = ""       # Changyan app key +  livereUID = ""            # LiveRe UID                  # 来必力    baidu_push = false        # baidu push                  # 百度    baidu_analytics = ""      # Baidu Analytics    baidu_verification = ""   # Baidu Verification @@ -85,6 +86,12 @@ copyright = ""            # default: author.name ↓        # 默认为下面配      fancyboxJs = '<script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.js" integrity="sha256-XVLffZaxoWfGUEbdzuLi7pwaUJv1cecsQJQqGLe7axY=" crossorigin="anonymous"></script>'      fancyboxCss = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.css" integrity="sha256-7TyXnr2YU040zfSP+rEcz29ggW4j56/ujTPwjMzyqFY=" crossorigin="anonymous">' +  [params.busuanzi]         # count web traffic by busuanzi                             # 是否使用不蒜子统计站点访问量 +    enable = false +    siteUV = true +    sitePV = true +    pagePV = true +    [params.reward]                                         # 文章打赏      enable = false      wechat = "/path/to/your/wechat-qr-code.png"           # 微信二维码 diff --git a/exampleSite/data/even/default.toml b/exampleSite/data/even/default.toml index 742649e..09cb578 100644 --- a/exampleSite/data/even/default.toml +++ b/exampleSite/data/even/default.toml @@ -40,3 +40,8 @@ categories = "Categories"    [counter.categories]      zero =  "No Categories"      other = "%d Categories In Total" + +[traffic] +  siteUV = "site uv: %s" +  sitePV = "site pv: %s" +  pagePV = "%s times read" | 
