博客园添加个人Github链接

最近在给自己的博客做美化,所以特地将美化的过程记录下来以帮助更多的人。

Github链接有以下两种样式。

GitHub Ribbons

Github Ribbons的官网:https://github.blog/2008-12-19-github-ribbons/

官网上有左右6种颜色,选择自己喜欢的,然后Copy左侧的代码。

这里我选择的左侧红色,将如下代码放到页首 HTML 代码中就可以了,当然不要忘记将src中的链接改成自己的哦。

<a href="https://github.com/you"><img width="149" height="149" 
src
="https://github.blog/wp-content/uploads/2008/12/forkme_left_red_aa0000.png?resize=149%2C149"
class
="attachment-full size-full" alt="Fork me on GitHub" data-recalc-dims="1"></a>

 

GitHub Corners

Github Corners的官网:http://tholman.com/github-corners/

方法和第一种一样。

原文地址:https://www.cnblogs.com/DerekDeng/p/12181578.html