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

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

Closed
4 tasks done
AmebaBrain opened this issue Jun 1, 2024 · 2 comments
Closed
4 tasks done

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

AmebaBrain opened this issue Jun 1, 2024 · 2 comments
Labels
change request Issue requests a new feature or improvement resolved Issue is resolved, yet unreleased if open

Comments

@AmebaBrain
Copy link
Contributor

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

@squidfunk squidfunk added the change request Issue requests a new feature or improvement label Jun 1, 2024
@squidfunk squidfunk changed the title Allow Post author avatar to be a local file Blog: allow post author avatar to reference local files Jun 1, 2024
@squidfunk
Copy link
Owner

Fixed in 0fc36a1. The reproduction now correctly links all local images.

@squidfunk squidfunk added the resolved Issue is resolved, yet unreleased if open label Jun 1, 2024
@squidfunk
Copy link
Owner

Released as part of 9.5.26.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change request Issue requests a new feature or improvement resolved Issue is resolved, yet unreleased if open
Projects
None yet
Development

No branches or pull requests

2 participants