diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-10-13 18:36:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-13 18:36:03 +0100 |
| commit | 12b39528ce394a7debffa69b1e2594f622ddf06e (patch) | |
| tree | 3c1cb310d0db6e342a8e0db44046bcfe143ccb24 /src/components/Scotsoun.astro | |
| parent | ab5abcaac2d19c071bb073d57cd61fa57a627bb2 (diff) | |
| parent | 6a0bd0ab3a0960cd1436190285ebe24bf8ef1f28 (diff) | |
Merge pull request #11 from Sycamost/master
Update dev????
Diffstat (limited to 'src/components/Scotsoun.astro')
| -rw-r--r-- | src/components/Scotsoun.astro | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/components/Scotsoun.astro b/src/components/Scotsoun.astro index 2e5ecc2..594b8c9 100644 --- a/src/components/Scotsoun.astro +++ b/src/components/Scotsoun.astro @@ -22,16 +22,10 @@ const t = translate(locale); <h1>{scotsoun.title}</h1> <p class="italic">Scotsoun SSCD{scotsoun.scotsounId}</p> {scotsoun?.subtitle && <p class="italic">{scotsoun.subtitle}</p>} - { - scotsoun?.author && ( - <p> - {t(tSite, { key: 'by' })} {scotsoun.author} - </p> - ) - } + {scotsoun?.author && <p>{t(tSite, { key: 'by' }) + ' ' + scotsoun.author}</p>} </header> <div class="product__action-block"> - <img src={`/images/scotsoun/sscd${scotsoun.scotsounId}.jpg`} /> + <img src={scotsoun.img.src} alt="" /> <PayPalButtons successPageUrl={relativePath(Astro.url.pathname, `payment-success-confirmation`)} productDescription={`SSCD${scotsoun.scotsounId} | ${scotsoun.longName}`} |
