summaryrefslogtreecommitdiff
path: root/src/components/Scotsoun.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Scotsoun.astro')
-rw-r--r--src/components/Scotsoun.astro10
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}`}