Skip to content

Blog: allow post author avatar to reference local files #7230

@AmebaBrain

Description

@AmebaBrain

Context

Currently, avatar attribute in .authors.yml must be a valid URL. It's directly substituted to the <img src=""> attribute. It would be good to allow use relative path and refer to a local resource.

See #7211 for details

Description

Currently, avatar attribute in .authors.yml must be a valid URL. It's directly substituted to the <img src=""> attribute. It would be good to allow use relative path and refer to a local resource.

See #7211 for details and attached file with reproduction

9.5.25-post-author-display-bug.zip

Related links

Use Cases

It will omit necessity to have an external http(s) resource dependency.

Visuals

No response

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    change requestIssue requests a new feature or improvementresolvedIssue is resolved, yet unreleased if open

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions