From 4769b4b3541c5e42d7d69171f3ae734c9810f5a8 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Thu, 27 Dec 2018 01:41:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BB=8A=E6=97=A5=E8=AF=97?= =?UTF-8?q?=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _config.yml | 2 +- layout/_widget/author.ejs | 7 +++++-- source/less/_widget.less | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/_config.yml b/_config.yml index 700e09a..cd90984 100755 --- a/_config.yml +++ b/_config.yml @@ -5,7 +5,7 @@ theme_info: version: 1.0-beta11 docs: https://xaoxuu.com/wiki/material-x/ # 主题的CDN地址,如果你的源码托管到国内CDN可以更改此链接。如需启用CDN,请在主目录的config中设置import,详见文档。 - cdn: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@18.12.34/ + cdn: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@18.12.35/ ########################################################################## # 请务必阅读官方文档!!! # 请务必阅读官方文档!!! diff --git a/layout/_widget/author.ejs b/layout/_widget/author.ejs index c97dae8..ac5aa02 100755 --- a/layout/_widget/author.ejs +++ b/layout/_widget/author.ejs @@ -5,7 +5,7 @@ <%} %> - <% if (item.title || item.body) { %> + <% if (item.title || item.body || item.jinrishici) { %>
<% if (item.title){ %>

<%- item.title %>

@@ -13,6 +13,10 @@ <% if (item.body){ %> <%- markdown(item.body) %> <% } %> + <% if (item.jinrishici){ %> +

<%- config.title %>

+ + <% } %>
<% } %> <% if (item.social == true && config.social) { %> @@ -25,5 +29,4 @@ <% } %> - diff --git a/source/less/_widget.less b/source/less/_widget.less index 10d4107..f990a25 100755 --- a/source/less/_widget.less +++ b/source/less/_widget.less @@ -135,6 +135,7 @@ } p{ font-size: @fontsize_base; + font-weight: bold; text-align: center; margin: @gap/2 @gap/2 0 @gap/2; empty-cells: hide;