Skip to content

Commit b0b4136

Browse files
authored
Allow referrer info for outgoing links again (#2697)
It can actually be nice to show other websites that they are getting traffic from prometheus.io. After deploying the new website, I noticed in my own Plausible tracking for training.promlabs.com that I (supposedly) wasn't getting traffic from prometheus.io anymore and was wondering for a second what was going on. Signed-off-by: Julius Volz <[email protected]>
1 parent 294868e commit b0b4136

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/app/support-training/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const trainingProviders: ProviderCardProps[] = [
5151
name: "KodeKloud",
5252
logo: "/assets/commercial-support-logos/kodekloud-logo.svg",
5353
url: "https://kodekloud.com/courses/prometheus-certified-associate-pca/",
54-
}
54+
},
5555
];
5656

5757
const commercialSupportProviders: ProviderCardProps[] = [
@@ -165,7 +165,7 @@ function ProviderCard({
165165
<a
166166
href={url}
167167
target="_blank"
168-
rel="noopener noreferrer"
168+
rel="noopener"
169169
style={{ textDecoration: "none" }}
170170
>
171171
<Card

src/components/PromMarkdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export default async function PromMarkdown({
139139
{...rest}
140140
href={href}
141141
target="_blank"
142-
rel="noopener noreferrer"
142+
rel="noopener"
143143
>
144144
{/* Only add the icon if the first child is a string. This is to avoid
145145
breaking the layout of other components like image links etc. */}

0 commit comments

Comments
 (0)