Skip to content

Add description front matter to Timeline, Audits, and Publications pages - #173

Open
tannaya7 wants to merge 3 commits into
theupdateframework:mainfrom
tannaya7:fix/og-description-timeline-audits-publications
Open

Add description front matter to Timeline, Audits, and Publications pages#173
tannaya7 wants to merge 3 commits into
theupdateframework:mainfrom
tannaya7:fix/og-description-timeline-audits-publications

Conversation

@tannaya7

Copy link
Copy Markdown
Contributor

Fixes #171.

Same root cause as #168 / #170: Hugo falls back to auto-summarizing the page body for og:description when no explicit description front matter field is set. That auto-summary is garbled on pages whose body is a list of short, disconnected fragments rather than prose:

  • content/en/docs/project/timeline.md — a list of **YEAR**: fragment entries
  • content/en/docs/security/audits.md — a bare list of dated audit report links
  • content/en/resources/publications.md — a bare list of paper title links

This adds an explicit description: field to each, same pattern already used on docs/overview.md, docs/faq.md, news.md, and adoptions/index.md (#170).

Fixes garbled og:description previews caused by Hugo auto-summarizing
these list-based pages, same root cause as theupdateframework#168.
The link-check CI step requires .lycheecache to cover every URL checked in the build. These two ENISA URLs (added to news.md by a prior commit) were never added to the cache, which was failing this PR's link-check job unrelated to its actual change. Values copied from the CI run's own lychee output (both HTTP 200).

Signed-off-by: tannaya7 <tannayasupriya157@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto-generated og:description is garbled on Timeline/Audits/Publications pages (same root cause as #168)

1 participant