Skip to content
This repository was archived by the owner on Nov 4, 2019. It is now read-only.

Commit ab25291

Browse files
author
bananaapple
committed
mailto href
1 parent 7b9edd9 commit ab25291

File tree

10 files changed

+19
-18
lines changed

10 files changed

+19
-18
lines changed

_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ titlecase: false # Transform title into titlecase
3434
external_link: true # Open external links in new tab
3535
filename_case: 0
3636
render_drafts: false
37-
post_asset_folder: true
37+
post_asset_folder: false
3838
relative_link: false
3939
future: true
4040
highlight:

scaffolds/member.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ email: #
55
github: #
66
tags:
77
---
8+
!()[]

source/member/CuteMonkey.jpg

19.6 KB
Loading

source/member/apple.jpg

-5.67 KB
Binary file not shown.

source/member/banana.jpg

-13 KB
Binary file not shown.

source/member/bananaapple.jpg

109 KB
Loading

source/member/hsiaoyu.jpg

451 KB
Loading

source/member/steven5538.jpg

56.8 KB
Loading
Binary file not shown.

themes/landscape/layout/_partial/member.ejs

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
<article class="article article-type-<%= post.layout %>" itemscope itemprop="blogPost">
22
<% var age=0 %>
33
<% site.posts.sort('age').each(function(post){ %>
4-
<% if (post.label == 'member'){ %>
5-
<% if (post.age != age){
6-
if (age != 0){ %>
7-
<div class="clearfix">
8-
</div>
9-
<% } %>
10-
<% age = post.age
11-
if (age == 104){ %>
12-
<h1>碩一</h1>
13-
<% }
14-
else if (age == 103){ %>
15-
<h1>碩二</h1>
16-
<% }
17-
else { %>
18-
<h1>畢業學長姊</h1>
19-
<% } %>
4+
<% if (post.label == 'member'){
5+
if (post.age != age){
6+
if (age != 0){ %>
7+
<div class="clearfix">
8+
</div>
9+
<% }
10+
age = post.age
11+
if (age == 104){ %>
12+
<h1>碩一</h1>
13+
<% }
14+
else if (age == 103){ %>
15+
<h1>碩二</h1>
16+
<% }
17+
else { %>
18+
<h1>畢業學長姊</h1>
19+
<% } %>
2020
<% } %>
2121
<div class="member">
2222
<div class="member_photo">
@@ -28,7 +28,7 @@
2828
<div class="member_links">
2929
<ul class="list-inline text-center">
3030
<li>
31-
<a href="<%= post.email %>">
31+
<a href="mailto:<%= post.email %>">
3232
<span class="fa-stack fa-lg">
3333
<i class="fa fa-circle fa-stack-2x"></i>
3434
<i class="fa fa-inbox fa-stack-1x fa-inverse"></i>

0 commit comments

Comments
 (0)