File tree 2 files changed +14
-10
lines changed
themes/vocabulary_theme/templates
2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,13 @@ <h4 class="card-title b-header"><a href="{{ repo.url }}">{{ repo.english_name }}
32
32
< i class ="icon github "> </ i >
33
33
< span class ="link-content "> Github Repository</ span >
34
34
</ a >
35
- < br >
36
- < a class ="button is-text tiny " href ="https://creativecommons.slack.com/channels/{{ repo.slack }} ">
37
- < i class ="icon slack "> </ i >
38
- < span class ="link-content "> Slack channel (#{{ repo.slack }})</ span >
39
- </ a >
35
+ {% if repo.slack %}
36
+ < br >
37
+ < a class ="button is-text tiny " href ="https://creativecommons.slack.com/channels/{{ repo.slack }} ">
38
+ < i class ="icon slack "> </ i >
39
+ < span class ="link-content "> Slack channel (#{{ repo.slack }})</ span >
40
+ </ a >
41
+ {% endif %}
40
42
</ div >
41
43
</ div >
42
44
</ article >
Original file line number Diff line number Diff line change @@ -38,11 +38,13 @@ <h4 class="card-title b-header"><a href="{{ repo.url }}">{{ repo.english_name }}
38
38
< i class ="icon github "> </ i >
39
39
< span class ="link-content "> Github Repository</ span >
40
40
</ a >
41
- < br >
42
- < a class ="button is-text tiny " href ="https://creativecommons.slack.com/channels/{{ repo.slack }} ">
43
- < i class ="icon slack "> </ i >
44
- < span class ="link-content "> Slack channel (#{{ repo.slack }})</ span >
45
- </ a >
41
+ {% if repo.slack %}
42
+ < br >
43
+ < a class ="button is-text tiny " href ="https://creativecommons.slack.com/channels/{{ repo.slack }} ">
44
+ < i class ="icon slack "> </ i >
45
+ < span class ="link-content "> Slack channel (#{{ repo.slack }})</ span >
46
+ </ a >
47
+ {% endif %}
46
48
</ div >
47
49
</ div >
48
50
</ article >
You can’t perform that action at this time.
0 commit comments