分类: 学习

195 篇文章

thumbnail
Handsome设置彩色标签云
如图所示更改方法打开后台-更改外观-设置外观-开发者设置-选择好需要的颜色粘贴至自定义JavaScript即可颜色也可以自行设定,修改代码中的十六进制颜色值即可<!--纯黑标签云--> let tags = document.querySelectorAll("#tag_cloud-2 a"); let colorA…
thumbnail
Handsome主题使用vditor.js前台解析lazy-load的问题
出现问题的文档 现已经修复[post cid="128" cover="https://www.ioioi.cn/Logo/default-monochrome.png"/]在我升级Handsome到7.3.1的时候,偶然发现可以设置 vditor.js于是就设置了问题是这样子的最初的时候是这样的经过我的调试发现切换到 Typecho默认的前台解析…
Caddy安装默认配置
# 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 o…
Caddy文件备份
#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; includeSubDoma…
Caddy2如何为Typecho设置伪静态
答案是无需设置!!!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 formCaddy社区…
thumbnail
在linux中设置优先使用ipv4,而不是ipv6
经试验在debian Centos ArchLinux Manjaro中有效修改/etc/gai.conf取消下面这一行的注释precedence ::ffff:0:0/96 100添加如下内容label ::1/128 0 label ::/0 1 label 2002::/16 2 label ::/96 3 label ::ffff:0:0/…
thumbnail
Caddy配置升级1 to 2
proxyThe v2 equivalent is reverse_proxy.Notable subdirective changes are header_upstream and header_downstreamhave become header_up and header_down, respectively; andload-bala…
thumbnail
申请QID方式
设置-账号里面可以申请若果没有,则打开这个链接即可