forked from litten/hexo-theme-yilia
-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace all tab with space. Indent by 4 spaces at a time. 将每个 Tab 制表符替换为四个空格, 这是个人习惯。
- Loading branch information
Showing
18 changed files
with
1,069 additions
and
1,069 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,115 +1,115 @@ | ||
<div class="overlay"></div> | ||
<div class="intrude-less"> | ||
<header id="header" class="inner"> | ||
<a href="/" class="profilepic"> | ||
<% if (theme.animate){ %> | ||
<img lazy-src="<%=theme.avatar%>" class="js-avatar"> | ||
<%}else{%> | ||
<img src="<%=theme.avatar%>" class="js-avatar" style="width: 100%;height: 100%;opacity: 1;"> | ||
<%}%> | ||
</a> | ||
<header id="header" class="inner"> | ||
<a href="/" class="profilepic"> | ||
<% if (theme.animate){ %> | ||
<img lazy-src="<%=theme.avatar%>" class="js-avatar"> | ||
<%}else{%> | ||
<img src="<%=theme.avatar%>" class="js-avatar" style="width: 100%;height: 100%;opacity: 1;"> | ||
<%}%> | ||
</a> | ||
|
||
<hgroup> | ||
<h1 class="header-author"><a href="/"><%=theme.author%></a></h1> | ||
</hgroup> | ||
<hgroup> | ||
<h1 class="header-author"><a href="/"><%=theme.author%></a></h1> | ||
</hgroup> | ||
|
||
<% if (theme.subtitle){ %> | ||
<p class="header-subtitle"><%=theme.subtitle%></p> | ||
<%}%> | ||
<% if (theme.search_box){ %> | ||
<form><input type="text" class="search" placeholder=" Search..."></form> | ||
<%}%> | ||
<% if (theme.subtitle){ %> | ||
<p class="header-subtitle"><%=theme.subtitle%></p> | ||
<%}%> | ||
<% if (theme.search_box){ %> | ||
<form><input type="text" class="search" placeholder=" Search..."></form> | ||
<%}%> | ||
|
||
|
||
<%if(theme.tagcloud){%> | ||
<div id="switch-btn" class="switch-btn"> | ||
<div class="icon"> | ||
<div class="icon-ctn"> | ||
<div class="icon-wrap icon-house" data-idx="0"> | ||
<div class="birdhouse"></div> | ||
<div class="birdhouse_holes"></div> | ||
</div> | ||
<div class="icon-wrap icon-ribbon hide" data-idx="1"> | ||
<div class="ribbon"></div> | ||
</div> | ||
<%if(theme.friends && theme.friends.length != 0){%> | ||
<div class="icon-wrap icon-link hide" data-idx="2"> | ||
<div class="loopback_l"></div> | ||
<div class="loopback_r"></div> | ||
</div> | ||
<%}%> | ||
<%if(theme.aboutme){%> | ||
<div class="icon-wrap icon-me hide" data-idx="3"> | ||
<div class="user"></div> | ||
<div class="shoulder"></div> | ||
</div> | ||
<%}%> | ||
</div> | ||
</div> | ||
<div class="tips-box hide"> | ||
<div class="tips-arrow"></div> | ||
<ul class="tips-inner"> | ||
<li>菜单</li> | ||
<li>标签</li> | ||
<%if(theme.friends && theme.friends.length != 0){%> | ||
<li>友情链接</li> | ||
<%}%> | ||
<%if(theme.aboutme){%> | ||
<li>关于我</li> | ||
<%}%> | ||
</ul> | ||
</div> | ||
</div> | ||
<%}%> | ||
<%if(theme.tagcloud){%> | ||
<div id="switch-btn" class="switch-btn"> | ||
<div class="icon"> | ||
<div class="icon-ctn"> | ||
<div class="icon-wrap icon-house" data-idx="0"> | ||
<div class="birdhouse"></div> | ||
<div class="birdhouse_holes"></div> | ||
</div> | ||
<div class="icon-wrap icon-ribbon hide" data-idx="1"> | ||
<div class="ribbon"></div> | ||
</div> | ||
<%if(theme.friends && theme.friends.length != 0){%> | ||
<div class="icon-wrap icon-link hide" data-idx="2"> | ||
<div class="loopback_l"></div> | ||
<div class="loopback_r"></div> | ||
</div> | ||
<%}%> | ||
<%if(theme.aboutme){%> | ||
<div class="icon-wrap icon-me hide" data-idx="3"> | ||
<div class="user"></div> | ||
<div class="shoulder"></div> | ||
</div> | ||
<%}%> | ||
</div> | ||
</div> | ||
<div class="tips-box hide"> | ||
<div class="tips-arrow"></div> | ||
<ul class="tips-inner"> | ||
<li>菜单</li> | ||
<li>标签</li> | ||
<%if(theme.friends && theme.friends.length != 0){%> | ||
<li>友情链接</li> | ||
<%}%> | ||
<%if(theme.aboutme){%> | ||
<li>关于我</li> | ||
<%}%> | ||
</ul> | ||
</div> | ||
</div> | ||
<%}%> | ||
|
||
<div id="switch-area" class="switch-area"> | ||
<div class="switch-wrap"> | ||
<section class="switch-part switch-part1"> | ||
<nav class="header-menu"> | ||
<ul> | ||
<% for (var i in theme.menu){ %> | ||
<li><a href="<%- url_for(theme.menu[i]) %>"><%= i %></a></li> | ||
<%}%> | ||
</ul> | ||
</nav> | ||
<nav class="header-nav"> | ||
<ul class="social"> | ||
<% for (var i in theme.subnav){ %> | ||
<li id="<%= i %>"><a class="<%= i %>" target="_blank" href="<%- url_for(theme.subnav[i]) %>" title="<%= i %>"></a></li> | ||
<%}%> | ||
</ul> | ||
</nav> | ||
</section> | ||
<%if(theme.tagcloud){%> | ||
<section class="switch-part switch-part2"> | ||
<div class="widget tagcloud" id="js-tagcloud"> | ||
<%- tagcloud() %> | ||
</div> | ||
</section> | ||
<%}%> | ||
<%if(theme.friends && theme.friends.length != 0){%> | ||
<section class="switch-part switch-part3"> | ||
<div id="js-friends"> | ||
<% for (var i in theme.friends){ %> | ||
<a target="_blank" class="main-nav-link switch-friends-link" href="<%- url_for(theme.friends[i]) %>"><%= i %></a> | ||
<% } %> | ||
</div> | ||
</section> | ||
<%}%> | ||
<div id="switch-area" class="switch-area"> | ||
<div class="switch-wrap"> | ||
<section class="switch-part switch-part1"> | ||
<nav class="header-menu"> | ||
<ul> | ||
<% for (var i in theme.menu){ %> | ||
<li><a href="<%- url_for(theme.menu[i]) %>"><%= i %></a></li> | ||
<%}%> | ||
</ul> | ||
</nav> | ||
<nav class="header-nav"> | ||
<ul class="social"> | ||
<% for (var i in theme.subnav){ %> | ||
<li id="<%= i %>"><a class="<%= i %>" target="_blank" href="<%- url_for(theme.subnav[i]) %>" title="<%= i %>"></a></li> | ||
<%}%> | ||
</ul> | ||
</nav> | ||
</section> | ||
<%if(theme.tagcloud){%> | ||
<section class="switch-part switch-part2"> | ||
<div class="widget tagcloud" id="js-tagcloud"> | ||
<%- tagcloud() %> | ||
</div> | ||
</section> | ||
<%}%> | ||
<%if(theme.friends && theme.friends.length != 0){%> | ||
<section class="switch-part switch-part3"> | ||
<div id="js-friends"> | ||
<% for (var i in theme.friends){ %> | ||
<a target="_blank" class="main-nav-link switch-friends-link" href="<%- url_for(theme.friends[i]) %>"><%= i %></a> | ||
<% } %> | ||
</div> | ||
</section> | ||
<%}%> | ||
|
||
<%if(theme.aboutme){%> | ||
<%if(!theme.friends){%> | ||
<section class="switch-part switch-part3"> | ||
<%}else{%> | ||
<section class="switch-part switch-part4"> | ||
<%}%> | ||
<div id="js-aboutme"><%=theme.aboutme%></div> | ||
</section> | ||
<%}%> | ||
</div> | ||
</div> | ||
</header> | ||
<%if(theme.aboutme){%> | ||
<%if(!theme.friends){%> | ||
<section class="switch-part switch-part3"> | ||
<%}else{%> | ||
<section class="switch-part switch-part4"> | ||
<%}%> | ||
<div id="js-aboutme"><%=theme.aboutme%></div> | ||
</section> | ||
<%}%> | ||
</div> | ||
</div> | ||
</header> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
<nav id="mobile-nav"> | ||
<div class="overlay"> | ||
<div class="slider-trigger"></div> | ||
<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"><a href="/" title="回到主页"><%=theme.author%></a></h1> | ||
</hgroup> | ||
<% if (theme.subtitle){ %> | ||
<p class="header-subtitle"><%=theme.subtitle%></p> | ||
<%}%> | ||
<nav class="header-menu"> | ||
<ul> | ||
<% for (var i in theme.menu){ %> | ||
<li><a href="<%- url_for(theme.menu[i]) %>"><%= i %></a></li> | ||
<%}%> | ||
<div class="clearfix"></div> | ||
</ul> | ||
</nav> | ||
<nav class="header-nav"> | ||
<ul class="social"> | ||
<% for (var i in theme.subnav){ %> | ||
<li id="<%= i %>"><a class="<%= i %>" target="_blank" href="<%- url_for(theme.subnav[i]) %>" title="<%= i %>"></a></li> | ||
<%}%> | ||
</ul> | ||
</nav> | ||
</header> | ||
</div> | ||
<div class="overlay"> | ||
<div class="slider-trigger"></div> | ||
<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"><a href="/" title="回到主页"><%=theme.author%></a></h1> | ||
</hgroup> | ||
<% if (theme.subtitle){ %> | ||
<p class="header-subtitle"><%=theme.subtitle%></p> | ||
<%}%> | ||
<nav class="header-menu"> | ||
<ul> | ||
<% for (var i in theme.menu){ %> | ||
<li><a href="<%- url_for(theme.menu[i]) %>"><%= i %></a></li> | ||
<%}%> | ||
<div class="clearfix"></div> | ||
</ul> | ||
</nav> | ||
<nav class="header-nav"> | ||
<ul class="social"> | ||
<% for (var i in theme.subnav){ %> | ||
<li id="<%= i %>"><a class="<%= i %>" target="_blank" href="<%- url_for(theme.subnav[i]) %>" title="<%= i %>"></a></li> | ||
<%}%> | ||
</ul> | ||
</nav> | ||
</header> | ||
</div> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<% if (post.categories && post.categories.length){ %> | ||
<div class="article-category tagcloud"> | ||
<%- list_categories(post.categories, { | ||
show_count: false, | ||
class: 'article-category', | ||
style: 'none', | ||
separator: '' | ||
}) %> | ||
</div> | ||
<div class="article-category tagcloud"> | ||
<%- list_categories(post.categories, { | ||
show_count: false, | ||
class: 'article-category', | ||
style: 'none', | ||
separator: '' | ||
}) %> | ||
</div> | ||
<% } %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<a href="<%- url_for(post.path) %>" class="<%= class_name %>"> | ||
<time datetime="<%= date_xml(post.date) %>" itemprop="datePublished"><%= date(post.date, date_format) %></time> | ||
<time datetime="<%= date_xml(post.date) %>" itemprop="datePublished"><%= date(post.date, date_format) %></time> | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<div class="duoshuo" id="comments"> | ||
<!-- 多说评论框 start --> | ||
<div class="ds-thread" data-thread-key="<%=key%>" data-title="<%=title%>" data-url="<%=url%>"></div> | ||
<!-- 多说评论框 end --> | ||
<!-- 多说公共JS代码 start (一个网页只需插入一次) --> | ||
<script type="text/javascript"> | ||
var duoshuoQuery = {short_name:"<%=theme.duoshuo%>"}; | ||
(function() { | ||
var ds = document.createElement('script'); | ||
ds.type = 'text/javascript';ds.async = true; | ||
ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js'; | ||
ds.charset = 'UTF-8'; | ||
(document.getElementsByTagName('head')[0] | ||
|| document.getElementsByTagName('body')[0]).appendChild(ds); | ||
})(); | ||
</script> | ||
<!-- 多说公共JS代码 end --> | ||
<!-- 多说评论框 start --> | ||
<div class="ds-thread" data-thread-key="<%=key%>" data-title="<%=title%>" data-url="<%=url%>"></div> | ||
<!-- 多说评论框 end --> | ||
<!-- 多说公共JS代码 start (一个网页只需插入一次) --> | ||
<script type="text/javascript"> | ||
var duoshuoQuery = {short_name:"<%=theme.duoshuo%>"}; | ||
(function() { | ||
var ds = document.createElement('script'); | ||
ds.type = 'text/javascript';ds.async = true; | ||
ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js'; | ||
ds.charset = 'UTF-8'; | ||
(document.getElementsByTagName('head')[0] | ||
|| document.getElementsByTagName('body')[0]).appendChild(ds); | ||
})(); | ||
</script> | ||
<!-- 多说公共JS代码 end --> | ||
</div> |
Oops, something went wrong.