Skip to content

Commit

Permalink
v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
xugaoyi committed May 29, 2020
1 parent e668603 commit 9bc5ffc
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ module.exports = {
// moreArticle: '/archives' // “更多文章”跳转的页面,默认'/archives'
// },

author: { // 文章默认的作者信息,可在md文件中单独配置此信息 String | {name: String, href: String}
author: { // 文章默认的作者信息,可在md文件中单独配置此信息 String | {name: String, link: String}
name: 'Evan Xu', // 必需
href: 'https://github.com/xugaoyi' // 可选的
link: 'https://github.com/xugaoyi' // 可选的
},
blogger:{ // 博主信息,显示在首页侧边栏
avatar: 'https://cdn.jsdelivr.net/gh/xugaoyi/image_store/blog/20200103123203.jpg',
Expand Down
33 changes: 12 additions & 21 deletions docs/04.更多/99.友情链接.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,17 @@ article: false
sidebar: false
---

以下是卡片容器测试

## 普通卡片列表
<!--
普通卡片列表容器,可用于友情链接、项目推荐、古诗词展示等。
cardList 后面可跟随一个数字表示每行最多显示多少个,选值范围1~4,默认3。在小屏时会根据屏幕宽度减少每行显示数量。
-->
::: cardList 2
::: cardList
```yaml
- name: 麋鹿鲁哟
desc: 大道至简,知易行难
avatar: https://cdn.jsdelivr.net/gh/xugaoyi/image_store/blog/20200122153807.jpg # 可选
link: https://www.cnblogs.com/miluluyo/ # 可选
bgColor: '#C1E5FA' # 可选,默认var(--bodyBg)。颜色值有#号时请添加单引号
bgColor: '#CBEAFA' # 可选,默认var(--bodyBg)。颜色值有#号时请添加单引号
textColor: '#6854A1' # 可选,默认var(--textColor)
- name: XAOXUU
desc: '#IOS #Volantis主题作者'
Expand All @@ -31,31 +28,31 @@ cardList 后面可跟随一个数字表示每行最多显示多少个,选值
desc: 荷尽已无擎雨盖,菊残犹有傲霜枝
avatar: https://zpj80231.gitee.io/znote/vuepress/head-fish.jpg
link: https://zpj80231.gitee.io/znote/
bgColor: '#FCE0B4'
bgColor: '#FCE5BF'
textColor: '#7B2532'
- name: 平凡的你我
desc: 理想成为大牛的小陈同学
avatar: https://reinness.com/avatar.png
link: https://reinness.com
bgColor: '#FCD183'
bgColor: '#FCDBA0'
textColor: '#A05F2C'
```
:::
## 图文卡片列表
<!-- ## 图文卡片列表 -->
<!--
卡片图片列表,可用于项目展示、产品展示等。
cardImgList 后面可跟随一个数字表示每行最多显示多少个,选值范围1~4,默认3。在小屏时会根据屏幕宽度减少每行显示数量。
-->
::: cardImgList
<!-- ::: cardImgList
```yaml
- img: https://assets.awwwards.com/awards/media/cache/thumb_834_598/external/2020/05/5ebd082bb77bf137658772.jpg
link: https://www.spotify.com/int/why-not-available/
name: 图文标题
# desc: 图文描述内容图文描述内容图文描述内容图文描述内容图文描述内容 # 描述,可选
# author: Evan Xu # 作者,可选
# avatar: https://cdn.jsdelivr.net/gh/xugaoyi/image_store/blog/20200103123203.jpg # 头像,可选
desc: 图文描述内容图文描述内容图文描述内容图文描述内容图文描述内容 # 描述,可选
author: Evan Xu # 作者,可选
avatar: https://cdn.jsdelivr.net/gh/xugaoyi/image_store/blog/20200103123203.jpg # 头像,可选
- img: https://assets.awwwards.com/awards/images/2020/05/Somt_may-2020-powerhouse_thumbc.jpg
link: https://www.spotify.com/int/why-not-available/
name: 图文标题
Expand Down Expand Up @@ -88,19 +85,13 @@ cardImgList 后面可跟随一个数字表示每行最多显示多少个,选
avatar: https://cdn.jsdelivr.net/gh/xugaoyi/image_store/blog/20200103123203.jpg # 头像,可选

```
:::






::: -->



### 友链申请

与我[ 联系 ](/about/#联系)或者 在本页面评论区留言您的友链信息,格式:
与我[ 联系 ](/about/#联系)或者 在本页面评论区留言您的友链信息,格式:(点击代码块右上角一键复制)


```yaml
Expand All @@ -110,4 +101,4 @@ cardImgList 后面可跟随一个数字表示每行最多显示多少个,选
link: https://xugaoyi.com/ # 链接
```
申请前记得先添加本站哦 ↑(^∀^●)ノ↑~
申请前记得先添加本站哦~
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"vuepress-plugin-one-click-copy": "^1.0.2",
"vuepress-plugin-thirdparty-search": "^1.0.2",
"vuepress-plugin-zooming": "^1.1.7",
"vuepress-theme-vdoing": "^1.1.0",
"vuepress-theme-vdoing": "^1.1.1",
"yamljs": "^0.3.0"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion theme-vdoing/components/ArticleInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</ul>
<div class="info">
<div class="author iconfont icon-touxiang" title="作者" v-if="articleInfo.author">
<a :href="articleInfo.author.href" v-if="articleInfo.author.href" target="_blank" class="beLink" title="作者">{{articleInfo.author.name}}</a>
<a :href="articleInfo.author.href || articleInfo.author.link" v-if="articleInfo.author.href || articleInfo.author.link" target="_blank" class="beLink" title="作者">{{articleInfo.author.name}}</a>
<a v-else href="javascript:;">{{articleInfo.author.name || articleInfo.author}}</a>
</div>
<div class="date iconfont icon-riqi" title="创建时间" v-if="articleInfo.date">
Expand Down
2 changes: 1 addition & 1 deletion theme-vdoing/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vuepress-theme-vdoing",
"version": "1.1.0",
"version": "1.1.1",
"description": "Vdoing theme for VuePress. 一个基于VuePress的知识管理兼博客主题。",
"author": {
"name": "gaoyi(Evan) Xu"
Expand Down
2 changes: 2 additions & 0 deletions theme-vdoing/styles/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ body .search-box
background-color transparent
color var(--textColor)
border 1px solid var(--borderColor, #ccc)
@media (max-width: $MQNarrow)
border-color transparent



Expand Down
9 changes: 8 additions & 1 deletion theme-vdoing/styles/markdown-container.styl
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,14 @@
.card-item.row-4
width calc(100%/4 - 1rem)


.theme-mode-dark
.cardImgListContainer
.card-list
.card-item
border-color: var(--borderColor)
.box-footer
border-color: var(--borderColor)

// 卡片列表的响应
@media (max-width: 900px)
.cardListContainer
Expand Down

0 comments on commit 9bc5ffc

Please sign in to comment.