summaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro4
-rw-r--r--src/pages/[locale]/index.astro10
2 files changed, 9 insertions, 5 deletions
diff --git a/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro b/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro
index a641561..90053fe 100644
--- a/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro
+++ b/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro
@@ -1,7 +1,7 @@
---
import Page from '$layouts/Page.astro';
import localeStaticPaths from '$lib/localeStaticPaths';
-import tPage from '$i18n/translations/pages/scotsounGallery';
+import tPage from '$i18n/translations/pages/scotsounRelease';
import translate from '$i18n/translate';
import type Locale from '$types/Locale';
import { getScotsoun } from '$data/scotsoun';
@@ -22,6 +22,6 @@ const t = translate(locale);
const scotsoun = await getScotsoun[scotsounId]();
---
-<Page title={t(tPage, { key: 'title' })}>
+<Page title={t(tPage, { key: 'title', scotsounId, name: scotsoun.title })}>
<Scotsoun scotsoun={scotsoun} />
</Page>
diff --git a/src/pages/[locale]/index.astro b/src/pages/[locale]/index.astro
index 4a093b7..39db161 100644
--- a/src/pages/[locale]/index.astro
+++ b/src/pages/[locale]/index.astro
@@ -40,6 +40,7 @@ const mostRecentNewsItem = await getMostRecentNewsItem(locale);
<p set:html={t(tPage, { key: 'about-us-para-2' })} />
<p set:html={t(tPage, { key: 'about-us-para-3' })} />
<h3 set:html={t(tPage, { key: 'meet-the-commattee' })} />
+ <p class="italic">{t(tPage, { key: 'mair-commattee-details-soon' })}</p>
<ul>
{
committee.map((member) => (
@@ -54,9 +55,12 @@ const mostRecentNewsItem = await getMostRecentNewsItem(locale);
<div class="committee__member__text">
<h4>
{member.name}
- <span class="font-weight-lighter">
- |{member.roles.map((role) => t(tRole, { key: CommitteeRole[role] })).join(', ')}
- </span>
+ {member.roles.length > 0 && (
+ <span class="font-weight-lighter">
+ |{' '}
+ {member.roles.map((role) => t(tRole, { key: CommitteeRole[role] })).join(', ')}
+ </span>
+ )}
</h4>
{member.bio && <p set:html={member.bio[locale]} />}
</div>