Hello Gravpals,
Currently I'm watching some tutorials on how to place dynamic html <picture> tags with the ability to change the src attribute according to some conditions (CSS attributes in my case). My goal is to change several .png logos on a page depending on the background (i.e. light/dark mode), so they alternate between their light or dark version...
If you were to implement that in Grav, how would you do it ?
I guess I can always use html inside the content field, the classic way.
But I was maybe hoping to get some help from experienced people !
Thanks and cheers !
(here's a link to the page... I'm about to add 2 more logos on it : https://1800trucs.ch/partenaires)
EDIT: Also I just wanted to add that I'm working on a credit page to thank GRAV and Hypertext theme (parent of my theme called ALOT - a library of things) + all the people involved. It's on its way !