Skip to content

Commit d74b719

Browse files
authored
Merge pull request #186 from Yensid10/main
Minor Adjustments
2 parents d3648d0 + 8c0f39c commit d74b719

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

src/data/xt25/speakers.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[
22
{
33
"name": "Peter Windle",
4-
"role": "MD & Distinguished Engineer",
4+
"role": "Distinguished Engineer, Managing Director, Head of FICC IT Architecture and Engineering",
55
"company": "HSBC",
66
"linkedin": "pete-windle-05ba92",
77
"image": "/src/assets/xt25/xt25-pew.png"
@@ -23,7 +23,7 @@
2323
{
2424
"name": "Jing Ai",
2525
"role": "Director - Equity Derivatives Platform",
26-
"company": "Bank of America",
26+
"company": "Global Tier-1 Bank",
2727
"linkedin": "jing-ai-619a012",
2828
"image": "/src/assets/xt25/xt25-jia.png"
2929
},

src/layouts/Layout.astro

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,19 +91,22 @@ const metaTitle = ogTitle ?? title ?? currentPageName
9191
<!-- Meta Tags -->
9292
<meta property='og:url' content={url.href} />
9393
<meta property='og:type' content='website' />
94-
<meta property='og:title' content={metaTitle} />
95-
{
96-
currentDescription && (
97-
<meta property='og:description' content={currentDescription} />
98-
)
99-
}
94+
<meta property='og:title' content={ogTitle} />
95+
<meta property='og:description' content={ogDescription} />
10096
{imageForShare && <meta property='og:image' content={imageForShare} />}
10197
{
10298
imageForShare && (
10399
<meta property='og:image:secure_url' content={imageForShare} />
104100
)
105101
}
106102

103+
<link
104+
rel='canonical'
105+
href={Astro.url.pathname.endsWith('/')
106+
? Astro.url.href
107+
: `${Astro.url.href}/`}
108+
/>
109+
107110
<link
108111
rel='alternate'
109112
type='application/rss+xml'

0 commit comments

Comments
 (0)