一年的工夫,钻研成功。自言自语说:“现在我真的可以去游说各国君王了。”于是苏秦在华丽的殿堂中拜见游说赵王。亲密交谈,赵王非常高兴,封他为武安君,并授给相印,随后赏赐他兵车百辆锦绣千匹,白璧百双,金币万两。缔结合纵,离散连横,来抑制强大的秦国,所以苏秦在赵国为相,函谷关封闭(秦国不敢出兵函谷关)。这时候,那么广大的天下,那么众多的人民,那么威严的王候…

织布机

视频编辑第5部_20201214012916685.mp4

Handsome主题添加评论者浏览器标识

效果添加以下的代码到 functions.php 文件末尾/** 获取浏览器信息 */ function getBrowser($agent) { $outputer = false; if (preg_match('/MSIE\s([^\s|;]+)/i', $agent)) { $outputer = '<i…

为添加Handsome添加加载时间

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

Handsome设置彩色标签云

如图所示更改方法打开后台-更改外观-设置外观-开发者设置-选择好需要的颜色粘贴至自定义JavaScript即可颜色也可以自行设定,修改代码中的十六进制颜色值即可<!--纯黑标签云--> let tags = document.querySelectorAll("#tag_cloud-2 a"); let colorA…

Handsome主题使用vditor.js前台解析lazy-load的问题
Caddy安装默认配置
Caddy文件备份
Caddy2如何为Typecho设置伪静态

出现问题的文档 现已经修复[post cid="128" cover="https://www.ioioi.cn/Logo/default-monochrome.png"/]在我升级Handsome到7.3.1的时候,偶然发现可以设置 vditor.js于是就设置了问题是这样子的最初的时候是这样的经过我的调试发现切换到 Typecho默认的前台解析…
# 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…
#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 已经内置了关于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社区…

Typecho后台文章列表按照发文时间排序
编辑该文件nano var/Widget/Contents/Post/Admin.php寻找$select->order('table.contents.cid', Typecho_Db::SORT_DESC)将其更改为$select->order('table.contents.created'…