#microformats 2021-07-11

2021-07-11 UTC
Seirdy, [KevinMarks], barnaby, [schmarty], Rattroupe, angelo, [fluffy], hendursa1, calebjasik, BinyaminGreen[m] and capjamesg joined the channel
#
capjamesg
How many applications ingest the u-photo attribute in h-entrys?
#
capjamesg
All of my images are written in markdown and are converted to HTML on build of the blog.
#
capjamesg
So I don't have the u-photo attribute yet and I'm wondering if it is worth it.
#
capjamesg
Oh well, I have gone ahead and added the class to my images anyway.
#
capjamesg
For reference, here's the helper file I wrote in case anyone wants to do this with Jekyll: https://gist.github.com/capjamesg/fef6ba3deeb0290bd4707aa48bd98451
rockorager joined the channel
#
rockorager
capjamesg: Another option for you: Jekyll defaults to kramdown as it's markdown processor which lets you add custom classes inline like this
#
rockorager
![Alt text](image.jpeg){:.u-photo}
capjamesg joined the channel
#
capjamesg
rockorager Oh, haha. I didn't know that!
#
capjamesg
My script works and has already converted by posts. But I'll definitely keep this in mind.
#
capjamesg
*my posts
capjamesg, KartikPrabhu, [fluffy] and [jgmac1106] joined the channel
#
[jgmac1106]
capjamesg is the h-entry is not about the photo no need for the u-photo...a common mistake folks make (I did) was stick u-photo everywhere
capjamesg, chee, [tantek], [jacky], ur5us, barnaby, [jgmac1106] and KartikPrabhu joined the channel