mirror of https://github.com/jkjoy/hugoblog.git
更改部分slug
This commit is contained in:
parent
a8dad1c5fb
commit
8ed8c537ca
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "微信也出企业版了"
|
title: "微信也出企业版了"
|
||||||
slug: "Note-微信也出企业版了"
|
slug: "wechat-enterprise-version"
|
||||||
date: 2016-12-14T13:20:00.000Z
|
date: 2016-12-14T13:20:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 测试
|
- 测试
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Git在windows下区分大小写"
|
title: "Git在windows下区分大小写"
|
||||||
slug: "Windows-Git在windows下区分大小写"
|
slug: "Windows-Git"
|
||||||
date: 2023-03-21T11:03:00.000Z
|
date: 2023-03-21T11:03:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 分享
|
- 分享
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "精粤X99M-PLUS-D3+rx580黑苹果opencore0.9.0引导"
|
title: "精粤X99M-PLUS-D3+rx580黑苹果opencore0.9.0引导"
|
||||||
slug: "jginyuex99mplusd3hackintosh"
|
slug: "jginyue-x99mplusd3-hackintosh"
|
||||||
date: 2023-04-28T03:56:00.000Z
|
date: 2023-04-28T03:56:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 分享
|
- 分享
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "15级强台风山竹即将登陆广东"
|
title: "15级强台风山竹即将登陆广东"
|
||||||
slug: "life15级强台风山竹即将登陆广东"
|
slug: "shanzhu"
|
||||||
date: 2018-09-15T11:42:00.000Z
|
date: 2018-09-15T11:42:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 日记
|
- 日记
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "一周之始"
|
title: "一周之始"
|
||||||
slug: "life一周之始"
|
slug: "At_the_beginning_of_the_week"
|
||||||
date: 2011-08-08T11:44:00.000Z
|
date: 2011-08-08T11:44:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 日记
|
- 日记
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "关于网恋"
|
title: "关于网恋"
|
||||||
slug: "life关于网恋"
|
slug: "online-dating"
|
||||||
date: 2016-12-23T07:34:00.000Z
|
date: 2016-12-23T07:34:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 日记
|
- 日记
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "十年"
|
title: "十年"
|
||||||
slug: "life十年"
|
slug: "ten-years"
|
||||||
date: 2018-03-17T12:34:00.000Z
|
date: 2018-03-17T12:34:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 日记
|
- 日记
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "压力山大"
|
title: "压力山大"
|
||||||
slug: "life压力山大"
|
slug: "tremendous-pressure"
|
||||||
date: 2016-11-04T10:20:00.000Z
|
date: 2016-11-04T10:20:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 日记
|
- 日记
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "又是拳头"
|
title: "又是拳头"
|
||||||
slug: "life又是拳头"
|
slug: "about_fist"
|
||||||
date: 2016-11-18T04:56:00.000Z
|
date: 2016-11-18T04:56:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 吐槽
|
- 吐槽
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "圣诞节"
|
title: "圣诞节"
|
||||||
slug: "life圣诞节"
|
slug: "Christmas"
|
||||||
date: 2017-12-25T01:52:00.000Z
|
date: 2017-12-25T01:52:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 日记
|
- 日记
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
title: "得之我幸失之我命"
|
title: "得之我幸失之我命"
|
||||||
slug: "life得之我幸失之我命"
|
slug: "If-I-gain-I-am-fortunate-if-I-lose-it-is-my-fate"
|
||||||
date: 2017-12-27T02:51:00.000Z
|
date: 2017-12-27T02:51:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 分享
|
- 日记
|
||||||
tags:
|
tags:
|
||||||
- 日记
|
- 日记
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,13 +1,11 @@
|
||||||
---
|
---
|
||||||
title: "我的梦想"
|
title: "我的梦想"
|
||||||
slug: "life我的梦想"
|
slug: "my-dream"
|
||||||
date: 2011-09-05T11:38:00.000Z
|
date: 2011-09-05T11:38:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 分享
|
- 日记
|
||||||
tags:
|
tags:
|
||||||
- 磁力
|
- 梦想
|
||||||
- centos
|
|
||||||
- 下载工具
|
|
||||||
---
|
---
|
||||||
|
|
||||||
我有一个很大的梦想,就是每天都可以睡觉睡到自然醒。
|
我有一个很大的梦想,就是每天都可以睡觉睡到自然醒。
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "现实就是这么现实"
|
title: "现实就是这么现实"
|
||||||
slug: "life现实就是这么现实"
|
slug: "That's-just-how-reality-is"
|
||||||
date: 2011-08-06T09:20:00.000Z
|
date: 2011-08-06T09:20:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 日记
|
- 日记
|
||||||
|
|
|
@ -3,7 +3,7 @@ title: "小绵羊SNH48许杨玉琢"
|
||||||
slug: "small-sheep-snh48-xu-yang-yuzhuo"
|
slug: "small-sheep-snh48-xu-yang-yuzhuo"
|
||||||
date: 2019-01-12T14:37:00.000Z
|
date: 2019-01-12T14:37:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 吐槽
|
- 日记
|
||||||
tags:
|
tags:
|
||||||
- SNH48
|
- SNH48
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "宝塔面板数据库有时候自动停止用计划任务来解决的办法"
|
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
|
date: 2023-05-23T06:59:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 分享
|
- 分享
|
||||||
|
|
|
@ -3,9 +3,9 @@ title: "神雕侠侣其实是一部伦理小说"
|
||||||
slug: "the-goddess-of-god-is-an-ethical-novel"
|
slug: "the-goddess-of-god-is-an-ethical-novel"
|
||||||
date: 2018-04-17T04:10:00.000Z
|
date: 2018-04-17T04:10:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 日记
|
- 吐槽
|
||||||
tags:
|
tags:
|
||||||
- SNH48
|
- 神雕侠侣
|
||||||
---
|
---
|
||||||
|
|
||||||
神雕侠侣是金庸先生最让人耳熟能详的作品
|
神雕侠侣是金庸先生最让人耳熟能详的作品
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "解决Typecho博客全球通用头像Gravatar不显示方法"
|
title: "解决Typecho博客全球通用头像Gravatar不显示方法"
|
||||||
slug: "406"
|
slug: "Typecho-Gravatar-proxy"
|
||||||
date: 2023-12-12T04:49:39.000Z
|
date: 2023-12-12T04:49:39.000Z
|
||||||
categories:
|
categories:
|
||||||
- 分享
|
- 分享
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
---
|
---
|
||||||
title: "让Typecho文章内的超链接在新窗口打开"
|
title: "让Typecho文章内的超链接在新窗口打开"
|
||||||
slug: "10"
|
slug: "Typecho-target_blank"
|
||||||
date: 2017-05-27T12:13:00.000Z
|
date: 2017-05-27T12:13:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 吐槽
|
- 分享
|
||||||
tags:
|
tags:
|
||||||
- 珠海
|
- Typecho
|
||||||
- 测试
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Markdown支持两种形式的链接语法:行内式和参考式两种形式。
|
Markdown支持两种形式的链接语法:行内式和参考式两种形式。
|
||||||
而我们打开所生产的超链接,默认是在本窗口打开的,为了有更好的阅读体验,我们往往希望在新窗口。
|
而我们打开所生产的超链接,默认是在本窗口打开的,为了有更好的阅读体验,我们往往希望在新窗口。
|
||||||
要想让Typecho的文章中链接加上“_blank”,也有很多种方法,比如通过jQuery在网页搜索<a>标签,为其添加新窗口属性。
|
要想让Typecho的文章中链接加上`“_blank”`,也有很多种方法,比如通过jQuery在网页搜索`<a>`标签,为其添加新窗口属性。
|
||||||
下面这种方式是直接修改Typecho程序源码,来实现:
|
下面这种方式是直接修改Typecho程序源码,来实现:
|
||||||
在\var\CommonMark\HtmlRenderer.php 搜索
|
在`\var\CommonMark\HtmlRenderer.php` 搜索
|
||||||
|
|
||||||
|
```
|
||||||
case CommonMark_Element_InlineElement::TYPE_LINK:
|
case CommonMark_Element_InlineElement::TYPE_LINK:
|
||||||
$attrs['href'] = $this->escape($inline->getAttribute('destination'), true);
|
$attrs['href'] = $this->escape($inline->getAttribute('destination'), true);
|
||||||
if ($title = $inline->getAttribute('title')) {
|
if ($title = $inline->getAttribute('title')) {
|
||||||
|
@ -22,7 +22,8 @@ Markdown支持两种形式的链接语法:行内式和参考式两种形式。
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->inTags('a', $attrs, $this->renderInlines($inline->getAttribute('label')));
|
return $this->inTags('a', $attrs, $this->renderInlines($inline->getAttribute('label')));
|
||||||
|
```
|
||||||
在return前加上下面这段代码:
|
在return前加上下面这段代码:
|
||||||
|
```
|
||||||
$attrs['target'] = '_blank'; // 给链接增加_blank属性
|
$attrs['target'] = '_blank'; // 给链接增加_blank属性
|
||||||
|
```
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "为Memos增加twikoo评论"
|
title: "为Memos增加twikoo评论"
|
||||||
|
slug: "memos-twikoo"
|
||||||
date: 2023-06-17T06:42:00.000Z
|
date: 2023-06-17T06:42:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 分享
|
- 分享
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "国内注册ChatGPT的方法"
|
title: "国内注册ChatGPT的方法"
|
||||||
slug: "国内注册ChatGPT的方法"
|
slug: "regediter_chatgpt_china"
|
||||||
date: 2023-04-03T03:28:00.000Z
|
date: 2023-04-03T03:28:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 分享
|
- 分享
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
---
|
---
|
||||||
title: "在fly.io部署Memos并自动备份数据库"
|
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
|
date: 2023-08-15T02:02:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 分享
|
- 分享
|
||||||
tags:
|
tags:
|
||||||
- 部署
|
- 部署
|
||||||
|
- memos
|
||||||
---
|
---
|
||||||
|
|
||||||
## 参考项目
|
## 参考项目
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
title: "巨械师X99M+RX5600XT黑苹果OC0.9.5引导"
|
title: "巨械师X99M+RX5600XT黑苹果OC0.9.5引导"
|
||||||
slug: "562"
|
slug: "Hackintosh-OC-Bootloader-for-X99M"
|
||||||
date: 2023-09-05T13:42:00.000Z
|
date: 2023-09-05T13:42:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 日记
|
- 分享
|
||||||
tags:
|
tags:
|
||||||
- 黑苹果
|
- 黑苹果
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "求婚大作战"
|
title: "求婚大作战"
|
||||||
slug: "21"
|
slug: "The-Great-Proposal-Battle"
|
||||||
date: 2017-06-05T13:57:00.000Z
|
date: 2017-06-05T13:57:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 吐槽
|
- 吐槽
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "深夜食堂"
|
title: "深夜食堂"
|
||||||
slug: "23"
|
slug: "Midnight-Diner"
|
||||||
date: 2017-06-16T12:57:00.000Z
|
date: 2017-06-16T12:57:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 吐槽
|
- 吐槽
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "端午节祝词之争"
|
title: "端午节祝词之争"
|
||||||
slug: "14"
|
slug: "duanwu"
|
||||||
date: 2017-05-31T08:29:29.000Z
|
date: 2017-05-31T08:29:29.000Z
|
||||||
categories:
|
categories:
|
||||||
- 吐槽
|
- 吐槽
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
---
|
---
|
||||||
title: "群晖docker出现注册表无法访问的解决办法"
|
title: "群晖docker出现注册表无法访问的解决办法"
|
||||||
slug: "349"
|
slug: "Solution-for-Synology-Docker-Registry-Access-Issue"
|
||||||
date: 2023-06-06T01:25:00.000Z
|
date: 2023-06-06T01:25:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 分享
|
- 分享
|
||||||
tags:
|
tags:
|
||||||
- 群晖
|
- 群晖
|
||||||
|
- docker
|
||||||
---
|
---
|
||||||
|
|
||||||
## 问题出现
|
## 问题出现
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "迷思"
|
title: "迷思"
|
||||||
slug: "迷思"
|
slug: "myth"
|
||||||
date: 2023-07-04T01:19:00.000Z
|
date: 2023-07-04T01:19:00.000Z
|
||||||
categories:
|
categories:
|
||||||
- 日记
|
- 日记
|
||||||
|
|
Loading…
Reference in New Issue