From c97e1c6f8cbdfcc37c2c4a10107216281c247773 Mon Sep 17 00:00:00 2001 From: Ben Rexin Date: Thu, 31 Oct 2019 23:55:17 +0100 Subject: [PATCH 1/2] feat: show links only when necessary --- wir/index.html | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/wir/index.html b/wir/index.html index 63a16850..0f6b883f 100644 --- a/wir/index.html +++ b/wir/index.html @@ -34,19 +34,24 @@

{{ member.name }}

{{ member.bio }}

-

- - {{ member.email }} - -
- - {{ member.twitter }} +

+ {% if member.email == true %} + {{ member.email }} + {% endif %} + +
+ + {% if member.twitter == true %} + {{ member.twitter }} + {% endif %}

{% for url in member.urls %} + {% if url == true %} {{ url }}
+ {% endif %} {% endfor %}

From 7117d38191ed24a58bb51ae9056869b13603ce7a Mon Sep 17 00:00:00 2001 From: Ben Rexin Date: Sun, 3 Nov 2019 09:43:49 +0100 Subject: [PATCH 2/2] fix: create directory recursive to prevent failures with existing directories --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f1999b62..64d6a076 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ env: - PATH=$HOME/bin:$PATH install: # install newer phantomjs, see https://github.com/travis-ci/travis-ci/issues/3225 for discussion - - mkdir $HOME/bin + - mkdir -p $HOME/bin - curl https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 | tar Oxjv phantomjs > $HOME/bin/phantomjs - chmod +x $HOME/bin/phantomjs - scripts/setup