Skip to content

Commit 97ebccc

Browse files
committed
Skip fdroid if not valid
1 parent fa403ac commit 97ebccc

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/html-proofer.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,4 @@ jobs:
2727
run: bundle exec jekyll build
2828

2929
- name: Run HTMLProofer
30-
run: bundle exec htmlproofer ./_site \
31-
--allow-hash-href \
32-
--ignore-urls "/f-droid.org/"
30+
run: bundle exec htmlproofer ./_site --allow-hash-href --ignore-urls "/f-droid.org/"

languages.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@
88
<div>
99
<p class="languages-list"><span class="flag-container"><img src="{{ language.icon }}" alt="{{ language.name }} flag" class="language-flag" style="height: 32px; width: auto; vertical-align: middle;"></span> {{ language.name }}
1010

11-
{% if language.github == nil %}
11+
{% if language.github == nil or language.github == "" %}
1212
<img class="no-link-found not-full-icon" src="/images/github.png" width="32px" height="32px"/></a>
1313
{% else %}
1414
<a href="{{ language.github }}"><img class="not-full-icon" src="/images/github.png" alt="{{ language.name }} on github" width="32px" height="32px"/></a>
1515
{% endif %}
1616

17-
{% if language.f-droid == nil %}
17+
{% if language.f-droid == nil or language.f-droid == "" %}
1818
<img class="no-link-found not-full-icon" src="/images/fdroid.png" width="32px" height="32px"/></a>
1919
{% else %}
2020
<a href="{{ language.f-droid }}"><img class="not-full-icon" src="/images/fdroid.png" alt="{{ language.name }} on f-droid" width="32px" height="32px"/></a>
2121
{% endif %}
2222

23-
{% if language.play == nil %}
23+
{% if language.play == ni or language.play == ""l %}
2424
<img class="no-link-found not-full-icon" src="/images/play.png" width="32px" height="32px"/></a>
2525
{% else %}
2626
<a href="{{ language.play }}"><img class="not-full-icon" src="/images/play.png" alt="{{ language.name }} on Google Play Store" width="32px" height="32px"/></a>

0 commit comments

Comments
 (0)