From 00b9f1307c2aa4c98510651bdbed014466c1d156 Mon Sep 17 00:00:00 2001 From: TriDiamond Date: Mon, 19 Apr 2021 20:51:16 +0800 Subject: [PATCH] Added author link configuration for default author. (#61) --- _config.yml | 9 +++++---- scripts/lib/helpers/mapper.js | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/_config.yml b/_config.yml index 81cb3b83..bf4e3408 100644 --- a/_config.yml +++ b/_config.yml @@ -9,10 +9,11 @@ #! @docs https://aurora.tridiamond.tech/guide/configuration.html #! --------------------------------------------------------------- site: - subtitle: TriDiamond's Blog - author: 三钻 - nick: TriDiamond - description: 一位正在重塑知识的技术人
@ 公众号:技术银河 + subtitle: Aurora's Blog + author: Aurora + nick: Auroral UI + description: + link: '/' language: en multi_language: true logo: https://img-blog.csdnimg.cn/20210313122054101.png diff --git a/scripts/lib/helpers/mapper.js b/scripts/lib/helpers/mapper.js index a48fbde2..88b9c15e 100644 --- a/scripts/lib/helpers/mapper.js +++ b/scripts/lib/helpers/mapper.js @@ -48,7 +48,7 @@ function authorMapper(author, configs) { slug: 'blog-author', avatar: configs.theme_config.site.avatar || configs.theme_config.site.logo, - link: '', + link: configs.theme_config.site.link || '/', description: configs.theme_config.site.description, socials: configs.theme_config.socials })