From 34ddee3e401ba86b2909ba98d2d9e9f1272cbf9f Mon Sep 17 00:00:00 2001 From: xMartin Date: Thu, 12 Sep 2019 03:07:16 +0200 Subject: [PATCH] update meetup widgets to API v3 - fixes #263 --- _includes/_scripts.html | 1 + _layouts/city.html | 4 ++-- index.html | 12 +++++++---- scripts/widgets.js | 46 +++++++++++++++++++++++++++-------------- 4 files changed, 41 insertions(+), 22 deletions(-) diff --git a/_includes/_scripts.html b/_includes/_scripts.html index ba9bba3..03c5770 100644 --- a/_includes/_scripts.html +++ b/_includes/_scripts.html @@ -19,6 +19,7 @@ {%comment%} city|jsonify does not work with collections. :( {%endcomment%} "{{meetup}}": { page: {{key | jsonify}}, + isActive: !{{city.is_inactive | jsonify}} }{% unless forloop.last %},{% endunless %} {% endfor %} } diff --git a/_layouts/city.html b/_layouts/city.html index b600c0d..e4b5896 100644 --- a/_layouts/city.html +++ b/_layouts/city.html @@ -127,11 +127,11 @@

You?