Skip to content

Commit

Permalink
Fix bug in blogroll and author name in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
hijiangtao committed Feb 27, 2016
1 parent d505f64 commit 1bf4c0d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
15 changes: 9 additions & 6 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
menu:
Home: /dark-tech/
Archives: /dark-tech/archives
About: /dark-tech/about
Lab: /dark-tech/lab
About: /about
GuestBook: /guestbook
## You can modify the url to your own personal setting.

Expand All @@ -11,17 +10,21 @@ widgets:
## the search box
- category
## category
- weibo
## your weibo show
- recent_posts
## your recent posts show
- tagcloud
## the tag of your articles with an effect of wordcloud
- weibo
## your weibo show

- blogroll
## friendly link

blogroll:
Google: https://www.google.com/
Github: https://github.com/
hijiangtao: http://hijiangtao.github.io/

excerpt_link: Continue Reading

comment:
Expand All @@ -43,7 +46,7 @@ bottom_link:
github: https://github.com/hijiangtao
twitter:
## e.g. ffff for https://twitter.com/ffff
weibo: http://www.weibo.com/jiangtaotao
weibo: http://weibo.com/hijiangtao
facebook:
## e.g. ffff for https://www.facebook.com/ffff
renren:
Expand All @@ -59,7 +62,7 @@ logo:

## your personal page, could be your github account page, twitter or google plus personal page
## By default its your homepage
personal_site:
personal_site: /

addthis:
enable: true
Expand Down
2 changes: 1 addition & 1 deletion layout/_partial/footer.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="padding">
<div class="alignleft">
<% if (config.author){ %>
Copyright&copy;2013-<%= new Date().getFullYear() %> <a href="http://hijiangtao.github.io/"><%= config.author %></a>
Copyright&copy;2013-<%= new Date().getFullYear() %> <a href=" <%= theme.personal_site %> "><%= config.author %></a>
<% } else { %>
&copy; <%= new Date().getFullYear() %> <%= config.title %>
<% } %>
Expand Down
5 changes: 3 additions & 2 deletions layout/_widget/blogroll.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<div class="widget category">
<h3 class="title">Link</h3>
<ul class="entry">
<li><a href="http://wuchong.me/" title="Jark Blog">Jark's Blog</a></li>
<li><a href="http://myincubator.sinaapp.com/" title="Willzhang's Blog">Willzhang's Blog</a></li>
<% for (var i in theme.blogroll){ %>
<li><a href="<%- theme.blogroll[i] %>"><%= i %></a></li>
<% } %>
</ul>
</div>
2 changes: 1 addition & 1 deletion layout/_widget/weibo.ejs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<iframe width="100%" height="120" class="share_self" frameborder="0" scrolling="no" src="http://widget.weibo.com/weiboshow/index.php?language=&width=0&height=550&fansRow=2&ptype=1&speed=0&skin=10&isTitle=1&noborder=1&isWeibo=0&isFans=0&uid=1679954022&verifier=3a8a960d&dpc=1"></iframe>
<iframe width="100%" height="120" class="share_self" frameborder="0" scrolling="no" src="http://widget.weibo.com/weiboshow/index.php?language=&width=0&height=550&fansRow=2&ptype=1&speed=0&skin=10&isTitle=1&noborder=1&isWeibo=0&isFans=0&uid=5594792135&verifier=676ff25e&dpc=1"></iframe>

0 comments on commit 1bf4c0d

Please sign in to comment.