Skip to content

HTML meta tag for description is not question specific #991

@trichoplax

Description

@trichoplax

Describe the bug
On a specific question page, instead of showing an excerpt of the question and top answer, the description found in the <meta name="description"> tag is the standard default back up description. For example, on Meta Codidact it is:

<meta name="description" content="Codidact Meta on Codidact - open, community-run Q&amp;A knowledge sharing">

To Reproduce
Steps to reproduce the behavior:

  1. Go to any specific question page on any Codidact community
  2. Right click on the page and select "View Page Source"
  3. The default (instead of question specific) description can be seen around line 7

Expected behavior
The description is intended to include an excerpt of the question wording, followed by an excerpt of the top answer wording if present.

Metadata

Metadata

Assignees

Labels

area: backendChanges to server-side codecomplexity: unassessedNeeds further developer investigation before complexity/feasibility can be determined.priority: medium

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions