Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix YAML Front Matter Errors in Astro Components #15

Open
amonsalv opened this issue Oct 16, 2024 · 0 comments
Open

Fix YAML Front Matter Errors in Astro Components #15

amonsalv opened this issue Oct 16, 2024 · 0 comments
Assignees

Comments

@amonsalv
Copy link
Owner

The GitHub Actions run failed due to invalid YAML front matter in the following files:

  1. src/layouts/BaseLayout.astro: "could not find expected ':' while scanning a simple key at line 3 column 1".
  2. src/components/CallToAction.astro: "mapping values are not allowed in this context at line 3 column 6".
  3. src/components/ContactCTA.astro: "Invalid YAML front matter".

Fixes:

  • Ensure that the YAML front matter in each of these files is correctly formatted with proper key-value pairs.
  • Make sure every key in the YAML front matter is followed by a colon (:) and a value.
  • Validate the YAML syntax using a YAML linter or validator.
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

No branches or pull requests

1 participant