Skip to content

Commit

Permalink
Merge pull request #103 from cubesky/master
Browse files Browse the repository at this point in the history
Improve the way of openning a new windows from SNS by halyul
  • Loading branch information
cubesky authored Jan 5, 2017
2 parents b075b38 + 9d28b53 commit 1d9a525
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions layout/_partial/footer-left.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,71 +2,71 @@
<!-- Twitter -->
<% if(theme.sns.twitter == undefined){ %>
<% } else{ %>
<a href="<%= theme.sns.twitter %>" target="view_window"><button class="mdl-mini-footer--social-btn social-btn" style="background-image: url(<%= theme.img.footerico %>twitter.png);">
<a href="<%= theme.sns.twitter %>" target="_blank"><button class="mdl-mini-footer--social-btn social-btn" style="background-image: url(<%= theme.img.footerico %>twitter.png);">
<span class="visuallyhidden">Twitter</span>
</button></a>
<% } %>

<!-- Facebook -->
<% if(theme.sns.facebook == undefined){ %>
<% }else{ %>
<a href="<%= theme.sns.facebook %>" target="view_window"><button class="mdl-mini-footer--social-btn social-btn" style="background-image: url(<%= theme.img.footerico %>facebook.png);">
<a href="<%= theme.sns.facebook %>" target="_blank"><button class="mdl-mini-footer--social-btn social-btn" style="background-image: url(<%= theme.img.footerico %>facebook.png);">
<span class="visuallyhidden">Facebook</span>
</button></a>
<% } %>

<!-- Google + -->
<% if(theme.sns.googleplus == undefined){ %>
<% }else{ %>
<a href="<%= theme.sns.googleplus %>" target="view_window"><button class="mdl-mini-footer--social-btn social-btn" style="background-image: url(<%= theme.img.footerico %>gplus.png);">
<a href="<%= theme.sns.googleplus %>" target="_blank"><button class="mdl-mini-footer--social-btn social-btn" style="background-image: url(<%= theme.img.footerico %>gplus.png);">
<span class="visuallyhidden">Google Plus</span>
</button></a>
<% } %>

<!-- Weibo -->
<% if(theme.sns.weibo == undefined){ %>
<% }else{ %>
<a href="<%= theme.sns.weibo %>" target="view_window"><button class="mdl-mini-footer--social-btn social-btn" style="background-image: url(<%= theme.img.footerico %>weibo.png);">
<a href="<%= theme.sns.weibo %>" target="_blank"><button class="mdl-mini-footer--social-btn social-btn" style="background-image: url(<%= theme.img.footerico %>weibo.png);">
<span class="visuallyhidden">Weibo</span>
</button></a>
<% } %>

<!-- Instagram -->
<% if(theme.sns.instagram == undefined){ %>
<% }else{ %>
<a href="<%= theme.sns.instagram %>" target="view_window"><button class="mdl-mini-footer--social-btn social-btn" style="background-image: url(<%= theme.img.footerico %>instagram.png);">
<a href="<%= theme.sns.instagram %>" target="_blank"><button class="mdl-mini-footer--social-btn social-btn" style="background-image: url(<%= theme.img.footerico %>instagram.png);">
<span class="visuallyhidden">Instagram</span>
</button></a>
<% } %>

<!-- Tumblr -->
<% if(theme.sns.tumblr == undefined){ %>
<% }else{ %>
<a href="<%= theme.sns.tumblr %>" target="view_window"><button class="mdl-mini-footer--social-btn social-btn" style="background-image: url(<%= theme.img.footerico %>tumblr.png);">
<a href="<%= theme.sns.tumblr %>" target="_blank"><button class="mdl-mini-footer--social-btn social-btn" style="background-image: url(<%= theme.img.footerico %>tumblr.png);">
<span class="visuallyhidden">Tumblr</span>
</button></a>
<% } %>

<!-- Github -->
<% if(theme.sns.github == undefined){ %>
<% }else{ %>
<a href="<%= theme.sns.github %>" target="view_window"><button class="mdl-mini-footer--social-btn social-btn" style="background-image: url(<%= theme.img.footerico %>github.png);">
<a href="<%= theme.sns.github %>" target="_blank"><button class="mdl-mini-footer--social-btn social-btn" style="background-image: url(<%= theme.img.footerico %>github.png);">
<span class="visuallyhidden">Github</span>
</button></a>
<% } %>

<!-- LinkedIn -->
<% if(theme.sns.linkedin == undefined){ %>
<% }else{ %>
<a href="<%= theme.sns.linkedin %>" target="view_window"><button class="mdl-mini-footer--social-btn social-btn" style="background-image: url(<%= theme.img.footerico %>linkedin.png);">
<a href="<%= theme.sns.linkedin %>" target="_blank"><button class="mdl-mini-footer--social-btn social-btn" style="background-image: url(<%= theme.img.footerico %>linkedin.png);">
<span class="visuallyhidden">LinkedIn</span>
</button></a>
<% } %>

<!-- Zhihu -->
<% if(theme.sns.zhihu == undefined){ %>
<% }else{ %>
<a href="<%= theme.sns.zhihu %>" target="view_window"><button class="mdl-mini-footer--social-btn social-btn" style="background-image: url(<%= theme.img.footerico %>zhihu.png);">
<a href="<%= theme.sns.zhihu %>" target="_blank"><button class="mdl-mini-footer--social-btn social-btn" style="background-image: url(<%= theme.img.footerico %>zhihu.png);">
<span class="visuallyhidden">Zhihu</span>
</button></a>
<% } %>
Expand Down

0 comments on commit 1d9a525

Please sign in to comment.