From 422fef9f0d83ea836c7152401fa46fc596367e99 Mon Sep 17 00:00:00 2001 From: slowe <299787+slowe@users.noreply.github.com> Date: Thu, 14 Nov 2024 14:25:41 +0000 Subject: [PATCH] Fix constituency names in HAR --- _config.ts | 2 +- .../heritage-at-risk/embeds/place-of-worship-2024.njk | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_config.ts b/_config.ts index 5ba65eb..63b6b24 100644 --- a/_config.ts +++ b/_config.ts @@ -8,7 +8,7 @@ import { walkSync } from 'std/fs/mod.ts'; import sitemap from "lume/plugins/sitemap.ts"; // To build a site map // Importing the OI Lume charts and utilities -import oiViz from "https://deno.land/x/oi_lume_viz@v0.15.12/mod.ts"; +import oiViz from "https://deno.land/x/oi_lume_viz@v0.16.3/mod.ts"; import autoDependency from "https://deno.land/x/oi_lume_utils@v0.4.0/processors/auto-dependency.ts"; import csvLoader from "https://deno.land/x/oi_lume_utils@v0.4.0/loaders/csv-loader.ts"; import jsonLoader from "lume/core/loaders/json.ts"; diff --git a/src/themes/society/heritage-at-risk/embeds/place-of-worship-2024.njk b/src/themes/society/heritage-at-risk/embeds/place-of-worship-2024.njk index 13ca2d9..6741402 100644 --- a/src/themes/society/heritage-at-risk/embeds/place-of-worship-2024.njk +++ b/src/themes/society/heritage-at-risk/embeds/place-of-worship-2024.njk @@ -26,7 +26,7 @@ layout: template/embed-national-churches-trust.njk "data": HAR2024, "columns":[{ "name": "filterLabel", - "template": "{{ Constituency }} ({{ MP }}, {{ Party }})" + "template": "{{ PCON24NM }} ({{ MP }}, {{ Party }})" },{ "name": "URL", "template": "https://members.parliament.uk/member/{{ ID }}/contact" @@ -61,7 +61,7 @@ layout: template/embed-national-churches-trust.njk "label": "filterLabel" } }, - "tooltip": "{{ Constituency }}