From 3a3556884d989b5c87747dad949a61e63da40b0d Mon Sep 17 00:00:00 2001 From: Clemence Kyara Date: Thu, 22 Aug 2024 14:01:38 +0300 Subject: [PATCH 1/2] Return analytics in page --- apps/civicsignalblog/src/lib/data/common/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/civicsignalblog/src/lib/data/common/index.js b/apps/civicsignalblog/src/lib/data/common/index.js index c3881f677..8c9474bc5 100644 --- a/apps/civicsignalblog/src/lib/data/common/index.js +++ b/apps/civicsignalblog/src/lib/data/common/index.js @@ -185,11 +185,13 @@ export async function getPageProps(api, context) { } const blocks = await blockify(page?.blocks, api, context); const siteSettings = await api.findGlobal("settings-site"); + const { analytics } = siteSettings; const navbar = getNavBar(siteSettings); const footer = getFooter(siteSettings); const seo = getPageSeoFromMeta(page, siteSettings); return { + analytics, blocks, footer, navbar, From c861cd6922b42f849952082a5d3f156d5ef6d89f Mon Sep 17 00:00:00 2001 From: Clemence Kyara Date: Thu, 22 Aug 2024 14:03:37 +0300 Subject: [PATCH 2/2] =?UTF-8?q?Bump=20civicsignalblog=20version:=200.1.11?= =?UTF-8?q?=20=E2=86=92=20=200.1.12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/civicsignalblog/contrib/dokku/Dockerfile | 2 +- apps/civicsignalblog/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/civicsignalblog/contrib/dokku/Dockerfile b/apps/civicsignalblog/contrib/dokku/Dockerfile index 0d6e633d6..e880e9b0a 100644 --- a/apps/civicsignalblog/contrib/dokku/Dockerfile +++ b/apps/civicsignalblog/contrib/dokku/Dockerfile @@ -1 +1 @@ -FROM codeforafrica/codeforafrica-ui:0.1.11 +FROM codeforafrica/codeforafrica-ui:0.1.12 diff --git a/apps/civicsignalblog/package.json b/apps/civicsignalblog/package.json index 337eb8caa..7dd9de323 100644 --- a/apps/civicsignalblog/package.json +++ b/apps/civicsignalblog/package.json @@ -1,6 +1,6 @@ { "name": "civicsignalblog", - "version": "0.1.11", + "version": "0.1.12", "private": true, "author": "Code for Africa ", "description": "This is the (temporary) CivicSignal blog",