Skip to content

Commit

Permalink
📖 更新订阅界面,化繁为简
Browse files Browse the repository at this point in the history
  • Loading branch information
CCKNBC committed Oct 17, 2021
1 parent 08debee commit 43334bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 44 deletions.
44 changes: 1 addition & 43 deletions source/sub/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,48 +10,6 @@ updated: 2021-07-18 19:38:19
---
{% note success %} **以下方式均支持随时取消订阅,偏好可随时更改** {% endnote %}

- 邮件订阅:在下表中填入您的电子邮件(或其他相关信息),点击订阅,按照邮件内容点击确认订阅链接即可
<!-- Begin Mailchimp Signup Form -->
<script src="https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/gh/ccknbc-backup/cdn/css/mailchimp.css" rel="stylesheet" type="text/css">
<div id="mc_embed_signup">
<form action="https://ccknbc.us2.list-manage.com/subscribe/post?u=a0aadd04e3d48349de29068f8&amp;id=7518e18fcd" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<div class="indicates-required"><span class="asterisk">*</span> 为必填项</div>
<div class="mc-field-group">
<label for="mce-EMAIL">电子邮件地址 <span class="asterisk">*</span>
</label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
</div>
<div class="mc-field-group">
<label for="mce-FNAME">您的名字 </label>
<input type="text" value="" name="FNAME" class="" id="mce-FNAME">
</div>
<div class="mc-field-group">
<label for="mce-LNAME">您的姓氏 </label>
<input type="text" value="" name="LNAME" class="" id="mce-LNAME">
</div>
<div class="mc-field-group size1of2">
<label for="mce-BIRTHDAY-month">您的生日(用于生日邮件问候) </label>
<div class="datefield">
<span class="subfield monthfield"><input class="birthday " type="text" pattern="[0-9]*" value="" placeholder="MM" size="2" maxlength="2" name="BIRTHDAY[month]" id="mce-BIRTHDAY-month"></span> /
<span class="subfield dayfield"><input class="birthday " type="text" pattern="[0-9]*" value="" placeholder="DD" size="2" maxlength="2" name="BIRTHDAY[day]" id="mce-BIRTHDAY-day"></span>
<span class="small-meta nowrap">( 月 / 日 )</span>
</div>
</div>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_a0aadd04e3d48349de29068f8_7518e18fcd" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="订阅" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</div>
</form>
</div>
<script defer type='text/javascript' src='https://cdn.jsdelivr.net/gh/ccknbc-backup/cdn/js/mailchimp.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='ADDRESS';ftypes[3]='address';fnames[4]='PHONE';ftypes[4]='phone';fnames[5]='BIRTHDAY';ftypes[5]='birthday'; }(jQuery));var $mcj = jQuery.noConflict(true);</script>
<!--End mc_embed_signup-->

- RSS订阅:复制{% btn '/rss.xml',Rss,fas fa-rss,outline orange %}或{% btn '/atom.xml',Atom,fas fa-atom,outline blue %}地址通过邮件或阅读器阅读
- 邮件订阅:点击 {% label 右下角聊天按钮 green %}给CC留言,任意发送一条消息后,出现介绍自己界面时勾选订阅点击发送即可完成订阅
{% btn 'https://us2.campaign-archive.com/home/?u=a0aadd04e3d48349de29068f8&id=7518e18fcd',查看历史文章RSS更新记录(需可正常访问外网),fas fa-history,block right pink smaller %}
- 邮件订阅:前往CC的部落格订阅界面{% btn 'https://rss.ccknbc.cc',CC的部落格订阅界面,fas fa-link,outline green %}订阅,点击 {% label 右下角聊天按钮 green %}给CC留言,任意发送一条消息后,出现介绍自己界面时勾选订阅点击发送即可完成订阅 {% btn 'https://us2.campaign-archive.com/home/?u=a0aadd04e3d48349de29068f8&id=7518e18fcd',查看历史文章完整更新记录,fas fa-history,red smaller %}(需可正常访问外网)

2 changes: 1 addition & 1 deletion themes/butterfly/layout/includes/mixins/post-ui.pug
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ mixin postUI(posts)
i.far.fa-calendar-alt
span.article-meta-label=_p('post.created')
time.post-meta-date-created(datetime=date_xml(article.date) title=_p('post.created') + ' ' + full_date(article.date))=date(article.date, config.date_format)
span.article-meta__separator |
span.article-meta__separator |
i.fas.fa-history
span.article-meta-label=_p('post.updated')
time.post-meta-date-updated(datetime=date_xml(article.updated) title=_p('post.updated') + ' ' + full_date(article.updated))=date(article.updated, config.date_format)
Expand Down

0 comments on commit 43334bc

Please sign in to comment.