本文继续介绍如何添加follow方式与修改share的方式。
添加mailto的功能
在侧边栏的follow方式中,只留下了github follow。现增加mail to 的follow方式,便于读者使用邮件方式与博主沟通。
follow方式添加mail to邮箱follow方式中也可以添加mail,图标使用fontawesome的fa fa-envelope-o。
fontqwesome的图标可以调整大小和颜色,具体讨论见:
http://stackoverflow.com/questions/12272372/how-to-style-icon-color-size-and-shadow-of-font-awesome-icons
修改 E:\github_projects\hugo-crisp-theme-for-blog\mysite\themes\crisp\layouts\partials\follow.html文件如下:
<div id="follow-icons">
<a