Skip to content

Commit f91c286

Browse files
committed
v1.3.3
1 parent 1452e38 commit f91c286

6 files changed

Lines changed: 41 additions & 5 deletions

File tree

README.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ npm run dev # or yarn dev
5959
如果你觉得这个项目对你有帮助,可以给作者打赏一杯咖啡☕ ,前往 [赞赏](https://xugaoyi.github.io/vuepress-theme-vdoing-doc/pages/1b12ed/)
6060

6161
## 致谢
62-
感谢为这个项目贡献过代码的朋友们 → [PR](https://github.com/xugaoyi/vuepress-theme-vdoing/pulls?q=is%3Apr+is%3Aclosed)
62+
感谢为这个项目贡献过代码的朋友们 → [Contributors](https://github.com/xugaoyi/vuepress-theme-vdoing/graphs/contributors)
6363

6464
## 许可证
6565
[MIT](https://github.com/xugaoyi/vuepress-theme-vdoing/blob/master/LICENSE)

docs/.vuepress/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ module.exports = {
1515
lineNumbers: true // 代码行号
1616
},
1717

18-
theme: 'vdoing', // 使用依赖包主题
19-
// theme: require.resolve('../../theme-vdoing'), // 使用本地主题
18+
// theme: 'vdoing', // 使用依赖包主题
19+
theme: require.resolve('../../theme-vdoing'), // 使用本地主题
2020

2121
themeConfig: { // 主题配置
2222
nav,
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: 拥抱生活,拥抱快乐
3+
date: 2020-06-26 20:40:38
4+
permalink: /pages/cd8bde/
5+
sidebar: auto
6+
categories:
7+
- 随笔
8+
tags:
9+
- 鸡汤
10+
---
11+
12+
生活在后现代的今天,很多人都有一种虚无感,认为人生没有意义。但是,人生不可能没有意义,因为当你认为没有意义的时候,一定有一个与之相对应的概念叫有意义。
13+
14+
<!-- more -->
15+
16+
当你怀疑人生没有意义时,难道怀疑本身不值得怀疑吗?
17+
18+
不要任由你内心的虚无感蔓延,我们需要去拥抱真实的生活。
19+
20+
所有真实的快乐,都离不开艰辛的努力,无论是金榜题名的快乐,还是事业成功的喜悦,甚至包括洞房花烛的激动。所有真实的快乐,都需要长久的铺垫与努力,没有辛勤的汗水,快乐也就不再真实。
21+
22+
如果快乐触手可及,这种廉价的快乐也就不值得珍惜,随时都可能抛弃。因此,对于年轻人而言,一个重要的功课就是学会去节制欲望。
23+
24+
所有通过捷径所带来的快乐,都是廉价的,以至于所有追求都变得毫无意义,人生就了无生趣。我们需要在每天真实的努力中去拥抱生活,追寻真实的快乐。
25+
26+
::: center
27+
![](https://cdn.jsdelivr.net/gh/xugaoyi/image_store/blog/20200626212238.webp)
28+
:::

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"vuepress-plugin-one-click-copy": "^1.0.2",
2222
"vuepress-plugin-thirdparty-search": "^1.0.2",
2323
"vuepress-plugin-zooming": "^1.1.7",
24-
"vuepress-theme-vdoing": "^1.3.2",
24+
"vuepress-theme-vdoing": "^1.3.3",
2525
"yamljs": "^0.3.0"
2626
},
2727
"dependencies": {

theme-vdoing/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,14 @@ module.exports = (options, ctx) => {
116116
'/en/': 'DETAILS'
117117
}
118118
}],
119+
120+
// 内容居中容器
121+
['container', {
122+
type: 'center',
123+
before: info => `<div align="center" style="text-align: center;">`,
124+
after: () => '</div>'
125+
}],
126+
119127
// 卡片列表
120128
[
121129
'container',

theme-vdoing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vuepress-theme-vdoing",
3-
"version": "1.3.2",
3+
"version": "1.3.3",
44
"description": "Vdoing theme for VuePress. 一个基于VuePress的知识管理兼博客主题。",
55
"author": {
66
"name": "gaoyi(Evan) Xu"

0 commit comments

Comments
 (0)