Skip to content

Commit 9be2d5f

Browse files
committed
Add contribute button
1 parent 507d865 commit 9be2d5f

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

src/drawer.html

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,11 @@
3939
<!-- Repository -->
4040
{% if repo_name == "GitHub" and repo_url %}
4141
<ul class="repo">
42-
<li class="repo-download">
43-
{% if config.extra.github and config.extra.github.download_release %}
44-
{% set version = config.extra.version | default("../latest") %}
45-
<a href="{{ repo_url }}/releases/tag/{{ version }}" target="_blank"
46-
title="Download" data-action="download">
47-
<i class="icon icon-download"></i> Download
42+
<li class="repo-contribute">
43+
<a href="{{ repo_url }}#contributing" target="_blank"
44+
title="Contirbute" data-action="contribute">
45+
<i class="icon icon-note"></i> Contibute
4846
</a>
49-
{% else %}
50-
{% set version = config.extra.version | default("master") %}
51-
<a href="{{ repo_url }}/archive/{{ version }}.zip" target="_blank"
52-
title="Download" data-action="download">
53-
<i class="icon icon-download"></i> Download
54-
</a>
55-
{% endif %}
5647
</li>
5748
<li class="repo-stars">
5849
<a href="{{ repo_url }}/stargazers" target="_blank"

0 commit comments

Comments
 (0)