Skip to content

Commit 80644a2

Browse files
committed
feat: 添加 Telegram 群组链接
好像线上用的 Font-Awesome 版本没有 Telegram Logo,我就找了一个纸飞机图标( 反正也很像)
1 parent aa8208a commit 80644a2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

_config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ url: "http://cdlug.org" # the base hostname & protocol for your site
1111
twitter_username: cdlug
1212
github_username: cdlug
1313
google_groupname: cdlug_community
14+
telegram_group_slug: cdlug2020
1415

1516
# Build settings
1617
markdown: kramdown

_includes/footer.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
<footer class="site-footer">
2-
<a href="https://github.com/{{ site.github_username }}/{{ site.github_username }}.github.io"><i class="fa fa-github-alt fa-2x"></i></a>
2+
<a href="https://github.com/{{ site.github_username }}/{{ site.github_username }}.github.io"><i
3+
class="fa fa-github-alt fa-2x"></i></a>
34
<a href="mailto:{{ site.email }}"><i class="fa fa-envelope fa-2x"></i></a>
45
<a href="https://twitter.com/{{ site.twitter_username }}"><i class="fa fa-twitter fa-2x"></i></a>
56
<a href="https://groups.google.com/forum/#!forum/{{ site.google_groupname }}"><i class="fa fa-google fa-2x"></i></a>
6-
<a href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}"><i class="fa fa-rss-square fa-2x" aria-hidden="true"></i></a>
7+
<a href="https://t.me/{{ site.telegram_group_slug }}"><i class="fa fa-paper-plane fa-2x"></i></a>
8+
<a href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}"><i class="fa fa-rss-square fa-2x"
9+
aria-hidden="true"></i></a>
710
<div class="inner">
811
<section class="copyright">This theme copyright by <a href="http://scotthsmith.com">Scott Smith</a></section>
912
</div>

0 commit comments

Comments
 (0)