Update content page bg color documentation

This commit is contained in:
adilallo
2025-09-30 08:49:32 -06:00
parent af4a08b934
commit 27692750a6
3 changed files with 25 additions and 12 deletions
+12
View File
@@ -48,6 +48,8 @@ related: ["slug-of-related-article-1", "slug-of-related-article-2"]
thumbnail:
vertical: "your-article-slug-vertical.svg"
horizontal: "your-article-slug-horizontal.svg"
background:
color: "#F4F3F1" # Page background color (hex)
---
```
@@ -59,6 +61,7 @@ thumbnail:
- **date**: Publication date in YYYY-MM-DD format
- **related**: Array of article slugs (use filename without .md)
- **thumbnail**: Custom images for article thumbnails (optional)
- **background.color**: Page background color as a hex code (e.g., `#F4F3F1`)
### Related Articles
@@ -101,6 +104,15 @@ Add custom thumbnail images to make your article stand out:
If no thumbnails are provided, default images will be used.
## Background Color
Set the content page background using a hex color in frontmatter:
```yaml
background:
color: "#F4F3F1" # Use any valid hex code
```
## File Naming
Use descriptive, URL-friendly filenames: