From f2a77ec1b66c462287a6dfb0dcfaad07317f2e71 Mon Sep 17 00:00:00 2001 From: s3lph Date: Thu, 2 Jan 2025 20:51:13 +0100 Subject: [PATCH] fix: spaceapi v15 compliance --- config.yml | 1 + static-src/spaceapi.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 %} ]