cover
Handsome主题添加评论者浏览器标识
 2020-12-13 17:22:00 |  2020-12-13 17:23:15

**效果** ![Screenshot_20201213_172224.png](https://assets.xyz.blue/attachments/2020/12/1925627664.png) **添加以下的代码到 functions.php 文件末尾** ``` /** 获取浏览器信息 */ function getBrowser($agent) { $outpu


cover
为添加Handsome添加加载时间
 2020-12-13 16:57:00 |  2020-12-13 16:58:35

### 添加方法 首先在主题的 ``functions.php`` 文件里加入以下统计代码; ``` //加载耗时 function timer_start() { global $timestart; $mtime = explode( ' ', microtime() ); $timestart = $mti


cover
Handsome设置彩色标签云
 2020-12-13 16:46:00 |  2020-12-13 16:57:55

如图所示 ![Screenshot_20201213_164421.png](https://assets.xyz.blue/attachments/2020/12/3217129505.png) # **更改方法** **打开后台-更改外观-设置外观-开发者设置-选择好需要的颜色粘贴至自定义JavaScript即可** **颜色也可以自行设定,修改代码中的十六进制颜色值即


cover
Handsome主题使用vditor.js前台解析lazy-load的问题
 2020-12-12 23:52:00 |  2020-12-28 20:16:00

~~出现问题的文档~~ **现已经修复** [post cid="128" cover="https://www.xyz.blue/Logo/default-monochrome.png"/] 在我升级Handsome到7.3.1的时候,偶然发现可以设置 ``vditor.js``于是就设置了 问题是这样子的 ![Screenshot_20201206_195049_mar


cover
Caddy安装默认配置
 2020-12-12 23:37:00 |  2020-12-12 23:38:18

``` # The Caddyfile is an easy way to configure your Caddy web server. # # Unless the file starts with a global options block, the first # uncommented line is always the address of your site. #


cover
Caddy文件备份
 2020-12-06 17:23:15 |  2020-12-06 17:23:15

``` #proxy.xyz.blue { # tls /etc/caddy/tls/xyz.blue/fullchain.pem /etc/caddy/tls/xyz.blue/privkey.pem # header { # Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"


cover
Caddy2如何为Typecho设置伪静态
 2020-12-06 17:14:00 |  2020-12-11 23:04:29

**答案是无需设置!!!** Caddy2 已经内置了关于``index.php``的伪静态! ) That’s right, Caddy v2’s `php_fastcgi` directive is a shortcut that includes a `try_files` rewrite as you can see in the expanded form ) ) [Ca