Skip to content

Enhancement: Astro new assets location #615

@estruyf

Description

@estruyf

In Astro added a new location for asset management src/assets. When this feature is enabled, the images added to this folder should be relatively referenced to the content folder/file.

Example:

---
title: 'First post'
description: 'Lorem ipsum dolor sit amet'
pubDate: 'Jul 08 2022'
heroImage: '../../assets/blog-placeholder-1.jpg'
---

![](../../assets/blog-placeholder-1.jpg)

https://docs.astro.build/en/guides/assets/

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions