SchemaStore / SchemaStore/schemastore

[Website] Layout HTML meta tag missing in productive HTML

Open
#5,330 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
3.8k
Forks
2.3k
Avg merge
20h 23m
Merged PRs (30d)
124

Description

Area with issue?

Web server

✔️ Expected Behavior

Prod has the color-scheme <meta> tag

When I run it locally from Visual Studio with IIS Express it works as expected.

The site.css does have the recent updates, so it's not like none of the website files get uploaded.

❌ Actual Behavior

It does not

Source: https://github.com/SchemaStore/schemastore/blob/master/src/_Layout.cshtml#L9

Prod: view-source:https://www.schemastore.org/

Image
JSON, YAML, or TOML file that does not work.

No response

IDE or code editor.

None

Are you making a PR for this?

No, someone else must create the PR.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at src/_Layout.cshtml#L9 and compare the generated local and production page sources. Trace how the website is published to determine why the color-scheme meta tag is present locally but absent in production. Done means the tag appears in the production view-source output without regressing the existing site.css deployment.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.