Add og:image preview cards to docs pages
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 66/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, react
- Lĩnh vực
- documentation
Hướng nghiên cứu
Start by locating how the website renders docs pages and sets their page metadata, then identify the existing title and description handling. Add and verify the requested Open Graph and Twitter card metadata, including an image with alt text and 1200x630 dimensions. Check a docs URL with the LinkedIn Post Inspector and X/Twitter card validator; per-page image generation is optional.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Docs pages have no og:image, so links shared on LinkedIn, X or Slack show no preview card.
Current behavior
Sharing a docs URL produces a plain link with no image.
Expected behavior
Shared docs links show a preview card with an image, title and description.
Proposed solution
- Add a default
og:image(branded, 1200x630) to all docs pages. - Optionally generate per-page images from the page title.
- Add
twitter:card(summary_large_image),og:image:width,og:image:heightandog:image:alt.
Acceptance criteria
- A docs page URL shows a preview card in the LinkedIn Post Inspector and the X/Twitter card validator.
- Image has alt text and correct dimensions.
Additional context
Found in an audit of gofr.dev AI readiness and discoverability on 2026-10-07.
- Ngôn ngữ chính
- JavaScript
- Star
- 44
- Fork
- 44
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của gofr-dev/website
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Homepage HTML shows "Trusted by 0+ Developers" to crawlersCó thể đã có người làm @thzgajendra đã nhận 38 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Dockerfile builder stage pins node:23.11.1 — a non-LTS line, EOL since 2025-06-01Có thể đã có người làm @akshat-kumar-singhal đã nhận 98 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 78/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 54/100
Tất cả issue của gofr-dev/website
Issue tương tự
-
nip27: long hashtag swallows the rest of the content, lone # gives an empty hashtagCó thể đã có người làm @bardrop đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
nbd-wtf/nostr-tools#578 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Add `min-release-age` to .npmrcĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
h5bp/html5-boilerplate#3512 ·
-
documentation
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
githubnext/gh-aw-workshop#5752 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày