diff --git a/config.yml b/config.yml index 8f3f2ad..332e7f7 100644 --- a/config.yml +++ b/config.yml @@ -95,6 +95,7 @@ jinja_environment: en: 'Every Wednesday from 19:00' web: 'https://odenwilusenz.ch/' contact: {} + spaceapi: https://spaceapi.odenwilusenz.ch/api.json - name: 'Ruum42' address: 'Andreasstrasse 5
9000 St. Gallen' diff --git a/static-src/spaceapi.json b/static-src/spaceapi.json index d0c5ca8..3c0b22a 100644 --- a/static-src/spaceapi.json +++ b/static-src/spaceapi.json @@ -12,7 +12,7 @@ {%- for space in hackerspaces | selectattr('spaceapi') %} { "endpoint": "{{ space.spaceapi }}", - "website": "{{ space.website }}" + "website": "{{ space.web }}" }{% if not loop.last %},{% endif %} {%- endfor %} ]