Testing Automated Hero Image System

Published: January 15, 2024

Testing Automated Hero Image System

Testing Automated Hero Image System

This post is a test to verify that the new automated hero image system works correctly.

What’s Being Tested

The hero image for this post is test-automation-hero, which should be automatically detected and imported from the src/assets/images/blog/heroes/ directory without requiring any manual code changes.

How It Works

  1. Add Image: Simply add any image file to src/assets/images/blog/heroes/
  2. Reference in Frontmatter: Use the filename (without extension) in the heroImage field
  3. No Code Changes: The system automatically detects and imports the image

That’s it! No manual imports or code mapping required.

Benefits

This should make the workflow much more pleasant for content authors!