Skip to content

Commit

Permalink
add telegram
Browse files Browse the repository at this point in the history
  • Loading branch information
kutear committed May 21, 2021
1 parent 5173fd4 commit e2c254e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ theme: jekyll-theme-cayman
title: 不止日报
description: 小巧而丰富的阅读平台,聚合热门资讯平台消息,给你更加便捷的摸鱼体验。
show_downloads: true
show_telegram: true

github:
apk_url: https://raw.githubusercontent.com/kutear/app-daily/gh-pages/bin/app-daily.apk
telegram_url: https://t.me/joinchat/SKTC4oT3lisFSyXu
is_project_page: false
5 changes: 3 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ <h2 class="project-tagline">{{ page.description | default: site.description | de
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
{% endif %}
{% if site.show_downloads %}

<a href="{{ site.github.apk_url }}" class="btn">下载应用</a>

{% endif %}
{% if site.show_telegram %}
<a href="{{ site.github.telegram_url }}" class="btn">Telegram</a>
{% endif %}
</header>

Expand Down

0 comments on commit e2c254e

Please sign in to comment.