Permalink
Browse files

style: back to homepage 回到主页

Remove “homepage” in left column.
Users can back to homepage via clicking author and avatar.
去掉左侧主页按钮,想回到主页可点击头像或者下边的名字,PC端移动端操作一致。
  • Loading branch information...
MOxFIVE committed Sep 12, 2015
1 parent f3ff0f7 commit 83f8fb7be7e528bd127f491b349c7f43156abe91
Showing with 3 additions and 3 deletions.
  1. +1 −1 themes/Yilia/_config.yml
  2. +2 −2 themes/Yilia/layout/_partial/mobile-nav.ejs
View
@@ -1,6 +1,6 @@
# Header
menu:
主页: /
#主页: /
所有文章: /archives
关于我:
#标签: /tags
@@ -1,15 +1,15 @@
<nav id="mobile-nav">
<div class="overlay">
<div class="slider-trigger"></div>
<h1 class="header-author js-mobile-header hide"><%=theme.author%></h1>
<h1 class="header-author js-mobile-header hide"><a href="/" title="回到主页"><%=theme.author%></a></h1>
</div>
<div class="intrude-less">
<header id="header" class="inner">
<a href="/" class="profilepic">
<img lazy-src="<%=theme.avatar%>" class="js-avatar">
</a>
<hgroup>
<h1 class="header-author"><%=theme.author%></h1>
<h1 class="header-author"><a href="/" title="回到主页"><%=theme.author%></a></h1>
</hgroup>
<% if (theme.subtitle){ %>
<p class="header-subtitle"><%=theme.subtitle%></p>

0 comments on commit 83f8fb7

Please sign in to comment.