Skip to content

Instantly share code, notes, and snippets.

@tlxue
Created April 23, 2012 08:44
Show Gist options
  • Save tlxue/2469630 to your computer and use it in GitHub Desktop.
Save tlxue/2469630 to your computer and use it in GitHub Desktop.
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div style="min-width:600px;margin:0 auto;padding: 39px;font-family:'Helvetica Neue',Helvetica,Arial,Sans-serif;font-size:13px;line-height:22px;background-color:#f5f5f5;" marginheight="0" marginwidth="0">
<table border="0" cellspacing="0" cellpadding="0" width="552" style="border:1px solid #dedede;border-bottom:2px solid #dedede;margin:0 auto;background-color:#ffffff;">
<tbody>
<!-- title -->
<tr>
<td align="center" style="padding:30px 25px 30px;">
<div style="font-size:13px;">
<a style="float:left;color:#bbb;text-decoration:none;border:none;outline:none;" href="{{#ZH_TRACKING_URL}}http://www.zhihu.com{{/ZH_TRACKING_URL}}">去知乎</a>
<span style="float:right;color:#bbb;" >第 {{issue_num}} 期</span>
<div style="font-size:25px;text-indent:3px;">知乎精选</div>
</div>
</td>
</tr>
<!-- editor's pick -->
{{#classes}}
<tr>
<td style="padding:0 25px 25px;">
<div style="margin-bottom: 12px;padding-bottom:11px;">
<span style="border-bottom: 1px solid #dedede; padding-bottom:12px;color:#555;font-size:15px;">{{featured_title}}</span>
</div>
{{#featured_items}}
<!-- start of an item -->
<div style="margin-bottom:10px;border-bottom: 1px dotted #DEDEDE;">
<div style="margin-bottom:3px;">
<a style="font-size:14px;line-height:22px;text-decoration:none;color:#259;border:none;outline:none;" href="{{question_url}}">{{question_name}}</a>
</div>
<div style="margin-bottom:3px;font-size:13px;line-height:22px;">
<span style="float:right;color:#bbb;">{{vote}} 票</span>
<img style="padding: 3px 8px 0 0;float:left;" src="{{author_avatar}}" width=15 height=15 alt="{{author_name}}" />
<a style="text-decoration:none;color:#259;" href="{{author_link}}">{{author_name}}</a><span style="color:#bbb;">{{author_bio}}</span>
</div>
<div style="margin-bottom:10px;">
<a style="word-break: break-all;word-wrap: break-word; font-size:13px;line-height:22px;text-decoration:none;color:#333;display:block;" href="{{{answer_url}}}">{{{answer_preview}}}<span style="display:inline-block;color:#259;">阅读全文</span></a>
</div>
</div>
{{/featured_items}}
<div style="float:right;color:#bbb;font-size:13px;">
来自<a style="border:none;outline:none;color:#bbb;font-size:13px;text-decoration:none;" href="{{class_url}}">{{class_name}}</a>领域
</div>
</td>
</tr>
{{/classes}}
<!-- you might be interested -->
<tr>
<td style="padding:0 25px 25px;">
<div>
<div style="margin-bottom:12px;padding-bottom:11px;">
<span style="border-bottom: 1px solid #dedede; padding-bottom:12px;color:#555;font-size:15px;">你可能感兴趣的内容</span>
</div>
{{#recommendations}}
<!-- start of an item -->
<div style="margin-bottom:10px;border-bottom: 1px dotted #DEDEDE;">
<div style="margin-bottom:3px;">
<a style="font-size:14px;line-height:22px;text-decoration:none;color:#259;border:none;outline:none;" href="{{question_url}}">{{question_name}}</a>
</div>
<div style="margin-bottom:3px;font-size:13px;line-height:22px;">
<span style="float:right;color:#bbb;">{{vote}} 票</span>
<img style="padding: 3px 8px 0 0;float:left;" src="{{author_avatar}}" width=15 height=15 alt="{{author_name}}" />
<a style="text-decoration:none;color:#259;" href="{{author_link}}">{{author_name}}</a><span style="color:#bbb;">{{author_bio}}</span>
</div>
<div style="margin-bottom:10px;">
<a style="word-break: break-all;word-wrap:break-word;font-size:13px;line-height:22px;text-decoration:none;color:#333;display:block;" href="{{{answer_url}}}">{{{answer_preview}}}<span style="display:inline-block;color:#259;">阅读全文</span></a>
</div>
</div>
{{/recommendations}}
</div>
</td>
</tr>
</tbody>
</table>
<div style="text-align:center;padding-top:10px;margin:0 auto;width:500px;color:#aaa;font-size:12px;line-height:20px;">您的邮箱地址是 <a href="mailto:{{ZH_RECIPIENT_EMAIL}}" style="text-decoration:none;border:none;outline:none;color:#aaa!important" target="_blank">{{ZH_RECIPIENT_EMAIL}}</a>,<a href="{{#ZH_TRACKING_URL}}http://www.zhihu.com/settings/email{{/ZH_TRACKING_URL}}" style="color:#aaa;text-decoration:none;">点击这里退订</a><br>知乎 &copy; 2012<img stlye="display:none;" width="0" height="0" src="{{#ZH_TRACKING_URL}}http://static.zhihu.com/stat.gif{{/ZH_TRACKING_URL}}"</div>
</div>
<!-- this is the end of email html code -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment