修改头像地址

This commit is contained in:
结发受长生 2019-04-17 09:00:40 +08:00
parent e3b4af45ce
commit 131c867c89
2 changed files with 3 additions and 8 deletions

View File

@ -33,11 +33,6 @@ subnav:
rss: /atom.xml
# 是否需要修改 root 路径
# 如果您的网站存放在子目录中,例如 http://yoursite.com/blog
# 请将您的 url 设为 http://yoursite.com/blog 并把 root 设为 /blog/。
root: /
# Content
# 是否在新窗口打开链接
@ -70,7 +65,7 @@ google_analytics: ''
favicon: /favicon.ico
#你的头像url
avatar: https://i.loli.net/2018/05/04/5aeb37415a0dc.jpg
avatar: https://blog-cdn.nos-eastchina1.126.net/resources/avatar.jpg
#是否开启分享
share_jia: true

View File

@ -2,11 +2,11 @@
<div class="overlay" style="background: <%= theme.style && theme.style.header ? theme.style.header : defaultBg %>"></div>
<div class="intrude-less">
<header id="header" class="inner">
<a href="<%=theme.root%>" class="profilepic">
<a href="<%=config.root%>" class="profilepic">
<img src="<%=theme.avatar%>" class="js-avatar">
</a>
<hgroup>
<h1 class="header-author"><a href="<%=theme.root%>"><%=theme.author%></a></h1>
<h1 class="header-author"><a href="<%=config.root%>"><%=theme.author%></a></h1>
</hgroup>
<% if (theme.subtitle){ %>
<p class="header-subtitle"><%=theme.subtitle%></p>