From 4d512111dd039be12bb53ee6a7ab0b99caa41b28 Mon Sep 17 00:00:00 2001 From: hobbes7878 Date: Fri, 22 Nov 2024 16:26:45 +0000 Subject: [PATCH] page title from template --- locales/en/content.json | 4 ++-- test/build.test.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/locales/en/content.json b/locales/en/content.json index 3e2d611..f56e5d3 100644 --- a/locales/en/content.json +++ b/locales/en/content.json @@ -6,7 +6,7 @@ "id": "cltmvxt5q0000l908irus4rdd", "name": "🔒 TEMPLATES" }, - "lastSynced": "2024-11-22T11:29:45.315Z", + "lastSynced": "2024-11-22T16:25:28.665Z", "liveEditing": { "preview": { "aml": "https://graphics.thomsonreuters.com/apps/graphics-tools/prod/stories/cltmvzj5m0000lc089jz22aet/preview/story.aml", @@ -23,7 +23,7 @@ "shareDescription": "Page description for social media", "shareImgPath": "images/reuters-graphics.jpg", "shareImgAlt": "Alt text for share image.", - "hed": "Reuters Graphics Interactive", + "hed": "A Reuters Graphics page", "section": "Graphics", "sectionUrl": "https://www.reuters.com/graphics/", "authors": [ diff --git a/test/build.test.ts b/test/build.test.ts index 3b9c410..6f5cc6e 100644 --- a/test/build.test.ts +++ b/test/build.test.ts @@ -60,7 +60,7 @@ describe('GraphicsKit build', () => { const $ = cheerio.load( fs.readFileSync(path.join(DIST, 'index.html'), 'utf-8') ); - expect($('h1').text().trim()).toBe('Reuters Graphics Interactive'); + expect($('h1').text().trim()).toBe('A Reuters Graphics page'); }); it('should build the embed page', () => {