diff --git a/apps/civicsignalblog/contrib/dokku/Dockerfile b/apps/civicsignalblog/contrib/dokku/Dockerfile index e880e9b0a..9b020b544 100644 --- a/apps/civicsignalblog/contrib/dokku/Dockerfile +++ b/apps/civicsignalblog/contrib/dokku/Dockerfile @@ -1 +1 @@ -FROM codeforafrica/codeforafrica-ui:0.1.12 +FROM codeforafrica/codeforafrica-ui:0.1.13 diff --git a/apps/civicsignalblog/package.json b/apps/civicsignalblog/package.json index 7dd9de323..8bdf27e5f 100644 --- a/apps/civicsignalblog/package.json +++ b/apps/civicsignalblog/package.json @@ -1,6 +1,6 @@ { "name": "civicsignalblog", - "version": "0.1.12", + "version": "0.1.13", "private": true, "author": "Code for Africa ", "description": "This is the (temporary) CivicSignal blog", diff --git a/apps/civicsignalblog/src/lib/data/seo.js b/apps/civicsignalblog/src/lib/data/seo.js index c498e9524..fc2e00f4f 100644 --- a/apps/civicsignalblog/src/lib/data/seo.js +++ b/apps/civicsignalblog/src/lib/data/seo.js @@ -39,8 +39,7 @@ export default function getPageSeoFromMeta(page, settings) { const defaultTitle = settings.meta?.title || settings.title || site.name; const title = page.meta?.title || page.title || defaultTitle; // Dont't use template on homepage - const titleTemplate = - page.slug !== "index" ? defaultTitle && `%s | ${defaultTitle}` : null; + const titleTemplate = page.slug === "index" ? "%s" : `%s | ${defaultTitle}`; const description = page.meta?.description || settings.meta?.description || diff --git a/apps/roboshield/package.json b/apps/roboshield/package.json index 672ca9f7c..14f27857c 100644 --- a/apps/roboshield/package.json +++ b/apps/roboshield/package.json @@ -1,6 +1,6 @@ { "name": "roboshield", - "version": "0.1.11", + "version": "0.1.12", "private": true, "scripts": { "build-server": "tsc --project tsconfig.server.json", diff --git a/apps/roboshield/public/image.jpg b/apps/roboshield/public/image.jpg new file mode 100644 index 000000000..890f759aa Binary files /dev/null and b/apps/roboshield/public/image.jpg differ diff --git a/apps/roboshield/src/lib/data/seo.ts b/apps/roboshield/src/lib/data/seo.ts index 211c9a4fe..a44a126b7 100644 --- a/apps/roboshield/src/lib/data/seo.ts +++ b/apps/roboshield/src/lib/data/seo.ts @@ -66,8 +66,7 @@ export default function getPageSeoFromMeta( const defaultTitle = settings.meta?.title || settings.title || site.name; const title = page.meta?.title || page.title || defaultTitle; // Dont't use template on homepage - const titleTemplate = - page.slug !== "index" ? defaultTitle && `%s | ${defaultTitle}` : null; + const titleTemplate = page.slug === "index" ? "%s" : `%s | ${defaultTitle}`; const description = page.meta?.description || settings.meta?.description ||