diff --git a/content/zh-cn/posts/Note-微信也出企业版了.md b/content/zh-cn/posts/Note-微信也出企业版了.md
index 92d5973..38e2b5a 100644
--- a/content/zh-cn/posts/Note-微信也出企业版了.md
+++ b/content/zh-cn/posts/Note-微信也出企业版了.md
@@ -1,6 +1,6 @@
---
title: "微信也出企业版了"
-slug: "Note-微信也出企业版了"
+slug: "wechat-enterprise-version"
date: 2016-12-14T13:20:00.000Z
categories:
- 测试
diff --git a/content/zh-cn/posts/Windows-Git在windows下区分大小写.md b/content/zh-cn/posts/Windows-Git在windows下区分大小写.md
index 856193e..215ea15 100644
--- a/content/zh-cn/posts/Windows-Git在windows下区分大小写.md
+++ b/content/zh-cn/posts/Windows-Git在windows下区分大小写.md
@@ -1,6 +1,6 @@
---
title: "Git在windows下区分大小写"
-slug: "Windows-Git在windows下区分大小写"
+slug: "Windows-Git"
date: 2023-03-21T11:03:00.000Z
categories:
- 分享
diff --git a/content/zh-cn/posts/jginyuex99mplusd3hackintosh.md b/content/zh-cn/posts/jginyuex99mplusd3hackintosh.md
index d36621a..e49bb59 100644
--- a/content/zh-cn/posts/jginyuex99mplusd3hackintosh.md
+++ b/content/zh-cn/posts/jginyuex99mplusd3hackintosh.md
@@ -1,6 +1,6 @@
---
title: "精粤X99M-PLUS-D3+rx580黑苹果opencore0.9.0引导"
-slug: "jginyuex99mplusd3hackintosh"
+slug: "jginyue-x99mplusd3-hackintosh"
date: 2023-04-28T03:56:00.000Z
categories:
- 分享
diff --git a/content/zh-cn/posts/life15级强台风山竹即将登陆广东.md b/content/zh-cn/posts/life15级强台风山竹即将登陆广东.md
index 2b19840..004281c 100644
--- a/content/zh-cn/posts/life15级强台风山竹即将登陆广东.md
+++ b/content/zh-cn/posts/life15级强台风山竹即将登陆广东.md
@@ -1,6 +1,6 @@
---
title: "15级强台风山竹即将登陆广东"
-slug: "life15级强台风山竹即将登陆广东"
+slug: "shanzhu"
date: 2018-09-15T11:42:00.000Z
categories:
- 日记
diff --git a/content/zh-cn/posts/life一周之始.md b/content/zh-cn/posts/life一周之始.md
index 585da99..f005bc9 100644
--- a/content/zh-cn/posts/life一周之始.md
+++ b/content/zh-cn/posts/life一周之始.md
@@ -1,6 +1,6 @@
---
title: "一周之始"
-slug: "life一周之始"
+slug: "At_the_beginning_of_the_week"
date: 2011-08-08T11:44:00.000Z
categories:
- 日记
diff --git a/content/zh-cn/posts/life关于网恋.md b/content/zh-cn/posts/life关于网恋.md
index 31f29b9..544d492 100644
--- a/content/zh-cn/posts/life关于网恋.md
+++ b/content/zh-cn/posts/life关于网恋.md
@@ -1,6 +1,6 @@
---
title: "关于网恋"
-slug: "life关于网恋"
+slug: "online-dating"
date: 2016-12-23T07:34:00.000Z
categories:
- 日记
diff --git a/content/zh-cn/posts/life十年.md b/content/zh-cn/posts/life十年.md
index 1ed93cc..a3e2b87 100644
--- a/content/zh-cn/posts/life十年.md
+++ b/content/zh-cn/posts/life十年.md
@@ -1,6 +1,6 @@
---
title: "十年"
-slug: "life十年"
+slug: "ten-years"
date: 2018-03-17T12:34:00.000Z
categories:
- 日记
diff --git a/content/zh-cn/posts/life压力山大.md b/content/zh-cn/posts/life压力山大.md
index 4c6918f..22ac284 100644
--- a/content/zh-cn/posts/life压力山大.md
+++ b/content/zh-cn/posts/life压力山大.md
@@ -1,6 +1,6 @@
---
title: "压力山大"
-slug: "life压力山大"
+slug: "tremendous-pressure"
date: 2016-11-04T10:20:00.000Z
categories:
- 日记
diff --git a/content/zh-cn/posts/life又是拳头.md b/content/zh-cn/posts/life又是拳头.md
index 1a0f618..fa8898b 100644
--- a/content/zh-cn/posts/life又是拳头.md
+++ b/content/zh-cn/posts/life又是拳头.md
@@ -1,6 +1,6 @@
---
title: "又是拳头"
-slug: "life又是拳头"
+slug: "about_fist"
date: 2016-11-18T04:56:00.000Z
categories:
- 吐槽
diff --git a/content/zh-cn/posts/life圣诞节.md b/content/zh-cn/posts/life圣诞节.md
index d9643bf..116cae2 100644
--- a/content/zh-cn/posts/life圣诞节.md
+++ b/content/zh-cn/posts/life圣诞节.md
@@ -1,6 +1,6 @@
---
title: "圣诞节"
-slug: "life圣诞节"
+slug: "Christmas"
date: 2017-12-25T01:52:00.000Z
categories:
- 日记
diff --git a/content/zh-cn/posts/life得之我幸失之我命.md b/content/zh-cn/posts/life得之我幸失之我命.md
index 2747b35..5a7f333 100644
--- a/content/zh-cn/posts/life得之我幸失之我命.md
+++ b/content/zh-cn/posts/life得之我幸失之我命.md
@@ -1,9 +1,9 @@
---
title: "得之我幸失之我命"
-slug: "life得之我幸失之我命"
+slug: "If-I-gain-I-am-fortunate-if-I-lose-it-is-my-fate"
date: 2017-12-27T02:51:00.000Z
categories:
-- 分享
+- 日记
tags:
- 日记
---
diff --git a/content/zh-cn/posts/life我的梦想.md b/content/zh-cn/posts/life我的梦想.md
index 0dcb74b..78a5905 100644
--- a/content/zh-cn/posts/life我的梦想.md
+++ b/content/zh-cn/posts/life我的梦想.md
@@ -1,13 +1,11 @@
---
title: "我的梦想"
-slug: "life我的梦想"
+slug: "my-dream"
date: 2011-09-05T11:38:00.000Z
categories:
-- 分享
+- 日记
tags:
-- 磁力
-- centos
-- 下载工具
+- 梦想
---
我有一个很大的梦想,就是每天都可以睡觉睡到自然醒。
diff --git a/content/zh-cn/posts/life现实就是这么现实.md b/content/zh-cn/posts/life现实就是这么现实.md
index cdd9bc5..e636534 100644
--- a/content/zh-cn/posts/life现实就是这么现实.md
+++ b/content/zh-cn/posts/life现实就是这么现实.md
@@ -1,6 +1,6 @@
---
title: "现实就是这么现实"
-slug: "life现实就是这么现实"
+slug: "That's-just-how-reality-is"
date: 2011-08-06T09:20:00.000Z
categories:
- 日记
diff --git a/content/zh-cn/posts/small-sheep-snh48-xu-yang-yuzhuo.md b/content/zh-cn/posts/small-sheep-snh48-xu-yang-yuzhuo.md
index c4a59f2..cfc835e 100644
--- a/content/zh-cn/posts/small-sheep-snh48-xu-yang-yuzhuo.md
+++ b/content/zh-cn/posts/small-sheep-snh48-xu-yang-yuzhuo.md
@@ -3,7 +3,7 @@ title: "小绵羊SNH48许杨玉琢"
slug: "small-sheep-snh48-xu-yang-yuzhuo"
date: 2019-01-12T14:37:00.000Z
categories:
-- 吐槽
+- 日记
tags:
- SNH48
---
diff --git a/content/zh-cn/posts/sometimes-the-pagoda-panel-database-automatically-stops-using-the-planned-task-to-solve-the-problem.md b/content/zh-cn/posts/sometimes-the-pagoda-panel-database-automatically-stops-using-the-planned-task-to-solve-the-problem.md
index 30b00fc..2d6f678 100644
--- a/content/zh-cn/posts/sometimes-the-pagoda-panel-database-automatically-stops-using-the-planned-task-to-solve-the-problem.md
+++ b/content/zh-cn/posts/sometimes-the-pagoda-panel-database-automatically-stops-using-the-planned-task-to-solve-the-problem.md
@@ -1,6 +1,6 @@
---
title: "宝塔面板数据库有时候自动停止用计划任务来解决的办法"
-slug: "sometimes-the-pagoda-panel-database-automatically-stops-using-the-planned-task-to-solve-the-problem"
+slug: "bt-panel-database-automatically-task"
date: 2023-05-23T06:59:00.000Z
categories:
- 分享
diff --git a/content/zh-cn/posts/the-goddess-of-god-is-an-ethical-novel.md b/content/zh-cn/posts/the-goddess-of-god-is-an-ethical-novel.md
index be9c509..ff57d5a 100644
--- a/content/zh-cn/posts/the-goddess-of-god-is-an-ethical-novel.md
+++ b/content/zh-cn/posts/the-goddess-of-god-is-an-ethical-novel.md
@@ -3,9 +3,9 @@ title: "神雕侠侣其实是一部伦理小说"
slug: "the-goddess-of-god-is-an-ethical-novel"
date: 2018-04-17T04:10:00.000Z
categories:
-- 日记
+- 吐槽
tags:
-- SNH48
+- 神雕侠侣
---
神雕侠侣是金庸先生最让人耳熟能详的作品
diff --git a/content/zh-cn/posts/typecho头像加速.md b/content/zh-cn/posts/typecho头像加速.md
index d8bf790..7a51bc3 100644
--- a/content/zh-cn/posts/typecho头像加速.md
+++ b/content/zh-cn/posts/typecho头像加速.md
@@ -1,6 +1,6 @@
---
title: "解决Typecho博客全球通用头像Gravatar不显示方法"
-slug: "406"
+slug: "Typecho-Gravatar-proxy"
date: 2023-12-12T04:49:39.000Z
categories:
- 分享
diff --git a/content/zh-cn/posts/ypecho文章内的超链接在新窗口打开.md b/content/zh-cn/posts/ypecho文章内的超链接在新窗口打开.md
index 7b50887..6a672b9 100644
--- a/content/zh-cn/posts/ypecho文章内的超链接在新窗口打开.md
+++ b/content/zh-cn/posts/ypecho文章内的超链接在新窗口打开.md
@@ -1,20 +1,20 @@
---
title: "让Typecho文章内的超链接在新窗口打开"
-slug: "10"
+slug: "Typecho-target_blank"
date: 2017-05-27T12:13:00.000Z
categories:
-- 吐槽
+- 分享
tags:
-- 珠海
-- 测试
+- Typecho
---
Markdown支持两种形式的链接语法:行内式和参考式两种形式。
而我们打开所生产的超链接,默认是在本窗口打开的,为了有更好的阅读体验,我们往往希望在新窗口。
-要想让Typecho的文章中链接加上“_blank”,也有很多种方法,比如通过jQuery在网页搜索标签,为其添加新窗口属性。
+要想让Typecho的文章中链接加上`“_blank”`,也有很多种方法,比如通过jQuery在网页搜索``标签,为其添加新窗口属性。
下面这种方式是直接修改Typecho程序源码,来实现:
-在\var\CommonMark\HtmlRenderer.php 搜索
+在`\var\CommonMark\HtmlRenderer.php` 搜索
+```
case CommonMark_Element_InlineElement::TYPE_LINK:
$attrs['href'] = $this->escape($inline->getAttribute('destination'), true);
if ($title = $inline->getAttribute('title')) {
@@ -22,7 +22,8 @@ Markdown支持两种形式的链接语法:行内式和参考式两种形式。
}
return $this->inTags('a', $attrs, $this->renderInlines($inline->getAttribute('label')));
-
+```
在return前加上下面这段代码:
-
+```
$attrs['target'] = '_blank'; // 给链接增加_blank属性
+```
\ No newline at end of file
diff --git a/content/zh-cn/posts/为Memos增加twikoo评论.md b/content/zh-cn/posts/为Memos增加twikoo评论.md
index a18f956..18e8b8d 100644
--- a/content/zh-cn/posts/为Memos增加twikoo评论.md
+++ b/content/zh-cn/posts/为Memos增加twikoo评论.md
@@ -1,5 +1,6 @@
---
title: "为Memos增加twikoo评论"
+slug: "memos-twikoo"
date: 2023-06-17T06:42:00.000Z
categories:
- 分享
diff --git a/content/zh-cn/posts/国内注册ChatGPT的方法.md b/content/zh-cn/posts/国内注册ChatGPT的方法.md
index 520300f..eba74fb 100644
--- a/content/zh-cn/posts/国内注册ChatGPT的方法.md
+++ b/content/zh-cn/posts/国内注册ChatGPT的方法.md
@@ -1,6 +1,6 @@
---
title: "国内注册ChatGPT的方法"
-slug: "国内注册ChatGPT的方法"
+slug: "regediter_chatgpt_china"
date: 2023-04-03T03:28:00.000Z
categories:
- 分享
diff --git a/content/zh-cn/posts/在fly-io部署Memos并自动备份数据库.md b/content/zh-cn/posts/在fly-io部署Memos并自动备份数据库.md
index cd4adc6..60afd87 100644
--- a/content/zh-cn/posts/在fly-io部署Memos并自动备份数据库.md
+++ b/content/zh-cn/posts/在fly-io部署Memos并自动备份数据库.md
@@ -1,11 +1,12 @@
---
title: "在fly.io部署Memos并自动备份数据库"
-slug: "在fly-io部署Memos并自动备份数据库"
+slug: "Deploying-Memos-on-fly_io-and-automating-database-backups"
date: 2023-08-15T02:02:00.000Z
categories:
- 分享
tags:
- 部署
+- memos
---
## 参考项目
diff --git a/content/zh-cn/posts/巨械师黑苹果.md b/content/zh-cn/posts/巨械师黑苹果.md
index d288911..b432bbe 100644
--- a/content/zh-cn/posts/巨械师黑苹果.md
+++ b/content/zh-cn/posts/巨械师黑苹果.md
@@ -1,9 +1,9 @@
---
title: "巨械师X99M+RX5600XT黑苹果OC0.9.5引导"
-slug: "562"
+slug: "Hackintosh-OC-Bootloader-for-X99M"
date: 2023-09-05T13:42:00.000Z
categories:
-- 日记
+- 分享
tags:
- 黑苹果
---
diff --git a/content/zh-cn/posts/求婚大作战.md b/content/zh-cn/posts/求婚大作战.md
index be33166..d36dbb0 100644
--- a/content/zh-cn/posts/求婚大作战.md
+++ b/content/zh-cn/posts/求婚大作战.md
@@ -1,6 +1,6 @@
---
title: "求婚大作战"
-slug: "21"
+slug: "The-Great-Proposal-Battle"
date: 2017-06-05T13:57:00.000Z
categories:
- 吐槽
diff --git a/content/zh-cn/posts/深夜食堂.md b/content/zh-cn/posts/深夜食堂.md
index dad20be..5347952 100644
--- a/content/zh-cn/posts/深夜食堂.md
+++ b/content/zh-cn/posts/深夜食堂.md
@@ -1,6 +1,6 @@
---
title: "深夜食堂"
-slug: "23"
+slug: "Midnight-Diner"
date: 2017-06-16T12:57:00.000Z
categories:
- 吐槽
diff --git a/content/zh-cn/posts/端午节祝词.md b/content/zh-cn/posts/端午节祝词.md
index 74fd4c2..7fc1028 100644
--- a/content/zh-cn/posts/端午节祝词.md
+++ b/content/zh-cn/posts/端午节祝词.md
@@ -1,6 +1,6 @@
---
title: "端午节祝词之争"
-slug: "14"
+slug: "duanwu"
date: 2017-05-31T08:29:29.000Z
categories:
- 吐槽
diff --git a/content/zh-cn/posts/群晖docker出现注册表无法访问的解决办法.md b/content/zh-cn/posts/群晖docker出现注册表无法访问的解决办法.md
index 47a5edd..d882ba0 100644
--- a/content/zh-cn/posts/群晖docker出现注册表无法访问的解决办法.md
+++ b/content/zh-cn/posts/群晖docker出现注册表无法访问的解决办法.md
@@ -1,11 +1,12 @@
---
title: "群晖docker出现注册表无法访问的解决办法"
-slug: "349"
+slug: "Solution-for-Synology-Docker-Registry-Access-Issue"
date: 2023-06-06T01:25:00.000Z
categories:
- 分享
tags:
- 群晖
+- docker
---
## 问题出现
diff --git a/content/zh-cn/posts/迷思.md b/content/zh-cn/posts/迷思.md
index 48d0777..39cb167 100644
--- a/content/zh-cn/posts/迷思.md
+++ b/content/zh-cn/posts/迷思.md
@@ -1,6 +1,6 @@
---
title: "迷思"
-slug: "迷思"
+slug: "myth"
date: 2023-07-04T01:19:00.000Z
categories:
- 日记