Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

seo: 94 entry descriptions open with a raw licence value and five per-file aggregators promise "no credit needed"; entry pages lack image and breadcrumb structured data, category pages have none

已關閉
#158 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
50/100
Issue 類型
功能
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
javascript
領域
search, web-dev

研究方向

Start with site/lib/shared.mjs:165-180 for seoDescription and site/lib/entry-page.mjs:20-35 for entry JSON-LD, then inspect category-page.mjs and validate.mjs for the suggested changes. Check generated entry, stack, and category pages against the stated description and structured-data criteria; done means the descriptions avoid the misleading credit claim and the specified pages expose the required structured data.

由索引模型根據 Issue 內容生成。

描述

enhancement marketing priority: low

Why it matters

The meta description is the search-result snippet. "custom, commercial use OK, no credit needed." reads as a data dump, and for per-file aggregators "no credit needed" is a wrong promise. Separately, 192 entries have a licence-cleared image the site may show, yet the CreativeWork carries none; breadcrumbs exist in HTML but not as data; category pages, the natural landing pages for "free 3D assets", have no structured data while stack pages have an ItemList.

Evidence (at 69387df, local build)

  • site/lib/shared.mjs:165-180 seoDescription leads with entry.license verbatim. Across dist: 61 descriptions start "custom,", 25 "varies,", 4 "unknown,", 4 "public-domain,". Five with varies plus "no credit needed": blenderkit, destockd, fontshare, pixel-frog, prelinger-archives.
  • site/lib/entry-page.mjs:20-35 jsonLd builds WebPage + CreativeWork with name, url, description, publisher, license, dateModified only. 0 of 416 entry pages contain "image" or BreadcrumbList; category/3d/index.html has no ld+json block.

Suggested approach

Map raw values to prose ("Custom licence:", "Mixed licences, per file:", "Licence unknown:", "Public domain:"); when commercial === "varies" write "credit varies per file" regardless of attribution_required, or have validate.mjs reject attribution_required: false together with commercial: varies. Add image (absolute thumb URL with width/height) to the CreativeWork; add a BreadcrumbList to entry and stack pages; add CollectionPage + ItemList to category-page.mjs.

Done when

Every description starts with a capitalised phrase and no varies entry claims "no credit needed"; the Rich Results test shows Breadcrumb for entry and stack pages; category pages validate as CollectionPage + ItemList.

主要語言
JavaScript
星號
58
分支
15
平均合併
16 小時 53 分鐘
30 天內合併 PR
14

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

TMHSDigital/Free-Game-Dev-Assets 的其他 Issue

查看 TMHSDigital/Free-Game-Dev-Assets 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。