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

♻️ Render author image with picture partial #741

Merged
merged 3 commits into from
Jan 21, 2024

Conversation

wolfspyre
Copy link
Contributor

in lieu of #687 This uses the picture partial image rendering path to generate the author content.
Screens included to show SVG working.

An interesting behavior manifests if the width and height classes are the same in layouts/partials/author.html:

(screens included to illustrate the problem)

What seems to be the "best" way forward is to specify w explicity, and set H to auto
congoAuthorPicture-SVG-AuthoredPage
congoAuthorPicture-SVG-Profile
congoAuthorPicture-w-Hauto2
congoAuthorPicture-w-Hauto
congoAuthorPicture-h+w
congoAuthorPicture-hOnly
congoAuthorPicture-wOnly
congoAuthorPicture-auto

Copy link

netlify bot commented Dec 5, 2023

Deploy Preview for hugo-congo ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 8e2de6c
🔍 Latest deploy log https://app.netlify.com/sites/hugo-congo/deploys/65727d0e1c60ad0008af057a
😎 Deploy Preview https://deploy-preview-741--hugo-congo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

remove superfluous warning
remove superfluous log element
@wolfspyre
Copy link
Contributor Author

Any questions or concerns here?
I was under the impression this was the direction you wanted to take?
Did I misunderstand?
Happy to change things if desired.

@jpanther
Copy link
Owner

Yes, definitely a good direction to go with this one. I just haven't had time to review it. I'm trying to get my head around why the width and height being the same are causing issues.

@jpanther jpanther added the enhancement New feature or request label Dec 23, 2023
@jpanther jpanther changed the title ✨ 💄 ♻️ 🚸 render author image with picture partial ♻️ Render author image with picture partial Dec 23, 2023
@jpanther
Copy link
Owner

Finally had a chance to review this and it looks good to me. I'll merge it in now. Thanks for your patience!

@jpanther jpanther merged commit bce3950 into jpanther:dev Jan 21, 2024
5 checks passed
@wolfspyre wolfspyre deleted the author-picture branch April 24, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants