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

Add microformat to output? #10

Closed
TechLifeWeb opened this issue Jan 23, 2025 · 1 comment
Closed

Add microformat to output? #10

TechLifeWeb opened this issue Jan 23, 2025 · 1 comment

Comments

@TechLifeWeb
Copy link

I'm using this to PESOS photos from Pixel fed to my site. Working great but I have question about the output. This may be more of a general 11ty question and not the appropriate place to so apologies for that.

I want to see if 11ty can auto add the microformat u-photo to the output html. So it would change 'img src' to 'img class="u-photo" src'.

Is this something that is possible?

Thanks

@TechLifeWeb
Copy link
Author

I actually figured it out last night using image plugin. I Hadn't been using plugin yet but once I figured it out (I'm teaching myself as I go) it was a simple add of u-photo to the imgAttributes section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant