Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs Site] Add area-specific OpenGraph images #18610

Merged
merged 2 commits into from
Dec 12, 2024
Merged

Conversation

KianNH
Copy link
Contributor

@KianNH KianNH commented Dec 6, 2024

Summary

Add area-specific OpenGraph images.

This emulates the previous Hugo behaviour:

<!-- Choose the preview image based on the product group -->
{{- $imagePlaceholder := "/cf-twitter-card.png" | absURL -}}
{{- $imageDict := dict
"Cloudflare essentials" "/core-services-preview.png"
"Cloudflare One" "/zt-preview.png"
"Developer platform" "/dev-products-preview.png"
"Network security" "/core-services-preview.png"
"Application performance" "/core-services-preview.png"
"Application security" "/core-services-preview.png"
-}}

Copy link

cloudflare-workers-and-pages bot commented Dec 6, 2024

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 93d77b9
Status: ✅  Deploy successful!
Preview URL: https://5979e8ea.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://kian-pcx-14934.cloudflare-docs-7ou.pages.dev

View logs

@KianNH KianNH enabled auto-merge (squash) December 12, 2024 11:36
@KianNH KianNH merged commit fa17031 into production Dec 12, 2024
10 checks passed
@KianNH KianNH deleted the kian/PCX-14934 branch December 12, 2024 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants