diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-23 19:34:55 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-23 19:34:55 +0100 |
| commit | ea407c9243b4098aa8daefc211700d1d654eefab (patch) | |
| tree | c932dac6436d2a6d1af15b65f777470428ffe165 /src/pages | |
| parent | aa39f5d2744ee2aa114955f6e4266b4a999c7bb8 (diff) | |
Makes commattee memmer bio optional
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/[locale]/index.astro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/[locale]/index.astro b/src/pages/[locale]/index.astro index 5ef1e1c..cb38bc5 100644 --- a/src/pages/[locale]/index.astro +++ b/src/pages/[locale]/index.astro @@ -51,7 +51,7 @@ const mostRecentNewsItem = await getMostRecentNewsItem(locale); )} <div class="committee__member__text"> <h4>{member.name}</h4> - <p set:html={member.bio[locale]} /> + {member.bio && <p set:html={member.bio[locale]} />} </div> </li> )) |
